diff options
author | Robert Hak <adiamas@rockbox.org> | 2002-08-13 09:32:56 +0000 |
---|---|---|
committer | Robert Hak <adiamas@rockbox.org> | 2002-08-13 09:32:56 +0000 |
commit | e7a6a8267d14419137be16a86b671ffd472f8f64 (patch) | |
tree | 4ef4b1416f43c37ff08c6f2fb8ae9fc68af3c723 /uisimulator/common/lcd-common.h | |
parent | 4db2ded56f1ebf5a617e82458ab5526541b92943 (diff) | |
download | rockbox-e7a6a8267d14419137be16a86b671ffd472f8f64.tar.gz rockbox-e7a6a8267d14419137be16a86b671ffd472f8f64.zip |
cleaned up
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1708 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator/common/lcd-common.h')
-rw-r--r-- | uisimulator/common/lcd-common.h | 36 |
1 files changed, 1 insertions, 35 deletions
diff --git a/uisimulator/common/lcd-common.h b/uisimulator/common/lcd-common.h index 08a5bbd3bb..8b78d8b85a 100644 --- a/uisimulator/common/lcd-common.h +++ b/uisimulator/common/lcd-common.h | |||
@@ -20,41 +20,7 @@ | |||
20 | * | 20 | * |
21 | ****************************************************************************/ | 21 | ****************************************************************************/ |
22 | 22 | ||
23 | #include "lcd.h" | 23 | |
24 | |||
25 | #ifdef WIN32 | ||
26 | #ifndef __LCDWIN32_H__ | ||
27 | #define __LCDWIN32_H__ | ||
28 | |||
29 | #include "uisw32.h" | ||
30 | #include "lcd.h" | ||
31 | |||
32 | typedef struct | ||
33 | { | ||
34 | BITMAPINFOHEADER bmiHeader; | ||
35 | RGBQUAD bmiColors[2]; | ||
36 | } BITMAPINFO2; | ||
37 | |||
38 | #ifdef HAVE_LCD_BITMAP | ||
39 | /* the display */ | ||
40 | extern unsigned char display[LCD_WIDTH][LCD_HEIGHT/8]; | ||
41 | #else | ||
42 | #define DISP_X 112 | ||
43 | #define DISP_Y 64 | ||
44 | #endif /* HAVE_LCD_BITMAP */ | ||
45 | |||
46 | /* the ui display */ | ||
47 | extern char bitmap[LCD_HEIGHT][LCD_WIDTH]; | ||
48 | /* bitmap information */ | ||
49 | extern BITMAPINFO2 bmi; | ||
50 | #endif /* __LCDWIN32_H__ */ | ||
51 | |||
52 | #else | ||
53 | /* X11 */ | ||
54 | #define MARGIN_X 3 | ||
55 | #define MARGIN_Y 3 | ||
56 | |||
57 | #endif /* WIN32 */ | ||
58 | 24 | ||
59 | 25 | ||
60 | 26 | ||