From 6fea2be59237f6d43c45dbda95f62346779b21e6 Mon Sep 17 00:00:00 2001 From: nathan Date: Thu, 6 Nov 2025 04:04:42 -0700 Subject: Cleaned up floating window code --- src/ui.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/ui.h') 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; -- cgit v1.2.3