aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui.h')
-rw-r--r--src/ui.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/ui.h b/src/ui.h
index 95e250a..30853fb 100644
--- a/src/ui.h
+++ b/src/ui.h
@@ -41,14 +41,18 @@ struct FloatingWindow {
typedef struct {
FloatingWindow windows[UI_WINDOW_MAX];
int windowCount;
+ bool enabled;
} WindowManager;
FloatingWindow createFloatingWindow(const char* title, Rectangle rect);
-FocusCommand updateFloatingWindow(FloatingWindow* window, Game* game);
+FocusCommand updateFloatingWindow(FloatingWindow* window, WindowManager* wm,
+ Game* game);
void initWindowManager(WindowManager* wm);
void updateWindowManager(WindowManager* wm, Game* game);
void addWindowToWindowManager(WindowManager* wm, FloatingWindow window);
void focusOnWindow(WindowManager* wm, int windowIndex);
+void enableWindowManager(WindowManager* wm);
+void disableWindowManager(WindowManager* wm);
#endif