No issues found
1 /* Generated data (by glib-mkenums) */
2
3 #include "st-enum-types.h"
4 /* enumerations from "./st/st-button.h" */
5 #include "./st/st-button.h"
6 GType
7 st_button_mask_get_type(void) {
8 static GType enum_type_id = 0;
9 if (G_UNLIKELY (!enum_type_id))
10 {
11 static const GFlagsValue values[] = {
12 { ST_BUTTON_ONE, "ST_BUTTON_ONE", "one" },
13 { ST_BUTTON_TWO, "ST_BUTTON_TWO", "two" },
14 { ST_BUTTON_THREE, "ST_BUTTON_THREE", "three" },
15 { 0, NULL, NULL }
16 };
17 enum_type_id = g_flags_register_static (g_intern_static_string ("StButtonMask"), values);
18 }
19 return enum_type_id;
20 }
21 /* enumerations from "./st/st-table.h" */
22 #include "./st/st-table.h"
23 GType
24 st_table_child_options_get_type(void) {
25 static GType enum_type_id = 0;
26 if (G_UNLIKELY (!enum_type_id))
27 {
28 static const GFlagsValue values[] = {
29 { ST_KEEP_ASPECT_RATIO, "ST_KEEP_ASPECT_RATIO", "keep-aspect-ratio" },
30 { ST_X_EXPAND, "ST_X_EXPAND", "x-expand" },
31 { ST_Y_EXPAND, "ST_Y_EXPAND", "y-expand" },
32 { ST_X_FILL, "ST_X_FILL", "x-fill" },
33 { ST_Y_FILL, "ST_Y_FILL", "y-fill" },
34 { 0, NULL, NULL }
35 };
36 enum_type_id = g_flags_register_static (g_intern_static_string ("StTableChildOptions"), values);
37 }
38 return enum_type_id;
39 }
40 /* enumerations from "./st/st-texture-cache.h" */
41 #include "./st/st-texture-cache.h"
42 GType
43 st_texture_cache_policy_get_type(void) {
44 static GType enum_type_id = 0;
45 if (G_UNLIKELY (!enum_type_id))
46 {
47 static const GEnumValue values[] = {
48 { ST_TEXTURE_CACHE_POLICY_NONE, "ST_TEXTURE_CACHE_POLICY_NONE", "none" },
49 { ST_TEXTURE_CACHE_POLICY_FOREVER, "ST_TEXTURE_CACHE_POLICY_FOREVER", "forever" },
50 { 0, NULL, NULL }
51 };
52 enum_type_id = g_enum_register_static (g_intern_static_string ("StTextureCachePolicy"), values);
53 }
54 return enum_type_id;
55 }
56 /* enumerations from "./st/st-theme-node.h" */
57 #include "./st/st-theme-node.h"
58 GType
59 st_side_get_type(void) {
60 static GType enum_type_id = 0;
61 if (G_UNLIKELY (!enum_type_id))
62 {
63 static const GEnumValue values[] = {
64 { ST_SIDE_TOP, "ST_SIDE_TOP", "top" },
65 { ST_SIDE_RIGHT, "ST_SIDE_RIGHT", "right" },
66 { ST_SIDE_BOTTOM, "ST_SIDE_BOTTOM", "bottom" },
67 { ST_SIDE_LEFT, "ST_SIDE_LEFT", "left" },
68 { 0, NULL, NULL }
69 };
70 enum_type_id = g_enum_register_static (g_intern_static_string ("StSide"), values);
71 }
72 return enum_type_id;
73 }
74 GType
75 st_corner_get_type(void) {
76 static GType enum_type_id = 0;
77 if (G_UNLIKELY (!enum_type_id))
78 {
79 static const GEnumValue values[] = {
80 { ST_CORNER_TOPLEFT, "ST_CORNER_TOPLEFT", "topleft" },
81 { ST_CORNER_TOPRIGHT, "ST_CORNER_TOPRIGHT", "topright" },
82 { ST_CORNER_BOTTOMRIGHT, "ST_CORNER_BOTTOMRIGHT", "bottomright" },
83 { ST_CORNER_BOTTOMLEFT, "ST_CORNER_BOTTOMLEFT", "bottomleft" },
84 { 0, NULL, NULL }
85 };
86 enum_type_id = g_enum_register_static (g_intern_static_string ("StCorner"), values);
87 }
88 return enum_type_id;
89 }
90 GType
91 st_text_decoration_get_type(void) {
92 static GType enum_type_id = 0;
93 if (G_UNLIKELY (!enum_type_id))
94 {
95 static const GFlagsValue values[] = {
96 { ST_TEXT_DECORATION_UNDERLINE, "ST_TEXT_DECORATION_UNDERLINE", "underline" },
97 { ST_TEXT_DECORATION_OVERLINE, "ST_TEXT_DECORATION_OVERLINE", "overline" },
98 { ST_TEXT_DECORATION_LINE_THROUGH, "ST_TEXT_DECORATION_LINE_THROUGH", "line-through" },
99 { ST_TEXT_DECORATION_BLINK, "ST_TEXT_DECORATION_BLINK", "blink" },
100 { 0, NULL, NULL }
101 };
102 enum_type_id = g_flags_register_static (g_intern_static_string ("StTextDecoration"), values);
103 }
104 return enum_type_id;
105 }
106 GType
107 st_text_align_get_type(void) {
108 static GType enum_type_id = 0;
109 if (G_UNLIKELY (!enum_type_id))
110 {
111 static const GEnumValue values[] = {
112 { ST_TEXT_ALIGN_LEFT, "ST_TEXT_ALIGN_LEFT", "left" },
113 { ST_TEXT_ALIGN_CENTER, "ST_TEXT_ALIGN_CENTER", "center" },
114 { ST_TEXT_ALIGN_RIGHT, "ST_TEXT_ALIGN_RIGHT", "right" },
115 { ST_TEXT_ALIGN_JUSTIFY, "ST_TEXT_ALIGN_JUSTIFY", "justify" },
116 { 0, NULL, NULL }
117 };
118 enum_type_id = g_enum_register_static (g_intern_static_string ("StTextAlign"), values);
119 }
120 return enum_type_id;
121 }
122 GType
123 st_gradient_type_get_type(void) {
124 static GType enum_type_id = 0;
125 if (G_UNLIKELY (!enum_type_id))
126 {
127 static const GEnumValue values[] = {
128 { ST_GRADIENT_NONE, "ST_GRADIENT_NONE", "none" },
129 { ST_GRADIENT_VERTICAL, "ST_GRADIENT_VERTICAL", "vertical" },
130 { ST_GRADIENT_HORIZONTAL, "ST_GRADIENT_HORIZONTAL", "horizontal" },
131 { ST_GRADIENT_RADIAL, "ST_GRADIENT_RADIAL", "radial" },
132 { 0, NULL, NULL }
133 };
134 enum_type_id = g_enum_register_static (g_intern_static_string ("StGradientType"), values);
135 }
136 return enum_type_id;
137 }
138 /* enumerations from "./st/st-types.h" */
139 #include "./st/st-types.h"
140 GType
141 st_align_get_type(void) {
142 static GType enum_type_id = 0;
143 if (G_UNLIKELY (!enum_type_id))
144 {
145 static const GEnumValue values[] = {
146 { ST_ALIGN_START, "ST_ALIGN_START", "start" },
147 { ST_ALIGN_MIDDLE, "ST_ALIGN_MIDDLE", "middle" },
148 { ST_ALIGN_END, "ST_ALIGN_END", "end" },
149 { 0, NULL, NULL }
150 };
151 enum_type_id = g_enum_register_static (g_intern_static_string ("StAlign"), values);
152 }
153 return enum_type_id;
154 }
155 GType
156 st_background_size_get_type(void) {
157 static GType enum_type_id = 0;
158 if (G_UNLIKELY (!enum_type_id))
159 {
160 static const GEnumValue values[] = {
161 { ST_BACKGROUND_SIZE_AUTO, "ST_BACKGROUND_SIZE_AUTO", "auto" },
162 { ST_BACKGROUND_SIZE_CONTAIN, "ST_BACKGROUND_SIZE_CONTAIN", "contain" },
163 { ST_BACKGROUND_SIZE_COVER, "ST_BACKGROUND_SIZE_COVER", "cover" },
164 { ST_BACKGROUND_SIZE_FIXED, "ST_BACKGROUND_SIZE_FIXED", "fixed" },
165 { 0, NULL, NULL }
166 };
167 enum_type_id = g_enum_register_static (g_intern_static_string ("StBackgroundSize"), values);
168 }
169 return enum_type_id;
170 }
171
172 /* Generated data ends here */