1;; From clutter-actor-private.h
2
3;; Original typedef:
4;; typedef enum
5;; {
6;;   CLUTTER_REDRAW_CLIPPED_TO_ALLOCATION  = 1 << 0
7;; } ClutterRedrawFlags;
8
9(define-flags-extended RedrawFlags
10  (in-module "Clutter")
11  (c-name "ClutterRedrawFlags")
12  (values
13    '("clipped-to-allocation" "CLUTTER_REDRAW_CLIPPED_TO_ALLOCATION" "1 << 0")
14  )
15)
16
17;; Original typedef:
18;; typedef enum {
19;;   CLUTTER_ACTOR_TRAVERSE_DEPTH_FIRST   = 1L<<0,
20;;   CLUTTER_ACTOR_TRAVERSE_BREADTH_FIRST = 1L<<1
21;; } ClutterActorTraverseFlags;
22
23(define-flags-extended ActorTraverseFlags
24  (in-module "Clutter")
25  (c-name "ClutterActorTraverseFlags")
26  (values
27    '("depth-first" "CLUTTER_ACTOR_TRAVERSE_DEPTH_FIRST" "1L<<0")
28    '("breadth-first" "CLUTTER_ACTOR_TRAVERSE_BREADTH_FIRST" "1L<<1")
29  )
30)
31
32;; Original typedef:
33;; typedef enum {
34;;   CLUTTER_ACTOR_TRAVERSE_VISIT_CONTINUE       = 1L<<0,
35;;   CLUTTER_ACTOR_TRAVERSE_VISIT_SKIP_CHILDREN  = 1L<<1,
36;;   CLUTTER_ACTOR_TRAVERSE_VISIT_BREAK          = 1L<<2
37;; } ClutterActorTraverseVisitFlags;
38
39(define-flags-extended ActorTraverseVisitFlags
40  (in-module "Clutter")
41  (c-name "ClutterActorTraverseVisitFlags")
42  (values
43    '("continue" "CLUTTER_ACTOR_TRAVERSE_VISIT_CONTINUE" "1L<<0")
44    '("skip-children" "CLUTTER_ACTOR_TRAVERSE_VISIT_SKIP_CHILDREN" "1L<<1")
45    '("break" "CLUTTER_ACTOR_TRAVERSE_VISIT_BREAK" "1L<<2")
46  )
47)
48
49;; From clutter-debug.h
50
51;; Original typedef:
52;; typedef enum {
53;;   CLUTTER_DEBUG_MISC                = 1 << 0,
54;;   CLUTTER_DEBUG_ACTOR               = 1 << 1,
55;;   CLUTTER_DEBUG_TEXTURE             = 1 << 2,
56;;   CLUTTER_DEBUG_EVENT               = 1 << 3,
57;;   CLUTTER_DEBUG_PAINT               = 1 << 4,
58;;   CLUTTER_DEBUG_PANGO               = 1 << 5,
59;;   CLUTTER_DEBUG_BACKEND             = 1 << 6,
60;;   CLUTTER_DEBUG_SCHEDULER           = 1 << 7,
61;;   CLUTTER_DEBUG_SCRIPT              = 1 << 8,
62;;   CLUTTER_DEBUG_SHADER              = 1 << 9,
63;;   CLUTTER_DEBUG_MULTISTAGE          = 1 << 10,
64;;   CLUTTER_DEBUG_ANIMATION           = 1 << 11,
65;;   CLUTTER_DEBUG_LAYOUT              = 1 << 12,
66;;   CLUTTER_DEBUG_PICK                = 1 << 13,
67;;   CLUTTER_DEBUG_EVENTLOOP           = 1 << 14,
68;;   CLUTTER_DEBUG_CLIPPING            = 1 << 15,
69;;   CLUTTER_DEBUG_OOB_TRANSFORMS      = 1 << 16
70;; } ClutterDebugFlag;
71
72(define-flags-extended DebugFlag
73  (in-module "Clutter")
74  (c-name "ClutterDebugFlag")
75  (values
76    '("misc" "CLUTTER_DEBUG_MISC" "1 << 0")
77    '("actor" "CLUTTER_DEBUG_ACTOR" "1 << 1")
78    '("texture" "CLUTTER_DEBUG_TEXTURE" "1 << 2")
79    '("event" "CLUTTER_DEBUG_EVENT" "1 << 3")
80    '("paint" "CLUTTER_DEBUG_PAINT" "1 << 4")
81    '("pango" "CLUTTER_DEBUG_PANGO" "1 << 5")
82    '("backend" "CLUTTER_DEBUG_BACKEND" "1 << 6")
83    '("scheduler" "CLUTTER_DEBUG_SCHEDULER" "1 << 7")
84    '("script" "CLUTTER_DEBUG_SCRIPT" "1 << 8")
85    '("shader" "CLUTTER_DEBUG_SHADER" "1 << 9")
86    '("multistage" "CLUTTER_DEBUG_MULTISTAGE" "1 << 10")
87    '("animation" "CLUTTER_DEBUG_ANIMATION" "1 << 11")
88    '("layout" "CLUTTER_DEBUG_LAYOUT" "1 << 12")
89    '("pick" "CLUTTER_DEBUG_PICK" "1 << 13")
90    '("eventloop" "CLUTTER_DEBUG_EVENTLOOP" "1 << 14")
91    '("clipping" "CLUTTER_DEBUG_CLIPPING" "1 << 15")
92    '("oob-transforms" "CLUTTER_DEBUG_OOB_TRANSFORMS" "1 << 16")
93  )
94)
95
96;; Original typedef:
97;; typedef enum {
98;;   CLUTTER_DEBUG_NOP_PICKING         = 1 << 0,
99;;   CLUTTER_DEBUG_DUMP_PICK_BUFFERS   = 1 << 1
100;; } ClutterPickDebugFlag;
101
102(define-flags-extended PickDebugFlag
103  (in-module "Clutter")
104  (c-name "ClutterPickDebugFlag")
105  (values
106    '("nop-picking" "CLUTTER_DEBUG_NOP_PICKING" "1 << 0")
107    '("dump-pick-buffers" "CLUTTER_DEBUG_DUMP_PICK_BUFFERS" "1 << 1")
108  )
109)
110
111;; Original typedef:
112;; typedef enum {
113;;   CLUTTER_DEBUG_DISABLE_SWAP_EVENTS     = 1 << 0,
114;;   CLUTTER_DEBUG_DISABLE_CLIPPED_REDRAWS = 1 << 1,
115;;   CLUTTER_DEBUG_REDRAWS                 = 1 << 2,
116;;   CLUTTER_DEBUG_PAINT_VOLUMES           = 1 << 3,
117;;   CLUTTER_DEBUG_DISABLE_CULLING         = 1 << 4,
118;;   CLUTTER_DEBUG_DISABLE_OFFSCREEN_REDIRECT = 1 << 5,
119;;   CLUTTER_DEBUG_CONTINUOUS_REDRAW       = 1 << 6,
120;;   CLUTTER_DEBUG_PAINT_DEFORM_TILES      = 1 << 7
121;; } ClutterDrawDebugFlag;
122
123(define-flags-extended DrawDebugFlag
124  (in-module "Clutter")
125  (c-name "ClutterDrawDebugFlag")
126  (values
127    '("disable-swap-events" "CLUTTER_DEBUG_DISABLE_SWAP_EVENTS" "1 << 0")
128    '("disable-clipped-redraws" "CLUTTER_DEBUG_DISABLE_CLIPPED_REDRAWS" "1 << 1")
129    '("redraws" "CLUTTER_DEBUG_REDRAWS" "1 << 2")
130    '("paint-volumes" "CLUTTER_DEBUG_PAINT_VOLUMES" "1 << 3")
131    '("disable-culling" "CLUTTER_DEBUG_DISABLE_CULLING" "1 << 4")
132    '("disable-offscreen-redirect" "CLUTTER_DEBUG_DISABLE_OFFSCREEN_REDIRECT" "1 << 5")
133    '("continuous-redraw" "CLUTTER_DEBUG_CONTINUOUS_REDRAW" "1 << 6")
134    '("paint-deform-tiles" "CLUTTER_DEBUG_PAINT_DEFORM_TILES" "1 << 7")
135  )
136)
137
138;; From clutter-enums.h
139
140;; Original typedef:
141;; typedef enum { /*< prefix=CLUTTER_GRAVITY >*/
142;;   CLUTTER_GRAVITY_NONE       = 0,
143;;   CLUTTER_GRAVITY_NORTH,
144;;   CLUTTER_GRAVITY_NORTH_EAST,
145;;   CLUTTER_GRAVITY_EAST,
146;;   CLUTTER_GRAVITY_SOUTH_EAST,
147;;   CLUTTER_GRAVITY_SOUTH,
148;;   CLUTTER_GRAVITY_SOUTH_WEST,
149;;   CLUTTER_GRAVITY_WEST,
150;;   CLUTTER_GRAVITY_NORTH_WEST,
151;;   CLUTTER_GRAVITY_CENTER
152;; } ClutterGravity;
153
154(define-enum-extended Gravity
155  (in-module "Clutter")
156  (c-name "ClutterGravity")
157  (values
158    '("none" "CLUTTER_GRAVITY_NONE" "0")
159    '("north" "CLUTTER_GRAVITY_NORTH" "1")
160    '("north-east" "CLUTTER_GRAVITY_NORTH_EAST" "2")
161    '("east" "CLUTTER_GRAVITY_EAST" "3")
162    '("south-east" "CLUTTER_GRAVITY_SOUTH_EAST" "4")
163    '("south" "CLUTTER_GRAVITY_SOUTH" "5")
164    '("south-west" "CLUTTER_GRAVITY_SOUTH_WEST" "6")
165    '("west" "CLUTTER_GRAVITY_WEST" "7")
166    '("north-west" "CLUTTER_GRAVITY_NORTH_WEST" "8")
167    '("center" "CLUTTER_GRAVITY_CENTER" "9")
168  )
169)
170
171;; Original typedef:
172;; typedef enum { /*< prefix=CLUTTER >*/
173;;   CLUTTER_X_AXIS,
174;;   CLUTTER_Y_AXIS,
175;;   CLUTTER_Z_AXIS
176;; } ClutterRotateAxis;
177
178(define-enum-extended RotateAxis
179  (in-module "Clutter")
180  (c-name "ClutterRotateAxis")
181  (values
182    '("x-axis" "CLUTTER_X_AXIS" "0")
183    '("y-axis" "CLUTTER_Y_AXIS" "1")
184    '("z-axis" "CLUTTER_Z_AXIS" "2")
185  )
186)
187
188;; Original typedef:
189;; typedef enum { /*< prefix=CLUTTER_ROTATE >*/
190;;   CLUTTER_ROTATE_CW,
191;;   CLUTTER_ROTATE_CCW
192;; } ClutterRotateDirection;
193
194(define-enum-extended RotateDirection
195  (in-module "Clutter")
196  (c-name "ClutterRotateDirection")
197  (values
198    '("cw" "CLUTTER_ROTATE_CW" "0")
199    '("ccw" "CLUTTER_ROTATE_CCW" "1")
200  )
201)
202
203;; Original typedef:
204;; typedef enum { /*< prefix=CLUTTER_REQUEST >*/
205;;   CLUTTER_REQUEST_HEIGHT_FOR_WIDTH,
206;;   CLUTTER_REQUEST_WIDTH_FOR_HEIGHT
207;; } ClutterRequestMode;
208
209(define-enum-extended RequestMode
210  (in-module "Clutter")
211  (c-name "ClutterRequestMode")
212  (values
213    '("height-for-width" "CLUTTER_REQUEST_HEIGHT_FOR_WIDTH" "0")
214    '("width-for-height" "CLUTTER_REQUEST_WIDTH_FOR_HEIGHT" "1")
215  )
216)
217
218;; Original typedef:
219;; typedef enum {
220;;   CLUTTER_CUSTOM_MODE = 0,
221;;
222;;   /* linear */
223;;   CLUTTER_LINEAR,
224;;
225;;   /* quadratic */
226;;   CLUTTER_EASE_IN_QUAD,
227;;   CLUTTER_EASE_OUT_QUAD,
228;;   CLUTTER_EASE_IN_OUT_QUAD,
229;;
230;;   /* cubic */
231;;   CLUTTER_EASE_IN_CUBIC,
232;;   CLUTTER_EASE_OUT_CUBIC,
233;;   CLUTTER_EASE_IN_OUT_CUBIC,
234;;
235;;   /* quartic */
236;;   CLUTTER_EASE_IN_QUART,
237;;   CLUTTER_EASE_OUT_QUART,
238;;   CLUTTER_EASE_IN_OUT_QUART,
239;;
240;;   /* quintic */
241;;   CLUTTER_EASE_IN_QUINT,
242;;   CLUTTER_EASE_OUT_QUINT,
243;;   CLUTTER_EASE_IN_OUT_QUINT,
244;;
245;;   /* sinusoidal */
246;;   CLUTTER_EASE_IN_SINE,
247;;   CLUTTER_EASE_OUT_SINE,
248;;   CLUTTER_EASE_IN_OUT_SINE,
249;;
250;;   /* exponential */
251;;   CLUTTER_EASE_IN_EXPO,
252;;   CLUTTER_EASE_OUT_EXPO,
253;;   CLUTTER_EASE_IN_OUT_EXPO,
254;;
255;;   /* circular */
256;;   CLUTTER_EASE_IN_CIRC,
257;;   CLUTTER_EASE_OUT_CIRC,
258;;   CLUTTER_EASE_IN_OUT_CIRC,
259;;
260;;   /* elastic */
261;;   CLUTTER_EASE_IN_ELASTIC,
262;;   CLUTTER_EASE_OUT_ELASTIC,
263;;   CLUTTER_EASE_IN_OUT_ELASTIC,
264;;
265;;   /* overshooting cubic */
266;;   CLUTTER_EASE_IN_BACK,
267;;   CLUTTER_EASE_OUT_BACK,
268;;   CLUTTER_EASE_IN_OUT_BACK,
269;;
270;;   /* exponentially decaying parabolic */
271;;   CLUTTER_EASE_IN_BOUNCE,
272;;   CLUTTER_EASE_OUT_BOUNCE,
273;;   CLUTTER_EASE_IN_OUT_BOUNCE,
274;;
275;;   /* step functions (see css3-transitions) */
276;;   CLUTTER_STEPS,
277;;   CLUTTER_STEP_START, /* steps(1, start) */
278;;   CLUTTER_STEP_END, /* steps(1, end) */
279;;
280;;   /* cubic bezier (see css3-transitions) */
281;;   CLUTTER_CUBIC_BEZIER,
282;;   CLUTTER_EASE,
283;;   CLUTTER_EASE_IN,
284;;   CLUTTER_EASE_OUT,
285;;   CLUTTER_EASE_IN_OUT,
286;;
287;;   /* guard, before registered alpha functions */
288;;   CLUTTER_ANIMATION_LAST
289;; } ClutterAnimationMode;
290
291(define-enum-extended AnimationMode
292  (in-module "Clutter")
293  (c-name "ClutterAnimationMode")
294  (values
295    '("custom-mode" "CLUTTER_CUSTOM_MODE" "0")
296    '("linear" "CLUTTER_LINEAR" "1")
297    '("ease-in-quad" "CLUTTER_EASE_IN_QUAD" "2")
298    '("ease-out-quad" "CLUTTER_EASE_OUT_QUAD" "3")
299    '("ease-in-out-quad" "CLUTTER_EASE_IN_OUT_QUAD" "4")
300    '("ease-in-cubic" "CLUTTER_EASE_IN_CUBIC" "5")
301    '("ease-out-cubic" "CLUTTER_EASE_OUT_CUBIC" "6")
302    '("ease-in-out-cubic" "CLUTTER_EASE_IN_OUT_CUBIC" "7")
303    '("ease-in-quart" "CLUTTER_EASE_IN_QUART" "8")
304    '("ease-out-quart" "CLUTTER_EASE_OUT_QUART" "9")
305    '("ease-in-out-quart" "CLUTTER_EASE_IN_OUT_QUART" "10")
306    '("ease-in-quint" "CLUTTER_EASE_IN_QUINT" "11")
307    '("ease-out-quint" "CLUTTER_EASE_OUT_QUINT" "12")
308    '("ease-in-out-quint" "CLUTTER_EASE_IN_OUT_QUINT" "13")
309    '("ease-in-sine" "CLUTTER_EASE_IN_SINE" "14")
310    '("ease-out-sine" "CLUTTER_EASE_OUT_SINE" "15")
311    '("ease-in-out-sine" "CLUTTER_EASE_IN_OUT_SINE" "16")
312    '("ease-in-expo" "CLUTTER_EASE_IN_EXPO" "17")
313    '("ease-out-expo" "CLUTTER_EASE_OUT_EXPO" "18")
314    '("ease-in-out-expo" "CLUTTER_EASE_IN_OUT_EXPO" "19")
315    '("ease-in-circ" "CLUTTER_EASE_IN_CIRC" "20")
316    '("ease-out-circ" "CLUTTER_EASE_OUT_CIRC" "21")
317    '("ease-in-out-circ" "CLUTTER_EASE_IN_OUT_CIRC" "22")
318    '("ease-in-elastic" "CLUTTER_EASE_IN_ELASTIC" "23")
319    '("ease-out-elastic" "CLUTTER_EASE_OUT_ELASTIC" "24")
320    '("ease-in-out-elastic" "CLUTTER_EASE_IN_OUT_ELASTIC" "25")
321    '("ease-in-back" "CLUTTER_EASE_IN_BACK" "26")
322    '("ease-out-back" "CLUTTER_EASE_OUT_BACK" "27")
323    '("ease-in-out-back" "CLUTTER_EASE_IN_OUT_BACK" "28")
324    '("ease-in-bounce" "CLUTTER_EASE_IN_BOUNCE" "29")
325    '("ease-out-bounce" "CLUTTER_EASE_OUT_BOUNCE" "30")
326    '("ease-in-out-bounce" "CLUTTER_EASE_IN_OUT_BOUNCE" "31")
327    '("steps" "CLUTTER_STEPS" "32")
328    '("step-start" "CLUTTER_STEP_START" "33")
329    '("step-end" "CLUTTER_STEP_END" "34")
330    '("cubic-bezier" "CLUTTER_CUBIC_BEZIER" "35")
331    '("ease" "CLUTTER_EASE" "36")
332    '("ease-in" "CLUTTER_EASE_IN" "37")
333    '("ease-out" "CLUTTER_EASE_OUT" "38")
334    '("ease-in-out" "CLUTTER_EASE_IN_OUT" "39")
335    '("animation-last" "CLUTTER_ANIMATION_LAST" "40")
336  )
337)
338
339;; Original typedef:
340;; typedef enum { /*< prefix=CLUTTER_FONT >*/
341;;   CLUTTER_FONT_MIPMAPPING = (1 << 0),
342;;   CLUTTER_FONT_HINTING    = (1 << 1)
343;; } ClutterFontFlags;
344
345(define-flags-extended FontFlags
346  (in-module "Clutter")
347  (c-name "ClutterFontFlags")
348  (values
349    '("mipmapping" "CLUTTER_FONT_MIPMAPPING" "(1 << 0)")
350    '("hinting" "CLUTTER_FONT_HINTING" "(1 << 1)")
351  )
352)
353
354;; Original typedef:
355;; typedef enum {
356;;   CLUTTER_TEXT_DIRECTION_DEFAULT,
357;;   CLUTTER_TEXT_DIRECTION_LTR,
358;;   CLUTTER_TEXT_DIRECTION_RTL
359;; } ClutterTextDirection;
360
361(define-enum-extended TextDirection
362  (in-module "Clutter")
363  (c-name "ClutterTextDirection")
364  (values
365    '("default" "CLUTTER_TEXT_DIRECTION_DEFAULT" "0")
366    '("ltr" "CLUTTER_TEXT_DIRECTION_LTR" "1")
367    '("rtl" "CLUTTER_TEXT_DIRECTION_RTL" "2")
368  )
369)
370
371;; Original typedef:
372;; typedef enum {
373;;   CLUTTER_VERTEX_SHADER,
374;;   CLUTTER_FRAGMENT_SHADER
375;; } ClutterShaderType;
376
377(define-enum-extended ShaderType
378  (in-module "Clutter")
379  (c-name "ClutterShaderType")
380  (values
381    '("vertex-shader" "CLUTTER_VERTEX_SHADER" "0")
382    '("fragment-shader" "CLUTTER_FRAGMENT_SHADER" "1")
383  )
384)
385
386;; Original typedef:
387;; typedef enum {
388;;   CLUTTER_SHIFT_MASK    = 1 << 0,
389;;   CLUTTER_LOCK_MASK     = 1 << 1,
390;;   CLUTTER_CONTROL_MASK  = 1 << 2,
391;;   CLUTTER_MOD1_MASK     = 1 << 3,
392;;   CLUTTER_MOD2_MASK     = 1 << 4,
393;;   CLUTTER_MOD3_MASK     = 1 << 5,
394;;   CLUTTER_MOD4_MASK     = 1 << 6,
395;;   CLUTTER_MOD5_MASK     = 1 << 7,
396;;   CLUTTER_BUTTON1_MASK  = 1 << 8,
397;;   CLUTTER_BUTTON2_MASK  = 1 << 9,
398;;   CLUTTER_BUTTON3_MASK  = 1 << 10,
399;;   CLUTTER_BUTTON4_MASK  = 1 << 11,
400;;   CLUTTER_BUTTON5_MASK  = 1 << 12,
401;;
402;; #ifndef __GTK_DOC_IGNORE__
403;;   CLUTTER_MODIFIER_RESERVED_13_MASK  = 1 << 13,
404;;   CLUTTER_MODIFIER_RESERVED_14_MASK  = 1 << 14,
405;;   CLUTTER_MODIFIER_RESERVED_15_MASK  = 1 << 15,
406;;   CLUTTER_MODIFIER_RESERVED_16_MASK  = 1 << 16,
407;;   CLUTTER_MODIFIER_RESERVED_17_MASK  = 1 << 17,
408;;   CLUTTER_MODIFIER_RESERVED_18_MASK  = 1 << 18,
409;;   CLUTTER_MODIFIER_RESERVED_19_MASK  = 1 << 19,
410;;   CLUTTER_MODIFIER_RESERVED_20_MASK  = 1 << 20,
411;;   CLUTTER_MODIFIER_RESERVED_21_MASK  = 1 << 21,
412;;   CLUTTER_MODIFIER_RESERVED_22_MASK  = 1 << 22,
413;;   CLUTTER_MODIFIER_RESERVED_23_MASK  = 1 << 23,
414;;   CLUTTER_MODIFIER_RESERVED_24_MASK  = 1 << 24,
415;;   CLUTTER_MODIFIER_RESERVED_25_MASK  = 1 << 25,
416;; #endif
417;;
418;;   CLUTTER_SUPER_MASK    = 1 << 26,
419;;   CLUTTER_HYPER_MASK    = 1 << 27,
420;;   CLUTTER_META_MASK     = 1 << 28,
421;;
422;; #ifndef __GTK_DOC_IGNORE__
423;;   CLUTTER_MODIFIER_RESERVED_29_MASK  = 1 << 29,
424;; #endif
425;;
426;;   CLUTTER_RELEASE_MASK  = 1 << 30,
427;;
428;;   /* Combination of CLUTTER_SHIFT_MASK..CLUTTER_BUTTON5_MASK + CLUTTER_SUPER_MASK
429;;      + CLUTTER_HYPER_MASK + CLUTTER_META_MASK + CLUTTER_RELEASE_MASK */
430;;   CLUTTER_MODIFIER_MASK = 0x5c001fff
431;; } ClutterModifierType;
432
433(define-flags-extended ModifierType
434  (in-module "Clutter")
435  (c-name "ClutterModifierType")
436  (values
437    '("shift-mask" "CLUTTER_SHIFT_MASK" "1 << 0")
438    '("lock-mask" "CLUTTER_LOCK_MASK" "1 << 1")
439    '("control-mask" "CLUTTER_CONTROL_MASK" "1 << 2")
440    '("mod1-mask" "CLUTTER_MOD1_MASK" "1 << 3")
441    '("mod2-mask" "CLUTTER_MOD2_MASK" "1 << 4")
442    '("mod3-mask" "CLUTTER_MOD3_MASK" "1 << 5")
443    '("mod4-mask" "CLUTTER_MOD4_MASK" "1 << 6")
444    '("mod5-mask" "CLUTTER_MOD5_MASK" "1 << 7")
445    '("button1-mask" "CLUTTER_BUTTON1_MASK" "1 << 8")
446    '("button2-mask" "CLUTTER_BUTTON2_MASK" "1 << 9")
447    '("button3-mask" "CLUTTER_BUTTON3_MASK" "1 << 10")
448    '("button4-mask" "CLUTTER_BUTTON4_MASK" "1 << 11")
449    '("button5-mask" "CLUTTER_BUTTON5_MASK" "1 << 12")
450    '("modifier-reserved-13-mask" "CLUTTER_MODIFIER_RESERVED_13_MASK" "1 << 13")
451    '("modifier-reserved-14-mask" "CLUTTER_MODIFIER_RESERVED_14_MASK" "1 << 14")
452    '("modifier-reserved-15-mask" "CLUTTER_MODIFIER_RESERVED_15_MASK" "1 << 15")
453    '("modifier-reserved-16-mask" "CLUTTER_MODIFIER_RESERVED_16_MASK" "1 << 16")
454    '("modifier-reserved-17-mask" "CLUTTER_MODIFIER_RESERVED_17_MASK" "1 << 17")
455    '("modifier-reserved-18-mask" "CLUTTER_MODIFIER_RESERVED_18_MASK" "1 << 18")
456    '("modifier-reserved-19-mask" "CLUTTER_MODIFIER_RESERVED_19_MASK" "1 << 19")
457    '("modifier-reserved-20-mask" "CLUTTER_MODIFIER_RESERVED_20_MASK" "1 << 20")
458    '("modifier-reserved-21-mask" "CLUTTER_MODIFIER_RESERVED_21_MASK" "1 << 21")
459    '("modifier-reserved-22-mask" "CLUTTER_MODIFIER_RESERVED_22_MASK" "1 << 22")
460    '("modifier-reserved-23-mask" "CLUTTER_MODIFIER_RESERVED_23_MASK" "1 << 23")
461    '("modifier-reserved-24-mask" "CLUTTER_MODIFIER_RESERVED_24_MASK" "1 << 24")
462    '("modifier-reserved-25-mask" "CLUTTER_MODIFIER_RESERVED_25_MASK" "1 << 25")
463    '("super-mask" "CLUTTER_SUPER_MASK" "1 << 26")
464    '("hyper-mask" "CLUTTER_HYPER_MASK" "1 << 27")
465    '("meta-mask" "CLUTTER_META_MASK" "1 << 28")
466    '("modifier-reserved-29-mask" "CLUTTER_MODIFIER_RESERVED_29_MASK" "1 << 29")
467    '("release-mask" "CLUTTER_RELEASE_MASK" "1 << 30")
468    '("modifier-mask" "CLUTTER_MODIFIER_MASK" "0x5c001fff")
469  )
470)
471
472;; Original typedef:
473;; typedef enum { /*< prefix=CLUTTER_ACTOR >*/
474;;   CLUTTER_ACTOR_MAPPED    = 1 << 1,
475;;   CLUTTER_ACTOR_REALIZED  = 1 << 2,
476;;   CLUTTER_ACTOR_REACTIVE  = 1 << 3,
477;;   CLUTTER_ACTOR_VISIBLE   = 1 << 4,
478;;   CLUTTER_ACTOR_NO_LAYOUT = 1 << 5
479;; } ClutterActorFlags;
480
481(define-flags-extended ActorFlags
482  (in-module "Clutter")
483  (c-name "ClutterActorFlags")
484  (values
485    '("mapped" "CLUTTER_ACTOR_MAPPED" "1 << 1")
486    '("realized" "CLUTTER_ACTOR_REALIZED" "1 << 2")
487    '("reactive" "CLUTTER_ACTOR_REACTIVE" "1 << 3")
488    '("visible" "CLUTTER_ACTOR_VISIBLE" "1 << 4")
489    '("no-layout" "CLUTTER_ACTOR_NO_LAYOUT" "1 << 5")
490  )
491)
492
493;; Original typedef:
494;; typedef enum { /*< prefix=CLUTTER_OFFSCREEN_REDIRECT >*/
495;;   CLUTTER_OFFSCREEN_REDIRECT_AUTOMATIC_FOR_OPACITY = 1<<0,
496;;   CLUTTER_OFFSCREEN_REDIRECT_ALWAYS = 1<<1
497;; } ClutterOffscreenRedirect;
498
499(define-flags-extended OffscreenRedirect
500  (in-module "Clutter")
501  (c-name "ClutterOffscreenRedirect")
502  (values
503    '("automatic-for-opacity" "CLUTTER_OFFSCREEN_REDIRECT_AUTOMATIC_FOR_OPACITY" "1<<0")
504    '("always" "CLUTTER_OFFSCREEN_REDIRECT_ALWAYS" "1<<1")
505  )
506)
507
508;; Original typedef:
509;; typedef enum {
510;;   CLUTTER_ALLOCATION_NONE         = 0,
511;;   CLUTTER_ABSOLUTE_ORIGIN_CHANGED = 1 << 1,
512;;   CLUTTER_DELEGATE_LAYOUT         = 1 << 2
513;; } ClutterAllocationFlags;
514
515(define-flags-extended AllocationFlags
516  (in-module "Clutter")
517  (c-name "ClutterAllocationFlags")
518  (values
519    '("allocation-none" "CLUTTER_ALLOCATION_NONE" "0x0")
520    '("absolute-origin-changed" "CLUTTER_ABSOLUTE_ORIGIN_CHANGED" "1 << 1")
521    '("delegate-layout" "CLUTTER_DELEGATE_LAYOUT" "1 << 2")
522  )
523)
524
525;; Original typedef:
526;; typedef enum { /*< prefix=CLUTTER_ALIGN >*/
527;;   CLUTTER_ALIGN_X_AXIS,
528;;   CLUTTER_ALIGN_Y_AXIS,
529;;   CLUTTER_ALIGN_BOTH
530;; } ClutterAlignAxis;
531
532(define-enum-extended AlignAxis
533  (in-module "Clutter")
534  (c-name "ClutterAlignAxis")
535  (values
536    '("x-axis" "CLUTTER_ALIGN_X_AXIS" "0")
537    '("y-axis" "CLUTTER_ALIGN_Y_AXIS" "1")
538    '("both" "CLUTTER_ALIGN_BOTH" "2")
539  )
540)
541
542;; Original typedef:
543;; typedef enum {
544;;   CLUTTER_INTERPOLATION_LINEAR,
545;;   CLUTTER_INTERPOLATION_CUBIC
546;; } ClutterInterpolation;
547
548(define-enum-extended Interpolation
549  (in-module "Clutter")
550  (c-name "ClutterInterpolation")
551  (values
552    '("linear" "CLUTTER_INTERPOLATION_LINEAR" "0")
553    '("cubic" "CLUTTER_INTERPOLATION_CUBIC" "1")
554  )
555)
556
557;; Original typedef:
558;; typedef enum {
559;;   CLUTTER_BIN_ALIGNMENT_FIXED,
560;;   CLUTTER_BIN_ALIGNMENT_FILL,
561;;   CLUTTER_BIN_ALIGNMENT_START,
562;;   CLUTTER_BIN_ALIGNMENT_END,
563;;   CLUTTER_BIN_ALIGNMENT_CENTER
564;; } ClutterBinAlignment;
565
566(define-enum-extended BinAlignment
567  (in-module "Clutter")
568  (c-name "ClutterBinAlignment")
569  (values
570    '("fixed" "CLUTTER_BIN_ALIGNMENT_FIXED" "0")
571    '("fill" "CLUTTER_BIN_ALIGNMENT_FILL" "1")
572    '("start" "CLUTTER_BIN_ALIGNMENT_START" "2")
573    '("end" "CLUTTER_BIN_ALIGNMENT_END" "3")
574    '("center" "CLUTTER_BIN_ALIGNMENT_CENTER" "4")
575  )
576)
577
578;; Original typedef:
579;; typedef enum { /*< prefix=CLUTTER_BIND >*/
580;;   CLUTTER_BIND_X,
581;;   CLUTTER_BIND_Y,
582;;   CLUTTER_BIND_WIDTH,
583;;   CLUTTER_BIND_HEIGHT,
584;;   CLUTTER_BIND_POSITION,
585;;   CLUTTER_BIND_SIZE,
586;;   CLUTTER_BIND_ALL
587;; } ClutterBindCoordinate;
588
589(define-enum-extended BindCoordinate
590  (in-module "Clutter")
591  (c-name "ClutterBindCoordinate")
592  (values
593    '("x" "CLUTTER_BIND_X" "0")
594    '("y" "CLUTTER_BIND_Y" "1")
595    '("width" "CLUTTER_BIND_WIDTH" "2")
596    '("height" "CLUTTER_BIND_HEIGHT" "3")
597    '("position" "CLUTTER_BIND_POSITION" "4")
598    '("size" "CLUTTER_BIND_SIZE" "5")
599    '("all" "CLUTTER_BIND_ALL" "6")
600  )
601)
602
603;; Original typedef:
604;; typedef enum { /*< prefix=CLUTTER_EFFECT_PAINT >*/
605;;   CLUTTER_EFFECT_PAINT_ACTOR_DIRTY = (1 << 0)
606;; } ClutterEffectPaintFlags;
607
608(define-flags-extended EffectPaintFlags
609  (in-module "Clutter")
610  (c-name "ClutterEffectPaintFlags")
611  (values
612    '("actor-dirty" "CLUTTER_EFFECT_PAINT_ACTOR_DIRTY" "(1 << 0)")
613  )
614)
615
616;; Original typedef:
617;; typedef enum {
618;;   CLUTTER_BOX_ALIGNMENT_START,
619;;   CLUTTER_BOX_ALIGNMENT_END,
620;;   CLUTTER_BOX_ALIGNMENT_CENTER
621;; } ClutterBoxAlignment;
622
623(define-enum-extended BoxAlignment
624  (in-module "Clutter")
625  (c-name "ClutterBoxAlignment")
626  (values
627    '("start" "CLUTTER_BOX_ALIGNMENT_START" "0")
628    '("end" "CLUTTER_BOX_ALIGNMENT_END" "1")
629    '("center" "CLUTTER_BOX_ALIGNMENT_CENTER" "2")
630  )
631)
632
633;; Original typedef:
634;; typedef enum { /*< prefix=CLUTTER_LONG_PRESS >*/
635;;   CLUTTER_LONG_PRESS_QUERY,
636;;   CLUTTER_LONG_PRESS_ACTIVATE,
637;;   CLUTTER_LONG_PRESS_CANCEL
638;; } ClutterLongPressState;
639
640(define-enum-extended LongPressState
641  (in-module "Clutter")
642  (c-name "ClutterLongPressState")
643  (values
644    '("query" "CLUTTER_LONG_PRESS_QUERY" "0")
645    '("activate" "CLUTTER_LONG_PRESS_ACTIVATE" "1")
646    '("cancel" "CLUTTER_LONG_PRESS_CANCEL" "2")
647  )
648)
649
650;; Original typedef:
651;; typedef enum { /*< prefix=CLUTTER_COLOR >*/
652;;   /* CGA/EGA-like palette */
653;;   CLUTTER_COLOR_WHITE           = 0,
654;;   CLUTTER_COLOR_BLACK,
655;;   CLUTTER_COLOR_RED,
656;;   CLUTTER_COLOR_DARK_RED,
657;;   CLUTTER_COLOR_GREEN,
658;;   CLUTTER_COLOR_DARK_GREEN,
659;;   CLUTTER_COLOR_BLUE,
660;;   CLUTTER_COLOR_DARK_BLUE,
661;;   CLUTTER_COLOR_CYAN,
662;;   CLUTTER_COLOR_DARK_CYAN,
663;;   CLUTTER_COLOR_MAGENTA,
664;;   CLUTTER_COLOR_DARK_MAGENTA,
665;;   CLUTTER_COLOR_YELLOW,
666;;   CLUTTER_COLOR_DARK_YELLOW,
667;;   CLUTTER_COLOR_GRAY,
668;;   CLUTTER_COLOR_DARK_GRAY,
669;;   CLUTTER_COLOR_LIGHT_GRAY,
670;;
671;;   /* Tango icon palette */
672;;   CLUTTER_COLOR_BUTTER,
673;;   CLUTTER_COLOR_BUTTER_LIGHT,
674;;   CLUTTER_COLOR_BUTTER_DARK,
675;;   CLUTTER_COLOR_ORANGE,
676;;   CLUTTER_COLOR_ORANGE_LIGHT,
677;;   CLUTTER_COLOR_ORANGE_DARK,
678;;   CLUTTER_COLOR_CHOCOLATE,
679;;   CLUTTER_COLOR_CHOCOLATE_LIGHT,
680;;   CLUTTER_COLOR_CHOCOLATE_DARK,
681;;   CLUTTER_COLOR_CHAMELEON,
682;;   CLUTTER_COLOR_CHAMELEON_LIGHT,
683;;   CLUTTER_COLOR_CHAMELEON_DARK,
684;;   CLUTTER_COLOR_SKY_BLUE,
685;;   CLUTTER_COLOR_SKY_BLUE_LIGHT,
686;;   CLUTTER_COLOR_SKY_BLUE_DARK,
687;;   CLUTTER_COLOR_PLUM,
688;;   CLUTTER_COLOR_PLUM_LIGHT,
689;;   CLUTTER_COLOR_PLUM_DARK,
690;;   CLUTTER_COLOR_SCARLET_RED,
691;;   CLUTTER_COLOR_SCARLET_RED_LIGHT,
692;;   CLUTTER_COLOR_SCARLET_RED_DARK,
693;;   CLUTTER_COLOR_ALUMINIUM_1,
694;;   CLUTTER_COLOR_ALUMINIUM_2,
695;;   CLUTTER_COLOR_ALUMINIUM_3,
696;;   CLUTTER_COLOR_ALUMINIUM_4,
697;;   CLUTTER_COLOR_ALUMINIUM_5,
698;;   CLUTTER_COLOR_ALUMINIUM_6,
699;;
700;;   /* Fully transparent black */
701;;   CLUTTER_COLOR_TRANSPARENT
702;; } ClutterStaticColor;
703
704(define-enum-extended StaticColor
705  (in-module "Clutter")
706  (c-name "ClutterStaticColor")
707  (values
708    '("white" "CLUTTER_COLOR_WHITE" "0")
709    '("black" "CLUTTER_COLOR_BLACK" "1")
710    '("red" "CLUTTER_COLOR_RED" "2")
711    '("dark-red" "CLUTTER_COLOR_DARK_RED" "3")
712    '("green" "CLUTTER_COLOR_GREEN" "4")
713    '("dark-green" "CLUTTER_COLOR_DARK_GREEN" "5")
714    '("blue" "CLUTTER_COLOR_BLUE" "6")
715    '("dark-blue" "CLUTTER_COLOR_DARK_BLUE" "7")
716    '("cyan" "CLUTTER_COLOR_CYAN" "8")
717    '("dark-cyan" "CLUTTER_COLOR_DARK_CYAN" "9")
718    '("magenta" "CLUTTER_COLOR_MAGENTA" "10")
719    '("dark-magenta" "CLUTTER_COLOR_DARK_MAGENTA" "11")
720    '("yellow" "CLUTTER_COLOR_YELLOW" "12")
721    '("dark-yellow" "CLUTTER_COLOR_DARK_YELLOW" "13")
722    '("gray" "CLUTTER_COLOR_GRAY" "14")
723    '("dark-gray" "CLUTTER_COLOR_DARK_GRAY" "15")
724    '("light-gray" "CLUTTER_COLOR_LIGHT_GRAY" "16")
725    '("butter" "CLUTTER_COLOR_BUTTER" "17")
726    '("butter-light" "CLUTTER_COLOR_BUTTER_LIGHT" "18")
727    '("butter-dark" "CLUTTER_COLOR_BUTTER_DARK" "19")
728    '("orange" "CLUTTER_COLOR_ORANGE" "20")
729    '("orange-light" "CLUTTER_COLOR_ORANGE_LIGHT" "21")
730    '("orange-dark" "CLUTTER_COLOR_ORANGE_DARK" "22")
731    '("chocolate" "CLUTTER_COLOR_CHOCOLATE" "23")
732    '("chocolate-light" "CLUTTER_COLOR_CHOCOLATE_LIGHT" "24")
733    '("chocolate-dark" "CLUTTER_COLOR_CHOCOLATE_DARK" "25")
734    '("chameleon" "CLUTTER_COLOR_CHAMELEON" "26")
735    '("chameleon-light" "CLUTTER_COLOR_CHAMELEON_LIGHT" "27")
736    '("chameleon-dark" "CLUTTER_COLOR_CHAMELEON_DARK" "28")
737    '("sky-blue" "CLUTTER_COLOR_SKY_BLUE" "29")
738    '("sky-blue-light" "CLUTTER_COLOR_SKY_BLUE_LIGHT" "30")
739    '("sky-blue-dark" "CLUTTER_COLOR_SKY_BLUE_DARK" "31")
740    '("plum" "CLUTTER_COLOR_PLUM" "32")
741    '("plum-light" "CLUTTER_COLOR_PLUM_LIGHT" "33")
742    '("plum-dark" "CLUTTER_COLOR_PLUM_DARK" "34")
743    '("scarlet-red" "CLUTTER_COLOR_SCARLET_RED" "35")
744    '("scarlet-red-light" "CLUTTER_COLOR_SCARLET_RED_LIGHT" "36")
745    '("scarlet-red-dark" "CLUTTER_COLOR_SCARLET_RED_DARK" "37")
746    '("aluminium-1" "CLUTTER_COLOR_ALUMINIUM_1" "38")
747    '("aluminium-2" "CLUTTER_COLOR_ALUMINIUM_2" "39")
748    '("aluminium-3" "CLUTTER_COLOR_ALUMINIUM_3" "40")
749    '("aluminium-4" "CLUTTER_COLOR_ALUMINIUM_4" "41")
750    '("aluminium-5" "CLUTTER_COLOR_ALUMINIUM_5" "42")
751    '("aluminium-6" "CLUTTER_COLOR_ALUMINIUM_6" "43")
752    '("transparent" "CLUTTER_COLOR_TRANSPARENT" "44")
753  )
754)
755
756;; Original typedef:
757;; typedef enum { /*< prefix=CLUTTER_DRAG >*/
758;;   CLUTTER_DRAG_AXIS_NONE = 0,
759;;
760;;   CLUTTER_DRAG_X_AXIS,
761;;   CLUTTER_DRAG_Y_AXIS
762;; } ClutterDragAxis;
763
764(define-enum-extended DragAxis
765  (in-module "Clutter")
766  (c-name "ClutterDragAxis")
767  (values
768    '("axis-none" "CLUTTER_DRAG_AXIS_NONE" "0")
769    '("x-axis" "CLUTTER_DRAG_X_AXIS" "1")
770    '("y-axis" "CLUTTER_DRAG_Y_AXIS" "2")
771  )
772)
773
774;; Original typedef:
775;; typedef enum { /*< flags prefix=CLUTTER_EVENT >*/
776;;   CLUTTER_EVENT_NONE           = 0,
777;;   CLUTTER_EVENT_FLAG_SYNTHETIC = 1 << 0
778;; } ClutterEventFlags;
779
780(define-flags-extended EventFlags
781  (in-module "Clutter")
782  (c-name "ClutterEventFlags")
783  (values
784    '("none" "CLUTTER_EVENT_NONE" "0x0")
785    '("flag-synthetic" "CLUTTER_EVENT_FLAG_SYNTHETIC" "1 << 0")
786  )
787)
788
789;; Original typedef:
790;; typedef enum { /*< prefix=CLUTTER >*/
791;;   CLUTTER_NOTHING = 0,
792;;   CLUTTER_KEY_PRESS,
793;;   CLUTTER_KEY_RELEASE,
794;;   CLUTTER_MOTION,
795;;   CLUTTER_ENTER,
796;;   CLUTTER_LEAVE,
797;;   CLUTTER_BUTTON_PRESS,
798;;   CLUTTER_BUTTON_RELEASE,
799;;   CLUTTER_SCROLL,
800;;   CLUTTER_STAGE_STATE,
801;;   CLUTTER_DESTROY_NOTIFY,
802;;   CLUTTER_CLIENT_MESSAGE,
803;;   CLUTTER_DELETE,
804;;   CLUTTER_TOUCH_BEGIN,
805;;   CLUTTER_TOUCH_UPDATE,
806;;   CLUTTER_TOUCH_END,
807;;   CLUTTER_TOUCH_CANCEL,
808;;
809;;   CLUTTER_EVENT_LAST            /* helper */
810;; } ClutterEventType;
811
812(define-enum-extended EventType
813  (in-module "Clutter")
814  (c-name "ClutterEventType")
815  (values
816    '("nothing" "CLUTTER_NOTHING" "0")
817    '("key-press" "CLUTTER_KEY_PRESS" "1")
818    '("key-release" "CLUTTER_KEY_RELEASE" "2")
819    '("motion" "CLUTTER_MOTION" "3")
820    '("enter" "CLUTTER_ENTER" "4")
821    '("leave" "CLUTTER_LEAVE" "5")
822    '("button-press" "CLUTTER_BUTTON_PRESS" "6")
823    '("button-release" "CLUTTER_BUTTON_RELEASE" "7")
824    '("scroll" "CLUTTER_SCROLL" "8")
825    '("stage-state" "CLUTTER_STAGE_STATE" "9")
826    '("destroy-notify" "CLUTTER_DESTROY_NOTIFY" "10")
827    '("client-message" "CLUTTER_CLIENT_MESSAGE" "11")
828    '("delete" "CLUTTER_DELETE" "12")
829    '("touch-begin" "CLUTTER_TOUCH_BEGIN" "13")
830    '("touch-update" "CLUTTER_TOUCH_UPDATE" "14")
831    '("touch-end" "CLUTTER_TOUCH_END" "15")
832    '("touch-cancel" "CLUTTER_TOUCH_CANCEL" "16")
833    '("event-last" "CLUTTER_EVENT_LAST" "17")
834  )
835)
836
837;; Original typedef:
838;; typedef enum { /*< prefix=CLUTTER_SCROLL >*/
839;;   CLUTTER_SCROLL_UP,
840;;   CLUTTER_SCROLL_DOWN,
841;;   CLUTTER_SCROLL_LEFT,
842;;   CLUTTER_SCROLL_RIGHT,
843;;   CLUTTER_SCROLL_SMOOTH
844;; } ClutterScrollDirection;
845
846(define-enum-extended ScrollDirection
847  (in-module "Clutter")
848  (c-name "ClutterScrollDirection")
849  (values
850    '("up" "CLUTTER_SCROLL_UP" "0")
851    '("down" "CLUTTER_SCROLL_DOWN" "1")
852    '("left" "CLUTTER_SCROLL_LEFT" "2")
853    '("right" "CLUTTER_SCROLL_RIGHT" "3")
854    '("smooth" "CLUTTER_SCROLL_SMOOTH" "4")
855  )
856)
857
858;; Original typedef:
859;; typedef enum {
860;;   CLUTTER_STAGE_STATE_FULLSCREEN       = (1 << 1),
861;;   CLUTTER_STAGE_STATE_OFFSCREEN        = (1 << 2),
862;;   CLUTTER_STAGE_STATE_ACTIVATED        = (1 << 3)
863;; } ClutterStageState;
864
865(define-flags-extended StageState
866  (in-module "Clutter")
867  (c-name "ClutterStageState")
868  (values
869    '("fullscreen" "CLUTTER_STAGE_STATE_FULLSCREEN" "(1 << 1)")
870    '("offscreen" "CLUTTER_STAGE_STATE_OFFSCREEN" "(1 << 2)")
871    '("activated" "CLUTTER_STAGE_STATE_ACTIVATED" "(1 << 3)")
872  )
873)
874
875;; Original typedef:
876;; typedef enum
877;; {
878;;   CLUTTER_FEATURE_TEXTURE_NPOT           = (1 << 2),
879;;   CLUTTER_FEATURE_SYNC_TO_VBLANK         = (1 << 3),
880;;   CLUTTER_FEATURE_TEXTURE_YUV            = (1 << 4),
881;;   CLUTTER_FEATURE_TEXTURE_READ_PIXELS    = (1 << 5),
882;;   CLUTTER_FEATURE_STAGE_STATIC           = (1 << 6),
883;;   CLUTTER_FEATURE_STAGE_USER_RESIZE      = (1 << 7),
884;;   CLUTTER_FEATURE_STAGE_CURSOR           = (1 << 8),
885;;   CLUTTER_FEATURE_SHADERS_GLSL           = (1 << 9),
886;;   CLUTTER_FEATURE_OFFSCREEN              = (1 << 10),
887;;   CLUTTER_FEATURE_STAGE_MULTIPLE         = (1 << 11),
888;;   CLUTTER_FEATURE_SWAP_EVENTS            = (1 << 12)
889;; } ClutterFeatureFlags;
890
891(define-flags-extended FeatureFlags
892  (in-module "Clutter")
893  (c-name "ClutterFeatureFlags")
894  (values
895    '("texture-npot" "CLUTTER_FEATURE_TEXTURE_NPOT" "(1 << 2)")
896    '("sync-to-vblank" "CLUTTER_FEATURE_SYNC_TO_VBLANK" "(1 << 3)")
897    '("texture-yuv" "CLUTTER_FEATURE_TEXTURE_YUV" "(1 << 4)")
898    '("texture-read-pixels" "CLUTTER_FEATURE_TEXTURE_READ_PIXELS" "(1 << 5)")
899    '("stage-static" "CLUTTER_FEATURE_STAGE_STATIC" "(1 << 6)")
900    '("stage-user-resize" "CLUTTER_FEATURE_STAGE_USER_RESIZE" "(1 << 7)")
901    '("stage-cursor" "CLUTTER_FEATURE_STAGE_CURSOR" "(1 << 8)")
902    '("shaders-glsl" "CLUTTER_FEATURE_SHADERS_GLSL" "(1 << 9)")
903    '("offscreen" "CLUTTER_FEATURE_OFFSCREEN" "(1 << 10)")
904    '("stage-multiple" "CLUTTER_FEATURE_STAGE_MULTIPLE" "(1 << 11)")
905    '("swap-events" "CLUTTER_FEATURE_SWAP_EVENTS" "(1 << 12)")
906  )
907)
908
909;; Original typedef:
910;; typedef enum { /*< prefix=CLUTTER_FLOW >*/
911;;   CLUTTER_FLOW_HORIZONTAL,
912;;   CLUTTER_FLOW_VERTICAL
913;; } ClutterFlowOrientation;
914
915(define-enum-extended FlowOrientation
916  (in-module "Clutter")
917  (c-name "ClutterFlowOrientation")
918  (values
919    '("horizontal" "CLUTTER_FLOW_HORIZONTAL" "0")
920    '("vertical" "CLUTTER_FLOW_VERTICAL" "1")
921  )
922)
923
924;; Original typedef:
925;; typedef enum {
926;;   CLUTTER_POINTER_DEVICE,
927;;   CLUTTER_KEYBOARD_DEVICE,
928;;   CLUTTER_EXTENSION_DEVICE,
929;;   CLUTTER_JOYSTICK_DEVICE,
930;;   CLUTTER_TABLET_DEVICE,
931;;   CLUTTER_TOUCHPAD_DEVICE,
932;;   CLUTTER_TOUCHSCREEN_DEVICE,
933;;   CLUTTER_PEN_DEVICE,
934;;   CLUTTER_ERASER_DEVICE,
935;;   CLUTTER_CURSOR_DEVICE,
936;;
937;;   CLUTTER_N_DEVICE_TYPES
938;; } ClutterInputDeviceType;
939
940(define-enum-extended InputDeviceType
941  (in-module "Clutter")
942  (c-name "ClutterInputDeviceType")
943  (values
944    '("pointer-device" "CLUTTER_POINTER_DEVICE" "0")
945    '("keyboard-device" "CLUTTER_KEYBOARD_DEVICE" "1")
946    '("extension-device" "CLUTTER_EXTENSION_DEVICE" "2")
947    '("joystick-device" "CLUTTER_JOYSTICK_DEVICE" "3")
948    '("tablet-device" "CLUTTER_TABLET_DEVICE" "4")
949    '("touchpad-device" "CLUTTER_TOUCHPAD_DEVICE" "5")
950    '("touchscreen-device" "CLUTTER_TOUCHSCREEN_DEVICE" "6")
951    '("pen-device" "CLUTTER_PEN_DEVICE" "7")
952    '("eraser-device" "CLUTTER_ERASER_DEVICE" "8")
953    '("cursor-device" "CLUTTER_CURSOR_DEVICE" "9")
954    '("n-device-types" "CLUTTER_N_DEVICE_TYPES" "10")
955  )
956)
957
958;; Original typedef:
959;; typedef enum {
960;;   CLUTTER_INPUT_MODE_MASTER,
961;;   CLUTTER_INPUT_MODE_SLAVE,
962;;   CLUTTER_INPUT_MODE_FLOATING
963;; } ClutterInputMode;
964
965(define-enum-extended InputMode
966  (in-module "Clutter")
967  (c-name "ClutterInputMode")
968  (values
969    '("master" "CLUTTER_INPUT_MODE_MASTER" "0")
970    '("slave" "CLUTTER_INPUT_MODE_SLAVE" "1")
971    '("floating" "CLUTTER_INPUT_MODE_FLOATING" "2")
972  )
973)
974
975;; Original typedef:
976;; typedef enum {
977;;   CLUTTER_INPUT_AXIS_IGNORE,
978;;
979;;   CLUTTER_INPUT_AXIS_X,
980;;   CLUTTER_INPUT_AXIS_Y,
981;;   CLUTTER_INPUT_AXIS_PRESSURE,
982;;   CLUTTER_INPUT_AXIS_XTILT,
983;;   CLUTTER_INPUT_AXIS_YTILT,
984;;   CLUTTER_INPUT_AXIS_WHEEL,
985;;   CLUTTER_INPUT_AXIS_DISTANCE,
986;;
987;;   CLUTTER_INPUT_AXIS_LAST
988;; } ClutterInputAxis;
989
990(define-enum-extended InputAxis
991  (in-module "Clutter")
992  (c-name "ClutterInputAxis")
993  (values
994    '("ignore" "CLUTTER_INPUT_AXIS_IGNORE" "0")
995    '("x" "CLUTTER_INPUT_AXIS_X" "1")
996    '("y" "CLUTTER_INPUT_AXIS_Y" "2")
997    '("pressure" "CLUTTER_INPUT_AXIS_PRESSURE" "3")
998    '("xtilt" "CLUTTER_INPUT_AXIS_XTILT" "4")
999    '("ytilt" "CLUTTER_INPUT_AXIS_YTILT" "5")
1000    '("wheel" "CLUTTER_INPUT_AXIS_WHEEL" "6")
1001    '("distance" "CLUTTER_INPUT_AXIS_DISTANCE" "7")
1002    '("last" "CLUTTER_INPUT_AXIS_LAST" "8")
1003  )
1004)
1005
1006;; Original typedef:
1007;; typedef enum {
1008;;   CLUTTER_SNAP_EDGE_TOP,
1009;;   CLUTTER_SNAP_EDGE_RIGHT,
1010;;   CLUTTER_SNAP_EDGE_BOTTOM,
1011;;   CLUTTER_SNAP_EDGE_LEFT
1012;; } ClutterSnapEdge;
1013
1014(define-enum-extended SnapEdge
1015  (in-module "Clutter")
1016  (c-name "ClutterSnapEdge")
1017  (values
1018    '("top" "CLUTTER_SNAP_EDGE_TOP" "0")
1019    '("right" "CLUTTER_SNAP_EDGE_RIGHT" "1")
1020    '("bottom" "CLUTTER_SNAP_EDGE_BOTTOM" "2")
1021    '("left" "CLUTTER_SNAP_EDGE_LEFT" "3")
1022  )
1023)
1024
1025;; Original typedef:
1026;; typedef enum {
1027;;   CLUTTER_PICK_NONE = 0,
1028;;   CLUTTER_PICK_REACTIVE,
1029;;   CLUTTER_PICK_ALL
1030;; } ClutterPickMode;
1031
1032(define-enum-extended PickMode
1033  (in-module "Clutter")
1034  (c-name "ClutterPickMode")
1035  (values
1036    '("none" "CLUTTER_PICK_NONE" "0")
1037    '("reactive" "CLUTTER_PICK_REACTIVE" "1")
1038    '("all" "CLUTTER_PICK_ALL" "2")
1039  )
1040)
1041
1042;; Original typedef:
1043;; typedef enum { /*< prefix=CLUTTER_SWIPE_DIRECTION >*/
1044;;   CLUTTER_SWIPE_DIRECTION_UP    = 1 << 0,
1045;;   CLUTTER_SWIPE_DIRECTION_DOWN  = 1 << 1,
1046;;   CLUTTER_SWIPE_DIRECTION_LEFT  = 1 << 2,
1047;;   CLUTTER_SWIPE_DIRECTION_RIGHT = 1 << 3
1048;; } ClutterSwipeDirection;
1049
1050(define-flags-extended SwipeDirection
1051  (in-module "Clutter")
1052  (c-name "ClutterSwipeDirection")
1053  (values
1054    '("up" "CLUTTER_SWIPE_DIRECTION_UP" "1 << 0")
1055    '("down" "CLUTTER_SWIPE_DIRECTION_DOWN" "1 << 1")
1056    '("left" "CLUTTER_SWIPE_DIRECTION_LEFT" "1 << 2")
1057    '("right" "CLUTTER_SWIPE_DIRECTION_RIGHT" "1 << 3")
1058  )
1059)
1060
1061;; Original typedef:
1062;; typedef enum { /*< prefix=CLUTTER_PAN >*/
1063;;   CLUTTER_PAN_AXIS_NONE = 0,
1064;;
1065;;   CLUTTER_PAN_X_AXIS,
1066;;   CLUTTER_PAN_Y_AXIS
1067;; } ClutterPanAxis;
1068
1069(define-enum-extended PanAxis
1070  (in-module "Clutter")
1071  (c-name "ClutterPanAxis")
1072  (values
1073    '("axis-none" "CLUTTER_PAN_AXIS_NONE" "0")
1074    '("x-axis" "CLUTTER_PAN_X_AXIS" "1")
1075    '("y-axis" "CLUTTER_PAN_Y_AXIS" "2")
1076  )
1077)
1078
1079;; Original typedef:
1080;; typedef enum {
1081;;   CLUTTER_TABLE_ALIGNMENT_START,
1082;;   CLUTTER_TABLE_ALIGNMENT_CENTER,
1083;;   CLUTTER_TABLE_ALIGNMENT_END
1084;; } ClutterTableAlignment;
1085
1086(define-enum-extended TableAlignment
1087  (in-module "Clutter")
1088  (c-name "ClutterTableAlignment")
1089  (values
1090    '("start" "CLUTTER_TABLE_ALIGNMENT_START" "0")
1091    '("center" "CLUTTER_TABLE_ALIGNMENT_CENTER" "1")
1092    '("end" "CLUTTER_TABLE_ALIGNMENT_END" "2")
1093  )
1094)
1095
1096;; Original typedef:
1097;; typedef enum { /*< prefix=CLUTTER_TEXTURE >*/
1098;;   CLUTTER_TEXTURE_NONE             = 0,
1099;;   CLUTTER_TEXTURE_RGB_FLAG_BGR     = 1 << 1,
1100;;   CLUTTER_TEXTURE_RGB_FLAG_PREMULT = 1 << 2, /* FIXME: not handled */
1101;;   CLUTTER_TEXTURE_YUV_FLAG_YUV2    = 1 << 3
1102;;
1103;;   /* FIXME: add compressed types ? */
1104;; } ClutterTextureFlags;
1105
1106(define-flags-extended TextureFlags
1107  (in-module "Clutter")
1108  (c-name "ClutterTextureFlags")
1109  (values
1110    '("none" "CLUTTER_TEXTURE_NONE" "0x0")
1111    '("rgb-flag-bgr" "CLUTTER_TEXTURE_RGB_FLAG_BGR" "1 << 1")
1112    '("rgb-flag-premult" "CLUTTER_TEXTURE_RGB_FLAG_PREMULT" "1 << 2")
1113    '("yuv-flag-yuv2" "CLUTTER_TEXTURE_YUV_FLAG_YUV2" "1 << 3")
1114  )
1115)
1116
1117;; Original typedef:
1118;; typedef enum { /*< prefix=CLUTTER_TEXTURE_QUALITY >*/
1119;;   CLUTTER_TEXTURE_QUALITY_LOW,
1120;;   CLUTTER_TEXTURE_QUALITY_MEDIUM,
1121;;   CLUTTER_TEXTURE_QUALITY_HIGH
1122;; } ClutterTextureQuality;
1123
1124(define-enum-extended TextureQuality
1125  (in-module "Clutter")
1126  (c-name "ClutterTextureQuality")
1127  (values
1128    '("low" "CLUTTER_TEXTURE_QUALITY_LOW" "0")
1129    '("medium" "CLUTTER_TEXTURE_QUALITY_MEDIUM" "1")
1130    '("high" "CLUTTER_TEXTURE_QUALITY_HIGH" "2")
1131  )
1132)
1133
1134;; Original typedef:
1135;; typedef enum {
1136;;   CLUTTER_TIMELINE_FORWARD,
1137;;   CLUTTER_TIMELINE_BACKWARD
1138;; } ClutterTimelineDirection;
1139
1140(define-enum-extended TimelineDirection
1141  (in-module "Clutter")
1142  (c-name "ClutterTimelineDirection")
1143  (values
1144    '("forward" "CLUTTER_TIMELINE_FORWARD" "0")
1145    '("backward" "CLUTTER_TIMELINE_BACKWARD" "1")
1146  )
1147)
1148
1149;; Original typedef:
1150;; typedef enum { /*< prefix=CLUTTER_UNIT >*/
1151;;   CLUTTER_UNIT_PIXEL,
1152;;   CLUTTER_UNIT_EM,
1153;;   CLUTTER_UNIT_MM,
1154;;   CLUTTER_UNIT_POINT,
1155;;   CLUTTER_UNIT_CM
1156;; } ClutterUnitType;
1157
1158(define-enum-extended UnitType
1159  (in-module "Clutter")
1160  (c-name "ClutterUnitType")
1161  (values
1162    '("pixel" "CLUTTER_UNIT_PIXEL" "0")
1163    '("em" "CLUTTER_UNIT_EM" "1")
1164    '("mm" "CLUTTER_UNIT_MM" "2")
1165    '("point" "CLUTTER_UNIT_POINT" "3")
1166    '("cm" "CLUTTER_UNIT_CM" "4")
1167  )
1168)
1169
1170;; Original typedef:
1171;; typedef enum {
1172;;   CLUTTER_PATH_MOVE_TO      = 0,
1173;;   CLUTTER_PATH_LINE_TO      = 1,
1174;;   CLUTTER_PATH_CURVE_TO     = 2,
1175;;   CLUTTER_PATH_CLOSE        = 3,
1176;;
1177;;   CLUTTER_PATH_REL_MOVE_TO  = CLUTTER_PATH_MOVE_TO | CLUTTER_PATH_RELATIVE,
1178;;   CLUTTER_PATH_REL_LINE_TO  = CLUTTER_PATH_LINE_TO | CLUTTER_PATH_RELATIVE,
1179;;   CLUTTER_PATH_REL_CURVE_TO = CLUTTER_PATH_CURVE_TO | CLUTTER_PATH_RELATIVE
1180;; } ClutterPathNodeType;
1181
1182(define-flags-extended PathNodeType
1183  (in-module "Clutter")
1184  (c-name "ClutterPathNodeType")
1185  (values
1186    '("move-to" "CLUTTER_PATH_MOVE_TO" "0x0")
1187    '("line-to" "CLUTTER_PATH_LINE_TO" "0x1")
1188    '("curve-to" "CLUTTER_PATH_CURVE_TO" "0x2")
1189    '("close" "CLUTTER_PATH_CLOSE" "0x3")
1190    '("rel-move-to" "CLUTTER_PATH_REL_MOVE_TO" "0 | CLUTTER_PATH_RELATIVE")
1191    '("rel-line-to" "CLUTTER_PATH_REL_LINE_TO" "1 | CLUTTER_PATH_RELATIVE")
1192    '("rel-curve-to" "CLUTTER_PATH_REL_CURVE_TO" "2 | CLUTTER_PATH_RELATIVE")
1193  )
1194)
1195
1196;; Original typedef:
1197;; typedef enum {
1198;;   CLUTTER_ACTOR_ALIGN_FILL,
1199;;   CLUTTER_ACTOR_ALIGN_START,
1200;;   CLUTTER_ACTOR_ALIGN_CENTER,
1201;;   CLUTTER_ACTOR_ALIGN_END
1202;; } ClutterActorAlign;
1203
1204(define-enum-extended ActorAlign
1205  (in-module "Clutter")
1206  (c-name "ClutterActorAlign")
1207  (values
1208    '("fill" "CLUTTER_ACTOR_ALIGN_FILL" "0")
1209    '("start" "CLUTTER_ACTOR_ALIGN_START" "1")
1210    '("center" "CLUTTER_ACTOR_ALIGN_CENTER" "2")
1211    '("end" "CLUTTER_ACTOR_ALIGN_END" "3")
1212  )
1213)
1214
1215;; Original typedef:
1216;; typedef enum {
1217;;   CLUTTER_REPAINT_FLAGS_PRE_PAINT = 1 << 0,
1218;;   CLUTTER_REPAINT_FLAGS_POST_PAINT = 1 << 1,
1219;;   CLUTTER_REPAINT_FLAGS_QUEUE_REDRAW_ON_ADD = 1 << 2
1220;; } ClutterRepaintFlags;
1221
1222(define-flags-extended RepaintFlags
1223  (in-module "Clutter")
1224  (c-name "ClutterRepaintFlags")
1225  (values
1226    '("pre-paint" "CLUTTER_REPAINT_FLAGS_PRE_PAINT" "1 << 0")
1227    '("post-paint" "CLUTTER_REPAINT_FLAGS_POST_PAINT" "1 << 1")
1228    '("queue-redraw-on-add" "CLUTTER_REPAINT_FLAGS_QUEUE_REDRAW_ON_ADD" "1 << 2")
1229  )
1230)
1231
1232;; Original typedef:
1233;; typedef enum {
1234;;   CLUTTER_CONTENT_GRAVITY_TOP_LEFT,
1235;;   CLUTTER_CONTENT_GRAVITY_TOP,
1236;;   CLUTTER_CONTENT_GRAVITY_TOP_RIGHT,
1237;;
1238;;   CLUTTER_CONTENT_GRAVITY_LEFT,
1239;;   CLUTTER_CONTENT_GRAVITY_CENTER,
1240;;   CLUTTER_CONTENT_GRAVITY_RIGHT,
1241;;
1242;;   CLUTTER_CONTENT_GRAVITY_BOTTOM_LEFT,
1243;;   CLUTTER_CONTENT_GRAVITY_BOTTOM,
1244;;   CLUTTER_CONTENT_GRAVITY_BOTTOM_RIGHT,
1245;;
1246;;   CLUTTER_CONTENT_GRAVITY_RESIZE_FILL,
1247;;   CLUTTER_CONTENT_GRAVITY_RESIZE_ASPECT
1248;; } ClutterContentGravity;
1249
1250(define-enum-extended ContentGravity
1251  (in-module "Clutter")
1252  (c-name "ClutterContentGravity")
1253  (values
1254    '("top-left" "CLUTTER_CONTENT_GRAVITY_TOP_LEFT" "0")
1255    '("top" "CLUTTER_CONTENT_GRAVITY_TOP" "1")
1256    '("top-right" "CLUTTER_CONTENT_GRAVITY_TOP_RIGHT" "2")
1257    '("left" "CLUTTER_CONTENT_GRAVITY_LEFT" "3")
1258    '("center" "CLUTTER_CONTENT_GRAVITY_CENTER" "4")
1259    '("right" "CLUTTER_CONTENT_GRAVITY_RIGHT" "5")
1260    '("bottom-left" "CLUTTER_CONTENT_GRAVITY_BOTTOM_LEFT" "6")
1261    '("bottom" "CLUTTER_CONTENT_GRAVITY_BOTTOM" "7")
1262    '("bottom-right" "CLUTTER_CONTENT_GRAVITY_BOTTOM_RIGHT" "8")
1263    '("resize-fill" "CLUTTER_CONTENT_GRAVITY_RESIZE_FILL" "9")
1264    '("resize-aspect" "CLUTTER_CONTENT_GRAVITY_RESIZE_ASPECT" "10")
1265  )
1266)
1267
1268;; Original typedef:
1269;; typedef enum {
1270;;   CLUTTER_SCALING_FILTER_LINEAR,
1271;;   CLUTTER_SCALING_FILTER_NEAREST,
1272;;   CLUTTER_SCALING_FILTER_TRILINEAR
1273;; } ClutterScalingFilter;
1274
1275(define-enum-extended ScalingFilter
1276  (in-module "Clutter")
1277  (c-name "ClutterScalingFilter")
1278  (values
1279    '("linear" "CLUTTER_SCALING_FILTER_LINEAR" "0")
1280    '("nearest" "CLUTTER_SCALING_FILTER_NEAREST" "1")
1281    '("trilinear" "CLUTTER_SCALING_FILTER_TRILINEAR" "2")
1282  )
1283)
1284
1285;; Original typedef:
1286;; typedef enum {
1287;;   CLUTTER_ORIENTATION_HORIZONTAL,
1288;;   CLUTTER_ORIENTATION_VERTICAL
1289;; } ClutterOrientation;
1290
1291(define-enum-extended Orientation
1292  (in-module "Clutter")
1293  (c-name "ClutterOrientation")
1294  (values
1295    '("horizontal" "CLUTTER_ORIENTATION_HORIZONTAL" "0")
1296    '("vertical" "CLUTTER_ORIENTATION_VERTICAL" "1")
1297  )
1298)
1299
1300;; Original typedef:
1301;; typedef enum { /*< prefix=CLUTTER_SCROLL >*/
1302;;   CLUTTER_SCROLL_NONE         = 0,
1303;;
1304;;   CLUTTER_SCROLL_HORIZONTALLY = 1 << 0,
1305;;   CLUTTER_SCROLL_VERTICALLY   = 1 << 1,
1306;;
1307;;   CLUTTER_SCROLL_BOTH         = CLUTTER_SCROLL_HORIZONTALLY | CLUTTER_SCROLL_VERTICALLY
1308;; } ClutterScrollMode;
1309
1310(define-flags-extended ScrollMode
1311  (in-module "Clutter")
1312  (c-name "ClutterScrollMode")
1313  (values
1314    '("none" "CLUTTER_SCROLL_NONE" "0x0")
1315    '("horizontally" "CLUTTER_SCROLL_HORIZONTALLY" "1 << 0")
1316    '("vertically" "CLUTTER_SCROLL_VERTICALLY" "1 << 1")
1317    '("both" "CLUTTER_SCROLL_BOTH" "0x3")
1318  )
1319)
1320
1321;; Original typedef:
1322;; typedef enum {
1323;;   CLUTTER_GRID_POSITION_LEFT,
1324;;   CLUTTER_GRID_POSITION_RIGHT,
1325;;   CLUTTER_GRID_POSITION_TOP,
1326;;   CLUTTER_GRID_POSITION_BOTTOM
1327;; } ClutterGridPosition;
1328
1329(define-enum-extended GridPosition
1330  (in-module "Clutter")
1331  (c-name "ClutterGridPosition")
1332  (values
1333    '("left" "CLUTTER_GRID_POSITION_LEFT" "0")
1334    '("right" "CLUTTER_GRID_POSITION_RIGHT" "1")
1335    '("top" "CLUTTER_GRID_POSITION_TOP" "2")
1336    '("bottom" "CLUTTER_GRID_POSITION_BOTTOM" "3")
1337  )
1338)
1339
1340;; Original typedef:
1341;; typedef enum {
1342;;   CLUTTER_REPEAT_NONE   = 0,
1343;;   CLUTTER_REPEAT_X_AXIS = 1 << 0,
1344;;   CLUTTER_REPEAT_Y_AXIS = 1 << 1,
1345;;   CLUTTER_REPEAT_BOTH   = CLUTTER_REPEAT_X_AXIS | CLUTTER_REPEAT_Y_AXIS
1346;; } ClutterContentRepeat;
1347
1348(define-flags-extended ContentRepeat
1349  (in-module "Clutter")
1350  (c-name "ClutterContentRepeat")
1351  (values
1352    '("none" "CLUTTER_REPEAT_NONE" "0x0")
1353    '("x-axis" "CLUTTER_REPEAT_X_AXIS" "1 << 0")
1354    '("y-axis" "CLUTTER_REPEAT_Y_AXIS" "1 << 1")
1355    '("both" "CLUTTER_REPEAT_BOTH" "0x3")
1356  )
1357)
1358
1359;; Original typedef:
1360;; typedef enum {
1361;;   CLUTTER_STEP_MODE_START,
1362;;   CLUTTER_STEP_MODE_END
1363;; } ClutterStepMode;
1364
1365(define-enum-extended StepMode
1366  (in-module "Clutter")
1367  (c-name "ClutterStepMode")
1368  (values
1369    '("start" "CLUTTER_STEP_MODE_START" "0")
1370    '("end" "CLUTTER_STEP_MODE_END" "1")
1371  )
1372)
1373
1374;; Original typedef:
1375;; typedef enum { /*< prefix=CLUTTER_ZOOM >*/
1376;;   CLUTTER_ZOOM_X_AXIS,
1377;;   CLUTTER_ZOOM_Y_AXIS,
1378;;   CLUTTER_ZOOM_BOTH
1379;; } ClutterZoomAxis;
1380
1381(define-enum-extended ZoomAxis
1382  (in-module "Clutter")
1383  (c-name "ClutterZoomAxis")
1384  (values
1385    '("x-axis" "CLUTTER_ZOOM_X_AXIS" "0")
1386    '("y-axis" "CLUTTER_ZOOM_Y_AXIS" "1")
1387    '("both" "CLUTTER_ZOOM_BOTH" "2")
1388  )
1389)
1390
1391;; Original typedef:
1392;; typedef enum {
1393;;   CLUTTER_GESTURE_TRIGGER_EDGE_NONE  = 0,
1394;;   CLUTTER_GESTURE_TRIGGER_EDGE_AFTER,
1395;;   CLUTTER_GESTURE_TRIGGER_EDGE_BEFORE
1396;; } ClutterGestureTriggerEdge;
1397
1398(define-enum-extended GestureTriggerEdge
1399  (in-module "Clutter")
1400  (c-name "ClutterGestureTriggerEdge")
1401  (values
1402    '("none" "CLUTTER_GESTURE_TRIGGER_EDGE_NONE" "0")
1403    '("after" "CLUTTER_GESTURE_TRIGGER_EDGE_AFTER" "1")
1404    '("before" "CLUTTER_GESTURE_TRIGGER_EDGE_BEFORE" "2")
1405  )
1406)
1407
1408;; From clutter-event-translator.h
1409
1410;; Original typedef:
1411;; typedef enum {
1412;;   CLUTTER_TRANSLATE_CONTINUE,
1413;;   CLUTTER_TRANSLATE_REMOVE,
1414;;   CLUTTER_TRANSLATE_QUEUE
1415;; } ClutterTranslateReturn;
1416
1417(define-enum-extended TranslateReturn
1418  (in-module "Clutter")
1419  (c-name "ClutterTranslateReturn")
1420  (values
1421    '("continue" "CLUTTER_TRANSLATE_CONTINUE" "0")
1422    '("remove" "CLUTTER_TRANSLATE_REMOVE" "1")
1423    '("queue" "CLUTTER_TRANSLATE_QUEUE" "2")
1424  )
1425)
1426
1427;; From clutter-image.h
1428
1429;; Original typedef:
1430;; typedef enum {
1431;;   CLUTTER_IMAGE_ERROR_INVALID_DATA
1432;; } ClutterImageError;
1433
1434(define-enum-extended ImageError
1435  (in-module "Clutter")
1436  (c-name "ClutterImageError")
1437  (values
1438    '("invalid-data" "CLUTTER_IMAGE_ERROR_INVALID_DATA" "0")
1439  )
1440)
1441
1442;; From clutter-main.h
1443
1444;; Original typedef:
1445;; typedef enum {
1446;;   CLUTTER_INIT_SUCCESS        =  1,
1447;;   CLUTTER_INIT_ERROR_UNKNOWN  =  0,
1448;;   CLUTTER_INIT_ERROR_THREADS  = -1,
1449;;   CLUTTER_INIT_ERROR_BACKEND  = -2,
1450;;   CLUTTER_INIT_ERROR_INTERNAL = -3
1451;; } ClutterInitError;
1452
1453(define-enum-extended InitError
1454  (in-module "Clutter")
1455  (c-name "ClutterInitError")
1456  (values
1457    '("success" "CLUTTER_INIT_SUCCESS" "1")
1458    '("error-unknown" "CLUTTER_INIT_ERROR_UNKNOWN" "0")
1459    '("error-threads" "CLUTTER_INIT_ERROR_THREADS" "-1")
1460    '("error-backend" "CLUTTER_INIT_ERROR_BACKEND" "-2")
1461    '("error-internal" "CLUTTER_INIT_ERROR_INTERNAL" "-3")
1462  )
1463)
1464
1465;; From clutter-paint-node-private.h
1466
1467;; Original typedef:
1468;; typedef enum {
1469;;   PAINT_OP_INVALID = 0,
1470;;   PAINT_OP_TEX_RECT,
1471;;   PAINT_OP_PATH,
1472;;   PAINT_OP_PRIMITIVE
1473;; } PaintOpCode;
1474
1475(define-enum-extended PaintOpCode
1476  (in-module "Clutter")
1477  (c-name "PaintOpCode")
1478  (values
1479    '("invalid" "PAINT_OP_INVALID" "0")
1480    '("tex-rect" "PAINT_OP_TEX_RECT" "1")
1481    '("path" "PAINT_OP_PATH" "2")
1482    '("primitive" "PAINT_OP_PRIMITIVE" "3")
1483  )
1484)
1485
1486;; From clutter-private.h
1487
1488;; Original typedef:
1489;; typedef enum {
1490;;   CLUTTER_ACTOR_UNUSED_FLAG = 0,
1491;;
1492;;   CLUTTER_IN_DESTRUCTION = 1 << 0,
1493;;   CLUTTER_IS_TOPLEVEL    = 1 << 1,
1494;;   CLUTTER_IN_REPARENT    = 1 << 2,
1495;;
1496;;   /* Used to avoid recursion */
1497;;   CLUTTER_IN_PAINT       = 1 << 3,
1498;;
1499;;   /* Used to avoid recursion */
1500;;   CLUTTER_IN_RELAYOUT    = 1 << 4,
1501;;
1502;;   /* Used by the stage if resizing is an asynchronous operation (like on
1503;;    * X11) to delay queueing relayouts until we got a notification from the
1504;;    * event handling
1505;;    */
1506;;   CLUTTER_IN_RESIZE      = 1 << 5,
1507;;
1508;;   /* a flag for internal children of Containers */
1509;;   CLUTTER_INTERNAL_CHILD = 1 << 6
1510;; } ClutterPrivateFlags;
1511
1512(define-flags-extended PrivateFlags
1513  (in-module "Clutter")
1514  (c-name "ClutterPrivateFlags")
1515  (values
1516    '("actor-unused-flag" "CLUTTER_ACTOR_UNUSED_FLAG" "0x0")
1517    '("in-destruction" "CLUTTER_IN_DESTRUCTION" "1 << 0")
1518    '("is-toplevel" "CLUTTER_IS_TOPLEVEL" "1 << 1")
1519    '("in-reparent" "CLUTTER_IN_REPARENT" "1 << 2")
1520    '("in-paint" "CLUTTER_IN_PAINT" "1 << 3")
1521    '("in-relayout" "CLUTTER_IN_RELAYOUT" "1 << 4")
1522    '("in-resize" "CLUTTER_IN_RESIZE" "1 << 5")
1523    '("internal-child" "CLUTTER_INTERNAL_CHILD" "1 << 6")
1524  )
1525)
1526
1527;; Original typedef:
1528;; typedef enum _ClutterCullResult
1529;; {
1530;;   CLUTTER_CULL_RESULT_UNKNOWN,
1531;;   CLUTTER_CULL_RESULT_IN,
1532;;   CLUTTER_CULL_RESULT_OUT,
1533;;   CLUTTER_CULL_RESULT_PARTIAL
1534;; } ClutterCullResult;
1535
1536(define-enum-extended CullResult
1537  (in-module "Clutter")
1538  (c-name "ClutterCullResult")
1539  (values
1540    '("unknown" "CLUTTER_CULL_RESULT_UNKNOWN" "0")
1541    '("in" "CLUTTER_CULL_RESULT_IN" "1")
1542    '("out" "CLUTTER_CULL_RESULT_OUT" "2")
1543    '("partial" "CLUTTER_CULL_RESULT_PARTIAL" "3")
1544  )
1545)
1546
1547;; From clutter-profile.h
1548
1549;; Original typedef:
1550;; typedef enum {
1551;;   CLUTTER_PROFILE_PICKING_ONLY    = 1 << 0,
1552;;   CLUTTER_PROFILE_DISABLE_REPORT  = 1 << 1
1553;; } ClutterProfileFlag;
1554
1555(define-flags-extended ProfileFlag
1556  (in-module "Clutter")
1557  (c-name "ClutterProfileFlag")
1558  (values
1559    '("picking-only" "CLUTTER_PROFILE_PICKING_ONLY" "1 << 0")
1560    '("disable-report" "CLUTTER_PROFILE_DISABLE_REPORT" "1 << 1")
1561  )
1562)
1563
1564;; From clutter-script.h
1565
1566;; Original typedef:
1567;; typedef enum {
1568;;   CLUTTER_SCRIPT_ERROR_INVALID_TYPE_FUNCTION,
1569;;   CLUTTER_SCRIPT_ERROR_INVALID_PROPERTY,
1570;;   CLUTTER_SCRIPT_ERROR_INVALID_VALUE
1571;; } ClutterScriptError;
1572
1573(define-enum-extended ScriptError
1574  (in-module "Clutter")
1575  (c-name "ClutterScriptError")
1576  (values
1577    '("type-function" "CLUTTER_SCRIPT_ERROR_INVALID_TYPE_FUNCTION" "0")
1578    '("property" "CLUTTER_SCRIPT_ERROR_INVALID_PROPERTY" "1")
1579    '("value" "CLUTTER_SCRIPT_ERROR_INVALID_VALUE" "2")
1580  )
1581)
1582
1583;; From clutter-texture.h
1584
1585;; Original typedef:
1586;; typedef enum {
1587;;   CLUTTER_TEXTURE_ERROR_OUT_OF_MEMORY,
1588;;   CLUTTER_TEXTURE_ERROR_NO_YUV,
1589;;   CLUTTER_TEXTURE_ERROR_BAD_FORMAT
1590;; } ClutterTextureError;
1591
1592(define-enum-extended TextureError
1593  (in-module "Clutter")
1594  (c-name "ClutterTextureError")
1595  (values
1596    '("out-of-memory" "CLUTTER_TEXTURE_ERROR_OUT_OF_MEMORY" "0")
1597    '("no-yuv" "CLUTTER_TEXTURE_ERROR_NO_YUV" "1")
1598    '("bad-format" "CLUTTER_TEXTURE_ERROR_BAD_FORMAT" "2")
1599  )
1600)
1601
1602;; From clutter-shader.h
1603
1604;; Original typedef:
1605;; typedef enum {
1606;;   CLUTTER_SHADER_ERROR_NO_ASM,
1607;;   CLUTTER_SHADER_ERROR_NO_GLSL,
1608;;   CLUTTER_SHADER_ERROR_COMPILE
1609;; } ClutterShaderError;
1610
1611(define-enum-extended ShaderError
1612  (in-module "Clutter")
1613  (c-name "ClutterShaderError")
1614  (values
1615    '("no-asm" "CLUTTER_SHADER_ERROR_NO_ASM" "0")
1616    '("no-glsl" "CLUTTER_SHADER_ERROR_NO_GLSL" "1")
1617    '("compile" "CLUTTER_SHADER_ERROR_COMPILE" "2")
1618  )
1619)
1620
1621