aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui.h
diff options
context:
space:
mode:
authornathan <nathansmith@disroot.org>2025-11-06 11:04:42 +0000
committernathan <nathansmith@disroot.org>2025-11-06 11:04:42 +0000
commit6fea2be59237f6d43c45dbda95f62346779b21e6 (patch)
tree62123859bed12985af4cb3475fb1575b70a41eb6 /src/ui.h
parent485584966a5592eec6fd8b3b815cb23f26984733 (diff)
downloadFindThings-6fea2be59237f6d43c45dbda95f62346779b21e6.tar.gz
FindThings-6fea2be59237f6d43c45dbda95f62346779b21e6.tar.bz2
FindThings-6fea2be59237f6d43c45dbda95f62346779b21e6.zip
Cleaned up floating window code
Diffstat (limited to 'src/ui.h')
-rw-r--r--src/ui.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/ui.h b/src/ui.h
index 80c669f..5868b50 100644
--- a/src/ui.h
+++ b/src/ui.h
@@ -3,6 +3,16 @@
#ifndef UI_H
#define UI_H
+#ifndef RAYGUI_WINDOWBOX_STATUSBAR_HEIGHT
+#define RAYGUI_WINDOWBOX_STATUSBAR_HEIGHT 24
+#endif
+
+#ifndef RAYGUI_WINDOW_CLOSEBUTTON_SIZE
+#define RAYGUI_WINDOW_CLOSEBUTTON_SIZE 18
+#endif
+
+typedef void (*DrawWindowContentCallback)(Vector2 position, Vector2 scroll);
+
typedef struct {
Rectangle rect;
bool minimized;