diff options
| author | nathan <nathansmith@disroot.org> | 2025-11-06 06:11:56 +0000 |
|---|---|---|
| committer | nathan <nathansmith@disroot.org> | 2025-11-06 06:11:56 +0000 |
| commit | 485584966a5592eec6fd8b3b815cb23f26984733 (patch) | |
| tree | f122a611a7693df1a514cb3169e1e8cdb9439d11 /src/ui.h | |
| parent | 754fc059c3a6b3a1bc204f87d58152dbb65b2abe (diff) | |
| download | FindThings-485584966a5592eec6fd8b3b815cb23f26984733.tar.gz FindThings-485584966a5592eec6fd8b3b815cb23f26984733.tar.bz2 FindThings-485584966a5592eec6fd8b3b815cb23f26984733.zip | |
Window thingy hehehehe
Diffstat (limited to 'src/ui.h')
| -rw-r--r-- | src/ui.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/ui.h b/src/ui.h new file mode 100644 index 0000000..80c669f --- /dev/null +++ b/src/ui.h @@ -0,0 +1,19 @@ +#include "utils.h" + +#ifndef UI_H +#define UI_H + +typedef struct { + Rectangle rect; + bool minimized; + bool moving; + bool resizing; + DrawWindowContentCallback callback; + Vector2 contentSize; + Vector2 scroll; +} FloatingWindow; + +FloatingWindow createFloatingWindow(); +void updateFloatingWindow(FloatingWindow* window, const char* title); + +#endif |
