diff options
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 | ||