diff options
Diffstat (limited to 'uisimulator/sdl')
-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" |