summaryrefslogtreecommitdiff
path: root/uisimulator/win32/lcd-win32.h
diff options
context:
space:
mode:
authorFelix Arends <edx@rockbox.org>2002-04-25 04:41:45 +0000
committerFelix Arends <edx@rockbox.org>2002-04-25 04:41:45 +0000
commit144bc70a12f84620137ce17bc843c26b27839717 (patch)
tree1424a4d8371aed3fbc7cb7a612f553a3d2ef45c9 /uisimulator/win32/lcd-win32.h
parent7b9581a13148957842ab53e2b28bf0a663a48980 (diff)
First Version of UISimulator for Win32
lcd and keypad working for recorder git-svn-id: svn://svn.rockbox.org/rockbox/trunk@221 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator/win32/lcd-win32.h')
-rw-r--r--uisimulator/win32/lcd-win32.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/uisimulator/win32/lcd-win32.h b/uisimulator/win32/lcd-win32.h
new file mode 100644
index 0000000000..5049c2d70c
--- /dev/null
+++ b/uisimulator/win32/lcd-win32.h
@@ -0,0 +1,27 @@
+#ifndef __LCDWIN32_H__
+#define __LCDWIN32_H__
+
+#include "uisw32.h"
+#include "lcd.h"
+
+// BITMAPINFO2
+typedef struct
+{
+ BITMAPINFOHEADER bmiHeader;
+ RGBQUAD bmiColors[2];
+} BITMAPINFO2;
+
+#ifdef HAVE_LCD_BITMAP
+
+extern unsigned char display[DISP_X][DISP_Y/8]; // the display
+#else
+#define DISP_X 112
+#define DISP_Y 64
+#endif
+
+
+extern char bitmap[DISP_Y][DISP_X]; // the ui display
+extern BITMAPINFO2 bmi; // bitmap information
+
+
+#endif // #ifndef __LCDWIN32_H__ \ No newline at end of file