summaryrefslogtreecommitdiff
path: root/src/main/engine/ui/ui.h
diff options
context:
space:
mode:
authorAlessandro Iezzi <aiezzi@alessandroiezzi.it>2025-05-22 15:40:06 +0200
committerAlessandro Iezzi <aiezzi@alessandroiezzi.it>2025-05-22 15:40:06 +0200
commita7c1c3a6a7ef066de0f1179e83533d1e79a7db45 (patch)
tree08a8b02c2933d3291cecc873a1aae2c6f9c6320d /src/main/engine/ui/ui.h
parent89527a169b9ea38ca270d69c6ebe9ce383289f48 (diff)
downloadtris-a7c1c3a6a7ef066de0f1179e83533d1e79a7db45.tar.gz
tris-a7c1c3a6a7ef066de0f1179e83533d1e79a7db45.zip
Move UI struct in ui.h
Diffstat (limited to 'src/main/engine/ui/ui.h')
-rw-r--r--src/main/engine/ui/ui.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main/engine/ui/ui.h b/src/main/engine/ui/ui.h
index 9aee1b8..34e21dd 100644
--- a/src/main/engine/ui/ui.h
+++ b/src/main/engine/ui/ui.h
@@ -22,6 +22,11 @@
#include "types.h"
+typedef struct UI {
+ int width;
+ int height;
+} UI;
+
UI *ui_new(int w, int h);
void ui_loop(UI *ui);
void ui_set_title(const char *title);