diff options
Diffstat (limited to 'uisimulator/sdl/lcd-sdl.h')
-rw-r--r-- | uisimulator/sdl/lcd-sdl.h | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/uisimulator/sdl/lcd-sdl.h b/uisimulator/sdl/lcd-sdl.h index 312ae0d01f..d371639a64 100644 --- a/uisimulator/sdl/lcd-sdl.h +++ b/uisimulator/sdl/lcd-sdl.h | |||
@@ -20,20 +20,18 @@ | |||
20 | #ifndef __LCDSDL_H__ | 20 | #ifndef __LCDSDL_H__ |
21 | #define __LCDSDL_H__ | 21 | #define __LCDSDL_H__ |
22 | 22 | ||
23 | #include "uisdl.h" | ||
24 | #include "lcd.h" | 23 | #include "lcd.h" |
24 | #include "SDL.h" | ||
25 | 25 | ||
26 | extern SDL_Surface* lcd_surface; | 26 | /* Default display zoom level */ |
27 | #if LCD_DEPTH <= 8 | 27 | extern int display_zoom; |
28 | extern SDL_Color lcd_palette[(1<<LCD_DEPTH)]; | ||
29 | #endif | ||
30 | 28 | ||
31 | #ifdef HAVE_REMOTE_LCD | 29 | void sdl_update_rect(SDL_Surface *surface, int x_start, int y_start, int width, |
32 | extern SDL_Surface* remote_surface; | 30 | int height, int max_x, int max_y, int ui_x, int ui_y, |
33 | extern SDL_Color remote_palette[(1<<LCD_REMOTE_DEPTH)]; | 31 | Uint32 (*getpixel)(int, int)); |
34 | #endif | ||
35 | 32 | ||
36 | void simlcdinit(void); | 33 | void sdl_set_gradient(SDL_Surface *surface, SDL_Color *start, SDL_Color *end, |
34 | int steps); | ||
37 | 35 | ||
38 | #endif // #ifndef __LCDSDL_H__ | 36 | #endif // #ifndef __LCDSDL_H__ |
39 | 37 | ||