On 03/24/2011 05:52 PM, Sebastien Bourdeauducq wrote: > 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.
thanks for the info. I also saw your new theme code. that was a good example for me :) > >> 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. I may mis-understand the task of wallpaper. I have replied in another email. > >> 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. thanks. > > S. > > -- Best Regards Xiangfu -- Qi RSS feed, http://en.qi-hardware.com/feed/rss20.xml -- _______________________________________________ http://lists.milkymist.org/listinfo.cgi/devel-milkymist.org IRC: #milkymist@Freenode Twitter: www.twitter.com/milkymistvj Ideas? http://milkymist.uservoice.com
