ui/motif/label.h

branch
newapi
changeset 429
0921f8a5d535
parent 428
c7dcd2ab2d3d
child 433
605bb5dc34f1
equal deleted inserted replaced
428:c7dcd2ab2d3d 429:0921f8a5d535
28 28
29 #ifndef LABEL_H 29 #ifndef LABEL_H
30 #define LABEL_H 30 #define LABEL_H
31 31
32 #include "../ui/display.h" 32 #include "../ui/display.h"
33 #include "../common/context.h"
33 34
34 #ifdef __cplusplus 35 #ifdef __cplusplus
35 extern "C" { 36 extern "C" {
36 #endif 37 #endif
37 38
39 typedef struct UiProgressBar {
40 Widget widget;
41 GC gc;
42 UiVar *var;
43 double min;
44 double max;
45 double value;
46 Pixel color;
47 } UiProgressBar;
38 48
39 49
50 double ui_progressbar_get(UiDouble *d);
51 void ui_progressbar_set(UiDouble *d, double value);
40 52
41 #ifdef __cplusplus 53 #ifdef __cplusplus
42 } 54 }
43 #endif 55 #endif
44 56

mercurial