diff options
| author | nathan <nathansmith@disroot.org> | 2025-11-06 11:04:42 +0000 |
|---|---|---|
| committer | nathan <nathansmith@disroot.org> | 2025-11-06 11:04:42 +0000 |
| commit | 6fea2be59237f6d43c45dbda95f62346779b21e6 (patch) | |
| tree | 62123859bed12985af4cb3475fb1575b70a41eb6 /src/ui.h | |
| parent | 485584966a5592eec6fd8b3b815cb23f26984733 (diff) | |
| download | FindThings-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.h | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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; |
