diff options
| author | realtradam <[email protected]> | 2023-06-04 02:35:00 -0400 |
|---|---|---|
| committer | realtradam <[email protected]> | 2023-06-04 02:35:00 -0400 |
| commit | 35558b39040d37c939bd68b56985d6cb5385a451 (patch) | |
| tree | b10516557ba530d96799a8c4bed94b7644938811 /src/window/irodeo_window_t.h | |
| parent | 856ce67eb21f64d86ecf6bb3651985f10e6236c3 (diff) | |
| download | RodeoKit-gfx-rewrite.tar.gz RodeoKit-gfx-rewrite.zip | |
refactor to have graphics and windowing seperategfx-rewrite
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; |
