aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui.h
diff options
context:
space:
mode:
authornathan <nathansmith@disroot.org>2025-11-16 05:10:55 +0000
committernathan <nathansmith@disroot.org>2025-11-16 05:10:55 +0000
commit7bb57d60f8d8249eb48c9c7a7e7d3760127a0c3c (patch)
treeb6daaa6d121625a6de0b7f2e50e15d6f04a319e5 /src/ui.h
parent52d1a04b30b5ce8da9b9dcce02e829a35f664dcb (diff)
downloadFindThings-7bb57d60f8d8249eb48c9c7a7e7d3760127a0c3c.tar.gz
FindThings-7bb57d60f8d8249eb48c9c7a7e7d3760127a0c3c.tar.bz2
FindThings-7bb57d60f8d8249eb48c9c7a7e7d3760127a0c3c.zip
Working on window focus
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