diff options
-rw-r--r-- | src/main/engine/ui/types.h | 5 | ||||
-rw-r--r-- | src/main/engine/ui/ui.h | 5 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/main/engine/ui/types.h b/src/main/engine/ui/types.h index 0bf522a..33aeea9 100644 --- a/src/main/engine/ui/types.h +++ b/src/main/engine/ui/types.h @@ -20,11 +20,6 @@ #ifndef __TYPES_H__ #define __TYPES_H__ -typedef struct UI { - int width; - int height; -} UI; - typedef struct UIEventResize { int width; int height; 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); |