diff options
Diffstat (limited to 'uisimulator/sdl/uisdl.h')
-rw-r--r-- | uisimulator/sdl/uisdl.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/uisimulator/sdl/uisdl.h b/uisimulator/sdl/uisdl.h index 25e31040cd..989ca364d1 100644 --- a/uisimulator/sdl/uisdl.h +++ b/uisimulator/sdl/uisdl.h | |||
@@ -20,10 +20,8 @@ | |||
20 | #ifndef __UISDL_H__ | 20 | #ifndef __UISDL_H__ |
21 | #define __UISDL_H__ | 21 | #define __UISDL_H__ |
22 | 22 | ||
23 | #include <SDL.h> | 23 | #include <stdbool.h> |
24 | #include <SDL_mutex.h> | 24 | #include "SDL.h" |
25 | #include <SDL_thread.h> | ||
26 | #include "lcd-sdl.h" | ||
27 | 25 | ||
28 | /* colour definitions are R, G, B */ | 26 | /* colour definitions are R, G, B */ |
29 | 27 | ||
@@ -93,7 +91,7 @@ | |||
93 | #define UI_REMOTE_WIDTH 128 | 91 | #define UI_REMOTE_WIDTH 128 |
94 | #define UI_REMOTE_HEIGHT 64 | 92 | #define UI_REMOTE_HEIGHT 64 |
95 | 93 | ||
96 | #elif defined(IRIVER_H300_SERIES) | 94 | #elif defined(IRIVER_H300) |
97 | #define UI_TITLE "iriver H300" | 95 | #define UI_TITLE "iriver H300" |
98 | #define UI_WIDTH 288 // width of GUI window | 96 | #define UI_WIDTH 288 // width of GUI window |
99 | #define UI_HEIGHT 581 // height of GUI window | 97 | #define UI_HEIGHT 581 // height of GUI window |
@@ -176,6 +174,7 @@ | |||
176 | 174 | ||
177 | extern SDL_Surface *gui_surface; | 175 | extern SDL_Surface *gui_surface; |
178 | extern bool background; /* True if the background image is enabled */ | 176 | extern bool background; /* True if the background image is enabled */ |
177 | extern int display_zoom; | ||
179 | 178 | ||
180 | #endif // #ifndef __UISDL_H__ | 179 | #endif // #ifndef __UISDL_H__ |
181 | 180 | ||