Put the display colours for monochrome and greyscale targets into the target config...
commite04c278eef0621e9929f995ebf05cae66709fe43
authoramiconn <amiconn@a1c6a512-1295-4272-9138-f99709370657>
Mon, 9 Feb 2009 00:32:59 +0000 (9 00:32 +0000)
committeramiconn <amiconn@a1c6a512-1295-4272-9138-f99709370657>
Mon, 9 Feb 2009 00:32:59 +0000 (9 00:32 +0000)
tree9ddcc5d21dcd0e576d0fa824e74c58755fa9d1a0
parent33ff0bb5fefe6889141b41b9e1abdfb0437447c0
Put the display colours for monochrome and greyscale targets into the target config files, and use them both for the simulator UI and screendumps. The Clip now shows the split display properly in screendumps and simulator. A side effect is that screendumps of ordinary monochrome targets are now 4-bit BMP files (saves an alternate code path, and might be more compatible with some gfx programs). * Simplify the simulation of split display, and also simplify greylib simulation. The simulator now always calculates 129 shades (2*128 for a Clip sim), and just uses 2 (or 4) of those for native display simulation. * Centralised the simulator LCD dimension definition.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19950 a1c6a512-1295-4272-9138-f99709370657
38 files changed:
apps/misc.c
apps/misc.h
apps/plugin.c
apps/plugin.h
apps/plugins/lib/grey_core.c
firmware/export/config-clip.h
firmware/export/config-fmrecorder.h
firmware/export/config-h100.h
firmware/export/config-h120.h
firmware/export/config-h300.h
firmware/export/config-iaudiom3.h
firmware/export/config-iaudiom5.h
firmware/export/config-iaudiox5.h
firmware/export/config-ifp7xx.h
firmware/export/config-ipod1g2g.h
firmware/export/config-ipod3g.h
firmware/export/config-ipod4g.h
firmware/export/config-ipodmini.h
firmware/export/config-ipodmini2g.h
firmware/export/config-logikdax.h
firmware/export/config-m200.h
firmware/export/config-m200v4.h
firmware/export/config-mrobe100.h
firmware/export/config-ondiofm.h
firmware/export/config-ondiosp.h
firmware/export/config-player.h
firmware/export/config-recorder.h
firmware/export/config-recorderv2.h
firmware/export/config.h
uisimulator/sdl/button.c
uisimulator/sdl/lcd-bitmap.c
uisimulator/sdl/lcd-bitmap.h
uisimulator/sdl/lcd-charcells.c
uisimulator/sdl/lcd-remote-bitmap.c
uisimulator/sdl/lcd-sdl.c
uisimulator/sdl/lcd-sdl.h
uisimulator/sdl/uisdl.c
uisimulator/sdl/uisdl.h