aboutsummaryrefslogtreecommitdiffstats
path: root/renderer.h
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2025-02-16 15:02:48 -0500
committerSam Anthony <sam@samanthony.xyz>2025-02-16 15:02:48 -0500
commitc1fc9aec27c06ae3d6fd461d987d3cfed4ba551a (patch)
treed3de128aa7a6cc18665c4aaa1db46dacb93eeb92 /renderer.h
parent8f34f26cdc7634cb5968755e9a5cf39090ca8279 (diff)
downloadvolute-c1fc9aec27c06ae3d6fd461d987d3cfed4ba551a.zip
create window
Diffstat (limited to 'renderer.h')
-rw-r--r--renderer.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/renderer.h b/renderer.h
index 3914138..a9de784 100644
--- a/renderer.h
+++ b/renderer.h
@@ -7,8 +7,9 @@ void r_init(void);
void r_draw_rect(mu_Rect rect, mu_Color color);
void r_draw_text(const char *text, mu_Vec2 pos, mu_Color color);
void r_draw_icon(int id, mu_Rect rect, mu_Color color);
- int r_get_text_width(const char *text, int len);
- int r_get_text_height(void);
+int r_get_text_width(const char *text, int len);
+int r_get_text_height(void);
+void r_get_window_size(int *w, int *h);
void r_set_clip_rect(mu_Rect rect);
void r_clear(mu_Color color);
void r_present(void);