summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorrealtradam <[email protected]>2023-06-11 01:21:17 -0400
committerrealtradam <[email protected]>2023-06-11 01:21:17 -0400
commitc7381b27a58744e1b7d8aa3fe2e21514fd11b5b4 (patch)
tree8b793adcf837ebc9d67ec36b91cbde6ae4f5f4aa /include
parentf1d321f054b1da072e9c965c20f45399c00af1c0 (diff)
downloadRodeoKit-c7381b27a58744e1b7d8aa3fe2e21514fd11b5b4.tar.gz
RodeoKit-c7381b27a58744e1b7d8aa3fe2e21514fd11b5b4.zip
partial working mouse with letterboxing
Diffstat (limited to 'include')
-rw-r--r--include/rodeo/gfx.h6
-rw-r--r--include/rodeo/window.h8
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() \