summaryrefslogtreecommitdiff
path: root/src/main/ui/ui.h
diff options
context:
space:
mode:
authorAlessandro Iezzi <aiezzi@alessandroiezzi.it>2025-05-16 14:46:35 +0200
committerAlessandro Iezzi <aiezzi@alessandroiezzi.it>2025-05-16 14:46:35 +0200
commit073bb171f27f3a2fd57fa813b8ec182a2351b7da (patch)
treecb1ac69af85d309fcdfd8b87b6eb5411e4dc053f /src/main/ui/ui.h
parent0eecfe756630e6ad6265c1d84c66c19e4dd51309 (diff)
downloadtris-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.h2
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);