From 28b06c375215cf71213fa211965dc87244c95875 Mon Sep 17 00:00:00 2001 From: Sam Anthony Date: Sun, 16 Feb 2025 20:50:58 -0500 Subject: simplify renderer api --- renderer.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'renderer.h') diff --git a/renderer.h b/renderer.h index eaa85a9..aa4446b 100644 --- a/renderer.h +++ b/renderer.h @@ -6,14 +6,9 @@ void r_init(void); void r_handle_input(mu_Context *ctx); void r_render(mu_Context *ctx); -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); 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); #endif -- cgit v1.2.3