--- a/ui/motif/label.h Sat Jan 04 15:16:51 2025 +0100 +++ b/ui/motif/label.h Sat Jan 04 16:22:14 2025 +0100 @@ -30,13 +30,25 @@ #define LABEL_H #include "../ui/display.h" +#include "../common/context.h" #ifdef __cplusplus extern "C" { #endif +typedef struct UiProgressBar { + Widget widget; + GC gc; + UiVar *var; + double min; + double max; + double value; + Pixel color; +} UiProgressBar; +double ui_progressbar_get(UiDouble *d); +void ui_progressbar_set(UiDouble *d, double value); #ifdef __cplusplus }