--- a/ui/common/context.h Wed Mar 26 20:23:07 2025 +0100 +++ b/ui/common/context.h Wed Mar 26 20:27:20 2025 +0100 @@ -45,9 +45,7 @@ typedef struct UiListVar UiListVar; typedef struct UiGroupWidget UiGroupWidget; -typedef enum UiVarType UiVarType; - -enum UiVarType { +typedef enum UiVarType { UI_VAR_SPECIAL = 0, UI_VAR_INTEGER, UI_VAR_DOUBLE, @@ -56,7 +54,7 @@ UI_VAR_LIST, UI_VAR_RANGE, UI_VAR_GENERIC -}; +} UiVarType; struct UiContext { UiContext *parent;