Eanbled building gmini simulator (Win32 & X11).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5639 a1c6a512-1295-4272-9138-f99709370657
diff --git a/uisimulator/win32/UI-gmini120.bmp b/uisimulator/win32/UI-gmini120.bmp
new file mode 100644
index 0000000..afeaf74
--- /dev/null
+++ b/uisimulator/win32/UI-gmini120.bmp
Binary files differ
diff --git a/uisimulator/win32/uisw32.h b/uisimulator/win32/uisw32.h
index b04ab6a..dbbfd06 100644
--- a/uisimulator/win32/uisw32.h
+++ b/uisimulator/win32/uisw32.h
@@ -87,6 +87,18 @@
#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
diff --git a/uisimulator/x11/uibasic.c b/uisimulator/x11/uibasic.c
index 78abb2f..1b44f10 100644
--- a/uisimulator/x11/uibasic.c
+++ b/uisimulator/x11/uibasic.c
@@ -64,6 +64,8 @@
char *defaults [] = {
#ifdef IRIVER_H100
".background: lightblue",
+#elif defined ARCHOS_GMINI120
+ ".background: royalblue",
#else
".background: lightgreen",
#endif