summaryrefslogtreecommitdiffstats
path: root/uisimulator/win32/uisw32.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/uisw32.h
parent7b9581a13148957842ab53e2b28bf0a663a48980 (diff)
downloadrockbox-144bc70a12f84620137ce17bc843c26b27839717.tar.gz
rockbox-144bc70a12f84620137ce17bc843c26b27839717.tar.bz2
rockbox-144bc70a12f84620137ce17bc843c26b27839717.zip
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/uisw32.h')
-rw-r--r--uisimulator/win32/uisw32.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/uisimulator/win32/uisw32.h b/uisimulator/win32/uisw32.h
new file mode 100644
index 0000000000..c1001d7222
--- /dev/null
+++ b/uisimulator/win32/uisw32.h
@@ -0,0 +1,39 @@
+/***************************************************************************
+ * __________ __ ___.
+ * Open \______ \ ____ ____ | | _\_ |__ _______ ___
+ * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
+ * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
+ * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
+ * \/ \/ \/ \/ \/
+ *
+ * Copyright (C) 2002 by Felix Arends
+ *
+ * All files in this archive are subject to the GNU General Public License.
+ * See the file COPYING in the source tree root for full license agreement.
+ *
+ * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
+ * KIND, either express or implied.
+ *
+ ****************************************************************************/
+
+#ifndef __UISW32_H__
+#define __UISW32_H__
+
+#include <windows.h>
+#include "lcd-win32.h"
+
+#define UI_WIDTH 240 // width of GUI window
+#define UI_HEIGHT 360 // height of GUI window
+#define UI_LCD_COLOR 46, 57, 49 // bkgnd color of LCD
+#define UI_LCD_BLACK RGB (0, 0, 0) // black
+#define UI_LCD_POSX 59 // x position of lcd
+#define UI_LCD_POSY 95 // y position of lcd
+
+extern HWND hGUIWnd; // the GUI window handle
+extern unsigned int uThreadID; // id of mod thread
+
+// typedefs
+typedef unsigned char uchar;
+typedef unsigned int uint32;
+
+#endif // #ifndef __UISW32_H__ \ No newline at end of file