On Thu, 2011-03-24 at 16:08 +0800, Xiangfu Liu wrote:
> some question:
> 1. can you point the code where I should change? or look into

Each widget defines their colors, e.g.
static const color_t BLACK_MIXED = GFX_RGBA(0, 0, 0, 127)
in mtk/lib/button.c. Just change those and find a good looking match of
colors that makes the final picture dark with contrasted (white) text.
Btw there is some bug with the text rendering that causes funny colors
when you try to draw bright text on a dark background - you might have
to look into that as well.

> 2. we have to hard code the wallpaper to flickernoise. right?

No, create a 640x480 24bpp RGB picture named wallpaper.png on flash or
memory card.

> 3. for do keymaps . we have to modify the rtems? (I haven't look into this 
> task)

There are many things for which there is no generic API in RTEMS and
which are implemented with ad hoc code in application or library. The
keyboard decoding code is in mtk/lib/keymap.c.

S.


_______________________________________________
http://lists.milkymist.org/listinfo.cgi/devel-milkymist.org
IRC: #milkymist@Freenode
Twitter: www.twitter.com/milkymistvj
Ideas? http://milkymist.uservoice.com

Reply via email to