--- a/ui/ui/toolkit.h Fri Jan 26 17:17:14 2024 +0100 +++ b/ui/ui/toolkit.h Sun Jan 28 09:35:44 2024 +0100 @@ -168,9 +168,12 @@ typedef struct UiTabbedPane UiTabbedPane; typedef enum UiTri UiTri; +typedef enum UiLabelType UiLabelType; enum UiMouseEventType { UI_PRESS = 0, UI_PRESS2 }; +enum UiLabelType { UI_LABEL_DEFAULT, UI_LABEL_TEXT, UI_LABEL_ICON, UI_LABEL_TEXT_ICON }; + typedef void(*ui_callback)(UiEvent*, void*); /* event, user data */