diff options
Diffstat (limited to 'src/window/irodeo_window_t.h')
| -rw-r--r-- | src/window/irodeo_window_t.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/window/irodeo_window_t.h b/src/window/irodeo_window_t.h new file mode 100644 index 0000000..e2dd0a4 --- /dev/null +++ b/src/window/irodeo_window_t.h @@ -0,0 +1,21 @@ +#pragma once + +// -- external -- +#include "SDL.h" +#include "SDL_syswm.h" + +// -- system -- +#include "inttypes.h" +#include "stdbool.h" + +typedef +struct +{ + SDL_Window* window; + SDL_Surface* screen_surface; + SDL_SysWMinfo wmi; + uint16_t screen_width; + uint16_t screen_height; + bool quit; +} +irodeo_window_state_t; |
