diff options
author | Jens Arnold <amiconn@rockbox.org> | 2005-07-06 22:58:02 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2005-07-06 22:58:02 +0000 |
commit | f894a4c2691fbde1758a05407cb5eadcaec4a6c8 (patch) | |
tree | 46cb7ce63c794020175ab251cf0299663be8bf3c /uisimulator/win32/lcd-win32.h | |
parent | 1076eb1d2720b88757616f642be0c39c6a3b76df (diff) | |
download | rockbox-f894a4c2691fbde1758a05407cb5eadcaec4a6c8.tar.gz rockbox-f894a4c2691fbde1758a05407cb5eadcaec4a6c8.zip |
4-shades greyscale graphics core for iriver H1x0. 4-grey rockbox logo and light grey background in splash() boxes. Simplified the splash() box creation as the new graphics core does clipping. Adapted screendump feature and added flexible preprocessing to construct the bmp header. Rockboy now uses 4-grey mode as well. 4-grey support for win32 simulator. Fixed win32 player sim to not use double bitmap conversion via a recorder-like framebuffer, and correctly display double-height text. X11 simulator temporarily adapted. The display won't be distorted, but it still shows b&w only.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7046 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator/win32/lcd-win32.h')
-rw-r--r-- | uisimulator/win32/lcd-win32.h | 20 |
1 files changed, 6 insertions, 14 deletions
diff --git a/uisimulator/win32/lcd-win32.h b/uisimulator/win32/lcd-win32.h index d2627e6a53..26a47208e5 100644 --- a/uisimulator/win32/lcd-win32.h +++ b/uisimulator/win32/lcd-win32.h | |||
@@ -23,24 +23,16 @@ | |||
23 | #include "uisw32.h" | 23 | #include "uisw32.h" |
24 | #include "lcd.h" | 24 | #include "lcd.h" |
25 | 25 | ||
26 | // BITMAPINFO2 | 26 | // BITMAPINFO256 |
27 | typedef struct | 27 | typedef struct |
28 | { | 28 | { |
29 | BITMAPINFOHEADER bmiHeader; | 29 | BITMAPINFOHEADER bmiHeader; |
30 | RGBQUAD bmiColors[2]; | 30 | RGBQUAD bmiColors[256]; |
31 | } BITMAPINFO2; | 31 | } BITMAPINFO256; |
32 | 32 | ||
33 | #ifdef HAVE_LCD_BITMAP | 33 | extern char bitmap[LCD_HEIGHT][LCD_WIDTH]; // the ui display |
34 | 34 | extern BITMAPINFO256 bmi; // bitmap information | |
35 | extern unsigned char display[LCD_WIDTH][LCD_HEIGHT/8]; // the display | ||
36 | #else | ||
37 | #define DISP_X 112 | ||
38 | #define DISP_Y 64 | ||
39 | #endif | ||
40 | |||
41 | |||
42 | extern char bitmap[LCD_HEIGHT][LCD_WIDTH]; // the ui display | ||
43 | extern BITMAPINFO2 bmi; // bitmap information | ||
44 | 35 | ||
36 | void simlcdinit(void); | ||
45 | 37 | ||
46 | #endif // #ifndef __LCDWIN32_H__ | 38 | #endif // #ifndef __LCDWIN32_H__ |