Put the display colours for monochrome and greyscale targets into the target config...
commit0d935ce75e1408dfd9832ae7dbb7d84df50a645d
authorJens Arnold <amiconn@rockbox.org>
Mon, 9 Feb 2009 00:32:59 +0000 (9 00:32 +0000)
committerJens Arnold <amiconn@rockbox.org>
Mon, 9 Feb 2009 00:32:59 +0000 (9 00:32 +0000)
tree9ddcc5d21dcd0e576d0fa824e74c58755fa9d1a0
parent94537f954e67d44fdd9703c062c4ee53599e0e74
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