diff options
| author | realtradam <[email protected]> | 2023-06-11 01:21:17 -0400 |
|---|---|---|
| committer | realtradam <[email protected]> | 2023-06-11 01:21:17 -0400 |
| commit | c7381b27a58744e1b7d8aa3fe2e21514fd11b5b4 (patch) | |
| tree | 8b793adcf837ebc9d67ec36b91cbde6ae4f5f4aa /include | |
| parent | f1d321f054b1da072e9c965c20f45399c00af1c0 (diff) | |
| download | RodeoKit-c7381b27a58744e1b7d8aa3fe2e21514fd11b5b4.tar.gz RodeoKit-c7381b27a58744e1b7d8aa3fe2e21514fd11b5b4.zip | |
partial working mouse with letterboxing
Diffstat (limited to 'include')
| -rw-r--r-- | include/rodeo/gfx.h | 6 | ||||
| -rw-r--r-- | include/rodeo/window.h | 8 |
2 files changed, 10 insertions, 4 deletions
diff --git a/include/rodeo/gfx.h b/include/rodeo/gfx.h index 151bdda..05ce7d0 100644 --- a/include/rodeo/gfx.h +++ b/include/rodeo/gfx.h @@ -19,6 +19,12 @@ rodeo_gfx_frame_begin(void); void rodeo_gfx_frame_end(void); +float +rodeo_gfx_width_get(void); + +float +rodeo_gfx_height_get(void); + cstr rodeo_gfx_renderer_name_get(void); diff --git a/include/rodeo/window.h b/include/rodeo/window.h index 5674174..2dcfab2 100644 --- a/include/rodeo/window.h +++ b/include/rodeo/window.h @@ -22,10 +22,10 @@ void rodeo_window_deinit(void); uint32_t -rodeo_window_screen_width_get(void); +rodeo_window_width_get(void); uint32_t -rodeo_window_screen_height_get(void); +rodeo_window_height_get(void); bool rodeo_window_shouldQuit(void); @@ -35,14 +35,14 @@ rodeo_window_quit(void); #define \ mrodeo_window_do( \ - screen_height, \ screen_width, \ + screen_height, \ title \ ) \ mrodeo_defer_do( \ rodeo_window_init( \ - screen_height, \ screen_width, \ + screen_height, \ title \ ), \ rodeo_window_deinit() \ |
