summaryrefslogtreecommitdiffstats
path: root/uisimulator/win32
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2005-01-23 01:06:01 +0000
committerJens Arnold <amiconn@rockbox.org>2005-01-23 01:06:01 +0000
commit424d50563732341180c7f931c10b02b89f830651 (patch)
treedd2d50432bccf693d22c0d3575b33856cc7bbc92 /uisimulator/win32
parent259e35488936cc6e75f906413ccd574e336fd38a (diff)
downloadrockbox-424d50563732341180c7f931c10b02b89f830651.tar.gz
rockbox-424d50563732341180c7f931c10b02b89f830651.tar.bz2
rockbox-424d50563732341180c7f931c10b02b89f830651.zip
Eanbled building gmini simulator (Win32 & X11).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5639 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator/win32')
-rw-r--r--uisimulator/win32/UI-gmini120.bmpbin0 -> 195416 bytes
-rw-r--r--uisimulator/win32/uisw32.h12
2 files changed, 12 insertions, 0 deletions
diff --git a/uisimulator/win32/UI-gmini120.bmp b/uisimulator/win32/UI-gmini120.bmp
new file mode 100644
index 0000000000..afeaf74801
--- /dev/null
+++ b/uisimulator/win32/UI-gmini120.bmp
Binary files differ
diff --git a/uisimulator/win32/uisw32.h b/uisimulator/win32/uisw32.h
index b04ab6a027..dbbfd06c1e 100644
--- a/uisimulator/win32/uisw32.h
+++ b/uisimulator/win32/uisw32.h
@@ -87,6 +87,18 @@ typedef unsigned short wchar_t;
#define UI_LCD_WIDTH 160
#define UI_LCD_HEIGHT 128
+#elif defined(ARCHOS_GMINI120)
+#define UI_TITLE "Gmini 120"
+#define UI_WIDTH 370 // width of GUI window
+#define UI_HEIGHT 264 // height of GUI window
+#define UI_LCD_BGCOLOR 90, 145, 90 // bkgnd color of LCD (no backlight)
+#define UI_LCD_BGCOLORLIGHT 230, 160, 60 // bkgnd color of LCD (backlight)
+#define UI_LCD_BLACK 0, 0, 0 // black
+#define UI_LCD_POSX 85 // x position of lcd
+#define UI_LCD_POSY 61 // y position of lcd (74 for real aspect)
+#define UI_LCD_WIDTH 192 // * 1.5
+#define UI_LCD_HEIGHT 96 // * 1.5
+
#endif
#define TM_YIELD WM_USER + 101 // thread message for yield