diff options
author | Karl Kurbjun <kkurbjun@gmail.com> | 2009-06-13 20:59:03 +0000 |
---|---|---|
committer | Karl Kurbjun <kkurbjun@gmail.com> | 2009-06-13 20:59:03 +0000 |
commit | 4d41886caaefeccb08ed6eeccfffea15bad9c2a6 (patch) | |
tree | 7ee5071dac2dfdae5c576d6b87d87d559c5365be /uisimulator/sdl/uisdl.h | |
parent | 414f6c558b27ab6deb03d4dd49e040c75f298d46 (diff) | |
download | rockbox-4d41886caaefeccb08ed6eeccfffea15bad9c2a6.tar.gz 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/sdl/uisdl.h')
-rw-r--r-- | uisimulator/sdl/uisdl.h | 11 |
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 @@ | |||
24 | 24 | ||
25 | #include <stdbool.h> | 25 | #include <stdbool.h> |
26 | #include <SDL.h> | 26 | #include <SDL.h> |
27 | #include "config.h" | ||
27 | 28 | ||
28 | /* colour definitions are R, G, B */ | 29 | /* colour definitions are R, G, B */ |
29 | 30 | ||
@@ -162,6 +163,7 @@ | |||
162 | #define UI_LCD_POSY 90 /* y position of lcd */ | 163 | #define UI_LCD_POSY 90 /* y position of lcd */ |
163 | 164 | ||
164 | #elif defined(MROBE_500) | 165 | #elif defined(MROBE_500) |
166 | #if LCD_WIDHT==320 | ||
165 | #define UI_TITLE "Olympus M:Robe 500" | 167 | #define UI_TITLE "Olympus M:Robe 500" |
166 | #define UI_WIDTH 450 /* width of GUI window */ | 168 | #define UI_WIDTH 450 /* width of GUI window */ |
167 | #define UI_HEIGHT 350 /* height of GUI window */ | 169 | #define UI_HEIGHT 350 /* height of GUI window */ |
@@ -169,6 +171,15 @@ | |||
169 | #define UI_LCD_POSY 30 /* y position of lcd */ | 171 | #define UI_LCD_POSY 30 /* y position of lcd */ |
170 | #define UI_REMOTE_POSX 50 /* x position of remote lcd */ | 172 | #define UI_REMOTE_POSX 50 /* x position of remote lcd */ |
171 | #define UI_REMOTE_POSY 325 /* y position of remote lcd */ | 173 | #define UI_REMOTE_POSY 325 /* y position of remote lcd */ |
174 | #else | ||
175 | #define UI_TITLE "Olympus M:Robe 500" | ||
176 | #define UI_WIDTH 900 /* width of GUI window */ | ||
177 | #define UI_HEIGHT 748 /* height of GUI window */ | ||
178 | #define UI_LCD_POSX 131 /* x position of lcd */ | ||
179 | #define UI_LCD_POSY 59 /* y position of lcd */ | ||
180 | #define UI_REMOTE_POSX 165 /* x position of remote lcd */ | ||
181 | #define UI_REMOTE_POSY 718 /* y position of remote lcd */ | ||
182 | #endif | ||
172 | 183 | ||
173 | #elif defined(IRIVER_H10) | 184 | #elif defined(IRIVER_H10) |
174 | #define UI_TITLE "iriver H10 20Gb" | 185 | #define UI_TITLE "iriver H10 20Gb" |