diff options
author | 2025-05-16 14:46:35 +0200 | |
---|---|---|
committer | 2025-05-16 14:46:35 +0200 | |
commit | 073bb171f27f3a2fd57fa813b8ec182a2351b7da (patch) | |
tree | cb1ac69af85d309fcdfd8b87b6eb5411e4dc053f /src/main/ui/ui.h | |
parent | 0eecfe756630e6ad6265c1d84c66c19e4dd51309 (diff) | |
download | tris-073bb171f27f3a2fd57fa813b8ec182a2351b7da.tar.gz tris-073bb171f27f3a2fd57fa813b8ec182a2351b7da.zip |
Set the size of the window from main function
Diffstat (limited to 'src/main/ui/ui.h')
-rw-r--r-- | src/main/ui/ui.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); |