From 073bb171f27f3a2fd57fa813b8ec182a2351b7da Mon Sep 17 00:00:00 2001 From: Alessandro Iezzi Date: Fri, 16 May 2025 14:46:35 +0200 Subject: Set the size of the window from main function --- src/main/ui/ui.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/ui/ui.h') diff --git a/src/main/ui/ui.h b/src/main/ui/ui.h index 22a6181..8d1b79c 100644 --- a/src/main/ui/ui.h +++ b/src/main/ui/ui.h @@ -20,7 +20,7 @@ #ifndef __UI_H__ #define __UI_H__ -void ui_init(void); +void ui_init(int w, int h); void ui_loop(void (*draw_frame)()); void ui_set_title(const char *title); -- cgit v1.2.3