ui/motif/label.h

branch
newapi
changeset 429
0921f8a5d535
parent 428
c7dcd2ab2d3d
child 433
605bb5dc34f1
--- 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
 }

mercurial