aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui.h')
-rw-r--r--src/ui.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/ui.h b/src/ui.h
index fcf17a0..e3e5918 100644
--- a/src/ui.h
+++ b/src/ui.h
@@ -32,10 +32,12 @@ typedef struct {
int windowCount;
} WindowManager;
-FloatingWindow createFloatingWindow(const char* title);
-void updateFloatingWindow(FloatingWindow* window);
+FloatingWindow createFloatingWindow(const char* title, Rectangle rect);
+bool updateFloatingWindow(FloatingWindow* window);
-void initWindowManager(WindowManager* windowManager);
-void updateWindowManager(WindowManager* windowManager);
+void initWindowManager(WindowManager* wm);
+void updateWindowManager(WindowManager* wm);
+void addWindowToWindowManager(WindowManager* wm, FloatingWindow window);
+void focusOnWindow(WindowManager* wm, int windowIndex);
#endif