summaryrefslogtreecommitdiffstats
path: root/uisimulator
diff options
context:
space:
mode:
authorKarl Kurbjun <kkurbjun@gmail.com>2009-06-13 20:59:03 +0000
committerKarl Kurbjun <kkurbjun@gmail.com>2009-06-13 20:59:03 +0000
commit4d41886caaefeccb08ed6eeccfffea15bad9c2a6 (patch)
tree7ee5071dac2dfdae5c576d6b87d87d559c5365be /uisimulator
parent414f6c558b27ab6deb03d4dd49e040c75f298d46 (diff)
downloadrockbox-4d41886caaefeccb08ed6eeccfffea15bad9c2a6.tar.gz
rockbox-4d41886caaefeccb08ed6eeccfffea15bad9c2a6.tar.bz2
rockbox-4d41886caaefeccb08ed6eeccfffea15bad9c2a6.zip
M:Robe 500: Fix up 256 color blitting when in portrait mode, fix a mistake in the plugin linker script, reduce the amount of memory used by overwriting IRAM with bss after program has started, clean up some tabs and formatting, resize the simulator when building for 640x480
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21280 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator')
-rw-r--r--uisimulator/sdl/uisdl.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/uisimulator/sdl/uisdl.h b/uisimulator/sdl/uisdl.h
index dae1d20393..7e5cbc5170 100644
--- a/uisimulator/sdl/uisdl.h
+++ b/uisimulator/sdl/uisdl.h
@@ -24,6 +24,7 @@
#include <stdbool.h>
#include <SDL.h>
+#include "config.h"
/* colour definitions are R, G, B */
@@ -162,6 +163,7 @@
#define UI_LCD_POSY 90 /* y position of lcd */
#elif defined(MROBE_500)
+#if LCD_WIDHT==320
#define UI_TITLE "Olympus M:Robe 500"
#define UI_WIDTH 450 /* width of GUI window */
#define UI_HEIGHT 350 /* height of GUI window */
@@ -169,6 +171,15 @@
#define UI_LCD_POSY 30 /* y position of lcd */
#define UI_REMOTE_POSX 50 /* x position of remote lcd */
#define UI_REMOTE_POSY 325 /* y position of remote lcd */
+#else
+#define UI_TITLE "Olympus M:Robe 500"
+#define UI_WIDTH 900 /* width of GUI window */
+#define UI_HEIGHT 748 /* height of GUI window */
+#define UI_LCD_POSX 131 /* x position of lcd */
+#define UI_LCD_POSY 59 /* y position of lcd */
+#define UI_REMOTE_POSX 165 /* x position of remote lcd */
+#define UI_REMOTE_POSY 718 /* y position of remote lcd */
+#endif
#elif defined(IRIVER_H10)
#define UI_TITLE "iriver H10 20Gb"