summaryrefslogtreecommitdiff
path: root/uisimulator/win32/lcd-win32.c
diff options
context:
space:
mode:
Diffstat (limited to 'uisimulator/win32/lcd-win32.c')
-rw-r--r--uisimulator/win32/lcd-win32.c16
1 files changed, 10 insertions, 6 deletions
diff --git a/uisimulator/win32/lcd-win32.c b/uisimulator/win32/lcd-win32.c
index 2eef2d5646..510117ed9d 100644
--- a/uisimulator/win32/lcd-win32.c
+++ b/uisimulator/win32/lcd-win32.c
@@ -32,11 +32,15 @@ char bitmap[LCD_HEIGHT][LCD_WIDTH]; // the ui display
32 32
33BITMAPINFO2 bmi = 33BITMAPINFO2 bmi =
34{ 34{
35 sizeof (BITMAPINFOHEADER), 35 {sizeof (BITMAPINFOHEADER),
36 LCD_WIDTH, -LCD_HEIGHT, 1, 8, 36 LCD_WIDTH, -LCD_HEIGHT, 1, 8,
37 BI_RGB, 0, 0, 0, 2, 2, 37 BI_RGB, 0, 0, 0, 2, 2,
38 UI_LCD_BGCOLOR, 0, // green background color 38 },
39 UI_LCD_BLACK, 0 // black color 39 {
40 {UI_LCD_BGCOLOR, 0}, // green background color
41 {UI_LCD_BLACK, 0} // black color
42 }
43
40}; // bitmap information 44}; // bitmap information
41 45
42 46
@@ -76,4 +80,4 @@ void lcd_backlight (
76 } 80 }
77 81
78 InvalidateRect (hGUIWnd, NULL, FALSE); 82 InvalidateRect (hGUIWnd, NULL, FALSE);
79} \ No newline at end of file 83}