diff options
Diffstat (limited to 'include/ui')
-rw-r--r-- | include/ui/sdl2.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/ui/sdl2.h b/include/ui/sdl2.h index 84c27f03fa..fd6bfdd46d 100644 --- a/include/ui/sdl2.h +++ b/include/ui/sdl2.h @@ -13,11 +13,17 @@ struct sdl2_console { int hidden; }; +void sdl2_window_create(struct sdl2_console *scon); +void sdl2_window_destroy(struct sdl2_console *scon); +void sdl2_window_resize(struct sdl2_console *scon); + void sdl2_reset_keys(struct sdl2_console *scon); void sdl2_process_key(struct sdl2_console *scon, SDL_KeyboardEvent *ev); void sdl2_2d_update(DisplayChangeListener *dcl, int x, int y, int w, int h); +void sdl2_2d_switch(DisplayChangeListener *dcl, + DisplaySurface *new_surface); #endif /* SDL2_H */ |