46 UI_ALIGN_CENTER |
46 UI_ALIGN_CENTER |
47 }; |
47 }; |
48 |
48 |
49 typedef enum UiAlignment UiAlignment; |
49 typedef enum UiAlignment UiAlignment; |
50 |
50 |
|
51 enum UiLabelStyle { |
|
52 UI_LABEL_STYLE_DEFAULT = 0, |
|
53 UI_LABEL_STYLE_TITLE, |
|
54 UI_LABEL_STYLE_SUBTITLE, |
|
55 UI_LABEL_STYLE_DIM |
|
56 }; |
|
57 |
|
58 typedef enum UiLabelStyle UiLabelStyle; |
|
59 |
51 typedef struct UiLabelArgs { |
60 typedef struct UiLabelArgs { |
52 UiTri fill; |
61 UiTri fill; |
53 UiBool hexpand; |
62 UiBool hexpand; |
54 UiBool vexpand; |
63 UiBool vexpand; |
55 int colspan; |
64 int colspan; |
56 int rowspan; |
65 int rowspan; |
57 |
66 |
58 const char* label; |
67 const char* label; |
59 UiAlignment align; |
68 UiAlignment align; |
|
69 UiLabelStyle style; |
60 UiString* value; |
70 UiString* value; |
61 const char* varname; |
71 const char* varname; |
62 } UiLabelArgs; |
72 } UiLabelArgs; |
63 |
73 |
64 typedef struct UiProgressbarArgs { |
74 typedef struct UiProgressbarArgs { |