--- a/ui/ui/window.h Thu Dec 05 08:40:37 2024 +0100 +++ b/ui/ui/window.h Thu Dec 05 16:44:05 2024 +0100 @@ -72,9 +72,10 @@ void *onclickdata; } UiDialogWindowArgs; -UIEXPORT UiObject* ui_window(const char *title, void *window_data); -UIEXPORT UiObject* ui_simple_window(const char *title, void *window_data); -UIEXPORT UiObject* ui_dialog_window_create(UiObject *parent, UiDialogWindowArgs args); +UIEXPORT UiObject *ui_window(const char *title, void *window_data); +UIEXPORT UiObject *ui_sidebar_window(const char *title, void *window_data); +UIEXPORT UiObject *ui_simple_window(const char *title, void *window_data); +UIEXPORT UiObject *ui_dialog_window_create(UiObject *parent, UiDialogWindowArgs args); #define ui_dialog_window(parent, ...) ui_dialog_window_create(parent, (UiDialogWindowArgs){ __VA_ARGS__ }); #define ui_dialog_window0(parent) ui_dialog_window_create(parent, (UiDialogWindowArgs){ 0 });