[cluttermm] clutter_enums.defs updated to clutter-1.7.6
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cluttermm] clutter_enums.defs updated to clutter-1.7.6
- Date: Tue, 4 Mar 2014 14:04:02 +0000 (UTC)
commit 806d056476751ce6a0f165eb9c0ba1812e73df27
Author: Ian Martin <martin_id vodafone co nz>
Date: Tue Mar 4 22:32:12 2014 +1300
clutter_enums.defs updated to clutter-1.7.6
enum.pl run against the clutter-1.7.6 release.
clutter/src/clutter_enums.defs | 1580 +++++++++++++++++++++++++++++-----------
1 files changed, 1143 insertions(+), 437 deletions(-)
---
diff --git a/clutter/src/clutter_enums.defs b/clutter/src/clutter_enums.defs
index 9259480..544c1a4 100644
--- a/clutter/src/clutter_enums.defs
+++ b/clutter/src/clutter_enums.defs
@@ -1,115 +1,48 @@
-;; From clutter-actor.h
+;; From clutter-actor-private.h
;; Original typedef:
;; typedef enum
;; {
-;; CLUTTER_ACTOR_MAPPED = 1 << 1,
-;; CLUTTER_ACTOR_REALIZED = 1 << 2,
-;; CLUTTER_ACTOR_REACTIVE = 1 << 3,
-;; CLUTTER_ACTOR_VISIBLE = 1 << 4,
-;; CLUTTER_ACTOR_NO_LAYOUT = 1 << 5
-;; } ClutterActorFlags;
-
-(define-flags-extended ActorFlags
- (in-module "Clutter")
- (c-name "ClutterActorFlags")
- (values
- '("mapped" "CLUTTER_ACTOR_MAPPED" "1 << 1")
- '("realized" "CLUTTER_ACTOR_REALIZED" "1 << 2")
- '("reactive" "CLUTTER_ACTOR_REACTIVE" "1 << 3")
- '("visible" "CLUTTER_ACTOR_VISIBLE" "1 << 4")
- '("no-layout" "CLUTTER_ACTOR_NO_LAYOUT" "1 << 5")
- )
-)
-
-;; Original typedef:
-;; typedef enum
-;; {
-;; CLUTTER_ALLOCATION_NONE = 0,
-;; CLUTTER_ABSOLUTE_ORIGIN_CHANGED = 1 << 1
-;; } ClutterAllocationFlags;
-
-(define-flags-extended AllocationFlags
- (in-module "Clutter")
- (c-name "ClutterAllocationFlags")
- (values
- '("allocation-none" "CLUTTER_ALLOCATION_NONE" "0x0")
- '("absolute-origin-changed" "CLUTTER_ABSOLUTE_ORIGIN_CHANGED" "1 << 1")
- )
-)
-
-;; Original typedef:
-;; typedef enum
-;; {
-;; CLUTTER_REDRAW_CLIPPED_TO_BOX = 0,
-;; CLUTTER_REDRAW_CLIPPED_TO_ALLOCATION = 1 << 1
+;; CLUTTER_REDRAW_CLIPPED_TO_ALLOCATION = 1 << 0
;; } ClutterRedrawFlags;
(define-flags-extended RedrawFlags
(in-module "Clutter")
(c-name "ClutterRedrawFlags")
(values
- '("box" "CLUTTER_REDRAW_CLIPPED_TO_BOX" "0x0")
- '("allocation" "CLUTTER_REDRAW_CLIPPED_TO_ALLOCATION" "1 << 1")
+ '("clipped-to-allocation" "CLUTTER_REDRAW_CLIPPED_TO_ALLOCATION" "1 << 0")
)
)
-;; From clutter-animator.h
-
;; Original typedef:
;; typedef enum {
-;; CLUTTER_INTERPOLATION_LINEAR,
-;; CLUTTER_INTERPOLATION_CUBIC
-;; } ClutterInterpolation;
-
-(define-enum-extended Interpolation
- (in-module "Clutter")
- (c-name "ClutterInterpolation")
- (values
- '("linear" "CLUTTER_INTERPOLATION_LINEAR" "0")
- '("cubic" "CLUTTER_INTERPOLATION_CUBIC" "1")
- )
-)
-
-;; From clutter-bin-layout.h
-
-;; Original typedef:
-;; typedef enum {
-;; CLUTTER_BIN_ALIGNMENT_FIXED,
-;; CLUTTER_BIN_ALIGNMENT_FILL,
-;; CLUTTER_BIN_ALIGNMENT_START,
-;; CLUTTER_BIN_ALIGNMENT_END,
-;; CLUTTER_BIN_ALIGNMENT_CENTER
-;; } ClutterBinAlignment;
+;; CLUTTER_ACTOR_TRAVERSE_DEPTH_FIRST = 1L<<0,
+;; CLUTTER_ACTOR_TRAVERSE_BREADTH_FIRST = 1L<<1
+;; } ClutterActorTraverseFlags;
-(define-enum-extended BinAlignment
+(define-flags-extended ActorTraverseFlags
(in-module "Clutter")
- (c-name "ClutterBinAlignment")
+ (c-name "ClutterActorTraverseFlags")
(values
- '("fixed" "CLUTTER_BIN_ALIGNMENT_FIXED" "0")
- '("fill" "CLUTTER_BIN_ALIGNMENT_FILL" "1")
- '("start" "CLUTTER_BIN_ALIGNMENT_START" "2")
- '("end" "CLUTTER_BIN_ALIGNMENT_END" "3")
- '("center" "CLUTTER_BIN_ALIGNMENT_CENTER" "4")
+ '("depth-first" "CLUTTER_ACTOR_TRAVERSE_DEPTH_FIRST" "1L<<0")
+ '("breadth-first" "CLUTTER_ACTOR_TRAVERSE_BREADTH_FIRST" "1L<<1")
)
)
-;; From clutter-box-layout.h
-
;; Original typedef:
;; typedef enum {
-;; CLUTTER_BOX_ALIGNMENT_START,
-;; CLUTTER_BOX_ALIGNMENT_END,
-;; CLUTTER_BOX_ALIGNMENT_CENTER
-;; } ClutterBoxAlignment;
+;; CLUTTER_ACTOR_TRAVERSE_VISIT_CONTINUE = 1L<<0,
+;; CLUTTER_ACTOR_TRAVERSE_VISIT_SKIP_CHILDREN = 1L<<1,
+;; CLUTTER_ACTOR_TRAVERSE_VISIT_BREAK = 1L<<2
+;; } ClutterActorTraverseVisitFlags;
-(define-enum-extended BoxAlignment
+(define-flags-extended ActorTraverseVisitFlags
(in-module "Clutter")
- (c-name "ClutterBoxAlignment")
+ (c-name "ClutterActorTraverseVisitFlags")
(values
- '("start" "CLUTTER_BOX_ALIGNMENT_START" "0")
- '("end" "CLUTTER_BOX_ALIGNMENT_END" "1")
- '("center" "CLUTTER_BOX_ALIGNMENT_CENTER" "2")
+ '("continue" "CLUTTER_ACTOR_TRAVERSE_VISIT_CONTINUE" "1L<<0")
+ '("skip-children" "CLUTTER_ACTOR_TRAVERSE_VISIT_SKIP_CHILDREN" "1L<<1")
+ '("break" "CLUTTER_ACTOR_TRAVERSE_VISIT_BREAK" "1L<<2")
)
)
@@ -122,17 +55,18 @@
;; CLUTTER_DEBUG_TEXTURE = 1 << 2,
;; CLUTTER_DEBUG_EVENT = 1 << 3,
;; CLUTTER_DEBUG_PAINT = 1 << 4,
-;; CLUTTER_DEBUG_GL = 1 << 5,
-;; CLUTTER_DEBUG_ALPHA = 1 << 6,
-;; CLUTTER_DEBUG_BEHAVIOUR = 1 << 7,
-;; CLUTTER_DEBUG_PANGO = 1 << 8,
-;; CLUTTER_DEBUG_BACKEND = 1 << 9,
-;; CLUTTER_DEBUG_SCHEDULER = 1 << 10,
-;; CLUTTER_DEBUG_SCRIPT = 1 << 11,
-;; CLUTTER_DEBUG_SHADER = 1 << 12,
-;; CLUTTER_DEBUG_MULTISTAGE = 1 << 13,
-;; CLUTTER_DEBUG_ANIMATION = 1 << 14,
-;; CLUTTER_DEBUG_LAYOUT = 1 << 15
+;; CLUTTER_DEBUG_PANGO = 1 << 5,
+;; CLUTTER_DEBUG_BACKEND = 1 << 6,
+;; CLUTTER_DEBUG_SCHEDULER = 1 << 7,
+;; CLUTTER_DEBUG_SCRIPT = 1 << 8,
+;; CLUTTER_DEBUG_SHADER = 1 << 9,
+;; CLUTTER_DEBUG_MULTISTAGE = 1 << 10,
+;; CLUTTER_DEBUG_ANIMATION = 1 << 11,
+;; CLUTTER_DEBUG_LAYOUT = 1 << 12,
+;; CLUTTER_DEBUG_PICK = 1 << 13,
+;; CLUTTER_DEBUG_EVENTLOOP = 1 << 14,
+;; CLUTTER_DEBUG_CLIPPING = 1 << 15,
+;; CLUTTER_DEBUG_OOB_TRANSFORMS = 1 << 16
;; } ClutterDebugFlag;
(define-flags-extended DebugFlag
@@ -144,17 +78,18 @@
'("texture" "CLUTTER_DEBUG_TEXTURE" "1 << 2")
'("event" "CLUTTER_DEBUG_EVENT" "1 << 3")
'("paint" "CLUTTER_DEBUG_PAINT" "1 << 4")
- '("gl" "CLUTTER_DEBUG_GL" "1 << 5")
- '("alpha" "CLUTTER_DEBUG_ALPHA" "1 << 6")
- '("behaviour" "CLUTTER_DEBUG_BEHAVIOUR" "1 << 7")
- '("pango" "CLUTTER_DEBUG_PANGO" "1 << 8")
- '("backend" "CLUTTER_DEBUG_BACKEND" "1 << 9")
- '("scheduler" "CLUTTER_DEBUG_SCHEDULER" "1 << 10")
- '("script" "CLUTTER_DEBUG_SCRIPT" "1 << 11")
- '("shader" "CLUTTER_DEBUG_SHADER" "1 << 12")
- '("multistage" "CLUTTER_DEBUG_MULTISTAGE" "1 << 13")
- '("animation" "CLUTTER_DEBUG_ANIMATION" "1 << 14")
- '("layout" "CLUTTER_DEBUG_LAYOUT" "1 << 15")
+ '("pango" "CLUTTER_DEBUG_PANGO" "1 << 5")
+ '("backend" "CLUTTER_DEBUG_BACKEND" "1 << 6")
+ '("scheduler" "CLUTTER_DEBUG_SCHEDULER" "1 << 7")
+ '("script" "CLUTTER_DEBUG_SCRIPT" "1 << 8")
+ '("shader" "CLUTTER_DEBUG_SHADER" "1 << 9")
+ '("multistage" "CLUTTER_DEBUG_MULTISTAGE" "1 << 10")
+ '("animation" "CLUTTER_DEBUG_ANIMATION" "1 << 11")
+ '("layout" "CLUTTER_DEBUG_LAYOUT" "1 << 12")
+ '("pick" "CLUTTER_DEBUG_PICK" "1 << 13")
+ '("eventloop" "CLUTTER_DEBUG_EVENTLOOP" "1 << 14")
+ '("clipping" "CLUTTER_DEBUG_CLIPPING" "1 << 15")
+ '("oob-transforms" "CLUTTER_DEBUG_OOB_TRANSFORMS" "1 << 16")
)
)
@@ -177,7 +112,12 @@
;; typedef enum {
;; CLUTTER_DEBUG_DISABLE_SWAP_EVENTS = 1 << 0,
;; CLUTTER_DEBUG_DISABLE_CLIPPED_REDRAWS = 1 << 1,
-;; CLUTTER_DEBUG_REDRAWS = 1 << 2
+;; CLUTTER_DEBUG_REDRAWS = 1 << 2,
+;; CLUTTER_DEBUG_PAINT_VOLUMES = 1 << 3,
+;; CLUTTER_DEBUG_DISABLE_CULLING = 1 << 4,
+;; CLUTTER_DEBUG_DISABLE_OFFSCREEN_REDIRECT = 1 << 5,
+;; CLUTTER_DEBUG_CONTINUOUS_REDRAW = 1 << 6,
+;; CLUTTER_DEBUG_PAINT_DEFORM_TILES = 1 << 7
;; } ClutterDrawDebugFlag;
(define-flags-extended DrawDebugFlag
@@ -187,10 +127,261 @@
'("disable-swap-events" "CLUTTER_DEBUG_DISABLE_SWAP_EVENTS" "1 << 0")
'("disable-clipped-redraws" "CLUTTER_DEBUG_DISABLE_CLIPPED_REDRAWS" "1 << 1")
'("redraws" "CLUTTER_DEBUG_REDRAWS" "1 << 2")
+ '("paint-volumes" "CLUTTER_DEBUG_PAINT_VOLUMES" "1 << 3")
+ '("disable-culling" "CLUTTER_DEBUG_DISABLE_CULLING" "1 << 4")
+ '("disable-offscreen-redirect" "CLUTTER_DEBUG_DISABLE_OFFSCREEN_REDIRECT" "1 << 5")
+ '("continuous-redraw" "CLUTTER_DEBUG_CONTINUOUS_REDRAW" "1 << 6")
+ '("paint-deform-tiles" "CLUTTER_DEBUG_PAINT_DEFORM_TILES" "1 << 7")
+ )
+)
+
+;; From clutter-enums.h
+
+;; Original typedef:
+;; typedef enum { /*< prefix=CLUTTER_GRAVITY >*/
+;; CLUTTER_GRAVITY_NONE = 0,
+;; CLUTTER_GRAVITY_NORTH,
+;; CLUTTER_GRAVITY_NORTH_EAST,
+;; CLUTTER_GRAVITY_EAST,
+;; CLUTTER_GRAVITY_SOUTH_EAST,
+;; CLUTTER_GRAVITY_SOUTH,
+;; CLUTTER_GRAVITY_SOUTH_WEST,
+;; CLUTTER_GRAVITY_WEST,
+;; CLUTTER_GRAVITY_NORTH_WEST,
+;; CLUTTER_GRAVITY_CENTER
+;; } ClutterGravity;
+
+(define-enum-extended Gravity
+ (in-module "Clutter")
+ (c-name "ClutterGravity")
+ (values
+ '("none" "CLUTTER_GRAVITY_NONE" "0")
+ '("north" "CLUTTER_GRAVITY_NORTH" "1")
+ '("north-east" "CLUTTER_GRAVITY_NORTH_EAST" "2")
+ '("east" "CLUTTER_GRAVITY_EAST" "3")
+ '("south-east" "CLUTTER_GRAVITY_SOUTH_EAST" "4")
+ '("south" "CLUTTER_GRAVITY_SOUTH" "5")
+ '("south-west" "CLUTTER_GRAVITY_SOUTH_WEST" "6")
+ '("west" "CLUTTER_GRAVITY_WEST" "7")
+ '("north-west" "CLUTTER_GRAVITY_NORTH_WEST" "8")
+ '("center" "CLUTTER_GRAVITY_CENTER" "9")
+ )
+)
+
+;; Original typedef:
+;; typedef enum { /*< prefix=CLUTTER >*/
+;; CLUTTER_X_AXIS,
+;; CLUTTER_Y_AXIS,
+;; CLUTTER_Z_AXIS
+;; } ClutterRotateAxis;
+
+(define-enum-extended RotateAxis
+ (in-module "Clutter")
+ (c-name "ClutterRotateAxis")
+ (values
+ '("x-axis" "CLUTTER_X_AXIS" "0")
+ '("y-axis" "CLUTTER_Y_AXIS" "1")
+ '("z-axis" "CLUTTER_Z_AXIS" "2")
)
)
-;; From clutter-event.h
+;; Original typedef:
+;; typedef enum { /*< prefix=CLUTTER_ROTATE >*/
+;; CLUTTER_ROTATE_CW,
+;; CLUTTER_ROTATE_CCW
+;; } ClutterRotateDirection;
+
+(define-enum-extended RotateDirection
+ (in-module "Clutter")
+ (c-name "ClutterRotateDirection")
+ (values
+ '("cw" "CLUTTER_ROTATE_CW" "0")
+ '("ccw" "CLUTTER_ROTATE_CCW" "1")
+ )
+)
+
+;; Original typedef:
+;; typedef enum { /*< prefix=CLUTTER_REQUEST >*/
+;; CLUTTER_REQUEST_HEIGHT_FOR_WIDTH,
+;; CLUTTER_REQUEST_WIDTH_FOR_HEIGHT
+;; } ClutterRequestMode;
+
+(define-enum-extended RequestMode
+ (in-module "Clutter")
+ (c-name "ClutterRequestMode")
+ (values
+ '("height-for-width" "CLUTTER_REQUEST_HEIGHT_FOR_WIDTH" "0")
+ '("width-for-height" "CLUTTER_REQUEST_WIDTH_FOR_HEIGHT" "1")
+ )
+)
+
+;; Original typedef:
+;; typedef enum {
+;; CLUTTER_CUSTOM_MODE = 0,
+;;
+;; /* linear */
+;; CLUTTER_LINEAR,
+;;
+;; /* quadratic */
+;; CLUTTER_EASE_IN_QUAD,
+;; CLUTTER_EASE_OUT_QUAD,
+;; CLUTTER_EASE_IN_OUT_QUAD,
+;;
+;; /* cubic */
+;; CLUTTER_EASE_IN_CUBIC,
+;; CLUTTER_EASE_OUT_CUBIC,
+;; CLUTTER_EASE_IN_OUT_CUBIC,
+;;
+;; /* quartic */
+;; CLUTTER_EASE_IN_QUART,
+;; CLUTTER_EASE_OUT_QUART,
+;; CLUTTER_EASE_IN_OUT_QUART,
+;;
+;; /* quintic */
+;; CLUTTER_EASE_IN_QUINT,
+;; CLUTTER_EASE_OUT_QUINT,
+;; CLUTTER_EASE_IN_OUT_QUINT,
+;;
+;; /* sinusoidal */
+;; CLUTTER_EASE_IN_SINE,
+;; CLUTTER_EASE_OUT_SINE,
+;; CLUTTER_EASE_IN_OUT_SINE,
+;;
+;; /* exponential */
+;; CLUTTER_EASE_IN_EXPO,
+;; CLUTTER_EASE_OUT_EXPO,
+;; CLUTTER_EASE_IN_OUT_EXPO,
+;;
+;; /* circular */
+;; CLUTTER_EASE_IN_CIRC,
+;; CLUTTER_EASE_OUT_CIRC,
+;; CLUTTER_EASE_IN_OUT_CIRC,
+;;
+;; /* elastic */
+;; CLUTTER_EASE_IN_ELASTIC,
+;; CLUTTER_EASE_OUT_ELASTIC,
+;; CLUTTER_EASE_IN_OUT_ELASTIC,
+;;
+;; /* overshooting cubic */
+;; CLUTTER_EASE_IN_BACK,
+;; CLUTTER_EASE_OUT_BACK,
+;; CLUTTER_EASE_IN_OUT_BACK,
+;;
+;; /* exponentially decaying parabolic */
+;; CLUTTER_EASE_IN_BOUNCE,
+;; CLUTTER_EASE_OUT_BOUNCE,
+;; CLUTTER_EASE_IN_OUT_BOUNCE,
+;;
+;; /* step functions (see css3-transitions) */
+;; CLUTTER_STEPS,
+;; CLUTTER_STEP_START, /* steps(1, start) */
+;; CLUTTER_STEP_END, /* steps(1, end) */
+;;
+;; /* cubic bezier (see css3-transitions) */
+;; CLUTTER_CUBIC_BEZIER,
+;; CLUTTER_EASE,
+;; CLUTTER_EASE_IN,
+;; CLUTTER_EASE_OUT,
+;; CLUTTER_EASE_IN_OUT,
+;;
+;; /* guard, before registered alpha functions */
+;; CLUTTER_ANIMATION_LAST
+;; } ClutterAnimationMode;
+
+(define-enum-extended AnimationMode
+ (in-module "Clutter")
+ (c-name "ClutterAnimationMode")
+ (values
+ '("custom-mode" "CLUTTER_CUSTOM_MODE" "0")
+ '("linear" "CLUTTER_LINEAR" "1")
+ '("ease-in-quad" "CLUTTER_EASE_IN_QUAD" "2")
+ '("ease-out-quad" "CLUTTER_EASE_OUT_QUAD" "3")
+ '("ease-in-out-quad" "CLUTTER_EASE_IN_OUT_QUAD" "4")
+ '("ease-in-cubic" "CLUTTER_EASE_IN_CUBIC" "5")
+ '("ease-out-cubic" "CLUTTER_EASE_OUT_CUBIC" "6")
+ '("ease-in-out-cubic" "CLUTTER_EASE_IN_OUT_CUBIC" "7")
+ '("ease-in-quart" "CLUTTER_EASE_IN_QUART" "8")
+ '("ease-out-quart" "CLUTTER_EASE_OUT_QUART" "9")
+ '("ease-in-out-quart" "CLUTTER_EASE_IN_OUT_QUART" "10")
+ '("ease-in-quint" "CLUTTER_EASE_IN_QUINT" "11")
+ '("ease-out-quint" "CLUTTER_EASE_OUT_QUINT" "12")
+ '("ease-in-out-quint" "CLUTTER_EASE_IN_OUT_QUINT" "13")
+ '("ease-in-sine" "CLUTTER_EASE_IN_SINE" "14")
+ '("ease-out-sine" "CLUTTER_EASE_OUT_SINE" "15")
+ '("ease-in-out-sine" "CLUTTER_EASE_IN_OUT_SINE" "16")
+ '("ease-in-expo" "CLUTTER_EASE_IN_EXPO" "17")
+ '("ease-out-expo" "CLUTTER_EASE_OUT_EXPO" "18")
+ '("ease-in-out-expo" "CLUTTER_EASE_IN_OUT_EXPO" "19")
+ '("ease-in-circ" "CLUTTER_EASE_IN_CIRC" "20")
+ '("ease-out-circ" "CLUTTER_EASE_OUT_CIRC" "21")
+ '("ease-in-out-circ" "CLUTTER_EASE_IN_OUT_CIRC" "22")
+ '("ease-in-elastic" "CLUTTER_EASE_IN_ELASTIC" "23")
+ '("ease-out-elastic" "CLUTTER_EASE_OUT_ELASTIC" "24")
+ '("ease-in-out-elastic" "CLUTTER_EASE_IN_OUT_ELASTIC" "25")
+ '("ease-in-back" "CLUTTER_EASE_IN_BACK" "26")
+ '("ease-out-back" "CLUTTER_EASE_OUT_BACK" "27")
+ '("ease-in-out-back" "CLUTTER_EASE_IN_OUT_BACK" "28")
+ '("ease-in-bounce" "CLUTTER_EASE_IN_BOUNCE" "29")
+ '("ease-out-bounce" "CLUTTER_EASE_OUT_BOUNCE" "30")
+ '("ease-in-out-bounce" "CLUTTER_EASE_IN_OUT_BOUNCE" "31")
+ '("steps" "CLUTTER_STEPS" "32")
+ '("step-start" "CLUTTER_STEP_START" "33")
+ '("step-end" "CLUTTER_STEP_END" "34")
+ '("cubic-bezier" "CLUTTER_CUBIC_BEZIER" "35")
+ '("ease" "CLUTTER_EASE" "36")
+ '("ease-in" "CLUTTER_EASE_IN" "37")
+ '("ease-out" "CLUTTER_EASE_OUT" "38")
+ '("ease-in-out" "CLUTTER_EASE_IN_OUT" "39")
+ '("animation-last" "CLUTTER_ANIMATION_LAST" "40")
+ )
+)
+
+;; Original typedef:
+;; typedef enum { /*< prefix=CLUTTER_FONT >*/
+;; CLUTTER_FONT_MIPMAPPING = (1 << 0),
+;; CLUTTER_FONT_HINTING = (1 << 1)
+;; } ClutterFontFlags;
+
+(define-flags-extended FontFlags
+ (in-module "Clutter")
+ (c-name "ClutterFontFlags")
+ (values
+ '("mipmapping" "CLUTTER_FONT_MIPMAPPING" "(1 << 0)")
+ '("hinting" "CLUTTER_FONT_HINTING" "(1 << 1)")
+ )
+)
+
+;; Original typedef:
+;; typedef enum {
+;; CLUTTER_TEXT_DIRECTION_DEFAULT,
+;; CLUTTER_TEXT_DIRECTION_LTR,
+;; CLUTTER_TEXT_DIRECTION_RTL
+;; } ClutterTextDirection;
+
+(define-enum-extended TextDirection
+ (in-module "Clutter")
+ (c-name "ClutterTextDirection")
+ (values
+ '("default" "CLUTTER_TEXT_DIRECTION_DEFAULT" "0")
+ '("ltr" "CLUTTER_TEXT_DIRECTION_LTR" "1")
+ '("rtl" "CLUTTER_TEXT_DIRECTION_RTL" "2")
+ )
+)
+
+;; Original typedef:
+;; typedef enum {
+;; CLUTTER_VERTEX_SHADER,
+;; CLUTTER_FRAGMENT_SHADER
+;; } ClutterShaderType;
+
+(define-enum-extended ShaderType
+ (in-module "Clutter")
+ (c-name "ClutterShaderType")
+ (values
+ '("vertex-shader" "CLUTTER_VERTEX_SHADER" "0")
+ '("fragment-shader" "CLUTTER_FRAGMENT_SHADER" "1")
+ )
+)
;; Original typedef:
;; typedef enum {
@@ -208,14 +399,34 @@
;; CLUTTER_BUTTON4_MASK = 1 << 11,
;; CLUTTER_BUTTON5_MASK = 1 << 12,
;;
-;; /* bits 15 to 25 are currently unused; bit 29 is used internally */
+;; #ifndef __GTK_DOC_IGNORE__
+;; CLUTTER_MODIFIER_RESERVED_13_MASK = 1 << 13,
+;; CLUTTER_MODIFIER_RESERVED_14_MASK = 1 << 14,
+;; CLUTTER_MODIFIER_RESERVED_15_MASK = 1 << 15,
+;; CLUTTER_MODIFIER_RESERVED_16_MASK = 1 << 16,
+;; CLUTTER_MODIFIER_RESERVED_17_MASK = 1 << 17,
+;; CLUTTER_MODIFIER_RESERVED_18_MASK = 1 << 18,
+;; CLUTTER_MODIFIER_RESERVED_19_MASK = 1 << 19,
+;; CLUTTER_MODIFIER_RESERVED_20_MASK = 1 << 20,
+;; CLUTTER_MODIFIER_RESERVED_21_MASK = 1 << 21,
+;; CLUTTER_MODIFIER_RESERVED_22_MASK = 1 << 22,
+;; CLUTTER_MODIFIER_RESERVED_23_MASK = 1 << 23,
+;; CLUTTER_MODIFIER_RESERVED_24_MASK = 1 << 24,
+;; CLUTTER_MODIFIER_RESERVED_25_MASK = 1 << 25,
+;; #endif
;;
;; CLUTTER_SUPER_MASK = 1 << 26,
;; CLUTTER_HYPER_MASK = 1 << 27,
;; CLUTTER_META_MASK = 1 << 28,
;;
+;; #ifndef __GTK_DOC_IGNORE__
+;; CLUTTER_MODIFIER_RESERVED_29_MASK = 1 << 29,
+;; #endif
+;;
;; CLUTTER_RELEASE_MASK = 1 << 30,
;;
+;; /* Combination of CLUTTER_SHIFT_MASK..CLUTTER_BUTTON5_MASK + CLUTTER_SUPER_MASK
+;; + CLUTTER_HYPER_MASK + CLUTTER_META_MASK + CLUTTER_RELEASE_MASK */
;; CLUTTER_MODIFIER_MASK = 0x5c001fff
;; } ClutterModifierType;
@@ -236,18 +447,334 @@
'("button3-mask" "CLUTTER_BUTTON3_MASK" "1 << 10")
'("button4-mask" "CLUTTER_BUTTON4_MASK" "1 << 11")
'("button5-mask" "CLUTTER_BUTTON5_MASK" "1 << 12")
+ '("modifier-reserved-13-mask" "CLUTTER_MODIFIER_RESERVED_13_MASK" "1 << 13")
+ '("modifier-reserved-14-mask" "CLUTTER_MODIFIER_RESERVED_14_MASK" "1 << 14")
+ '("modifier-reserved-15-mask" "CLUTTER_MODIFIER_RESERVED_15_MASK" "1 << 15")
+ '("modifier-reserved-16-mask" "CLUTTER_MODIFIER_RESERVED_16_MASK" "1 << 16")
+ '("modifier-reserved-17-mask" "CLUTTER_MODIFIER_RESERVED_17_MASK" "1 << 17")
+ '("modifier-reserved-18-mask" "CLUTTER_MODIFIER_RESERVED_18_MASK" "1 << 18")
+ '("modifier-reserved-19-mask" "CLUTTER_MODIFIER_RESERVED_19_MASK" "1 << 19")
+ '("modifier-reserved-20-mask" "CLUTTER_MODIFIER_RESERVED_20_MASK" "1 << 20")
+ '("modifier-reserved-21-mask" "CLUTTER_MODIFIER_RESERVED_21_MASK" "1 << 21")
+ '("modifier-reserved-22-mask" "CLUTTER_MODIFIER_RESERVED_22_MASK" "1 << 22")
+ '("modifier-reserved-23-mask" "CLUTTER_MODIFIER_RESERVED_23_MASK" "1 << 23")
+ '("modifier-reserved-24-mask" "CLUTTER_MODIFIER_RESERVED_24_MASK" "1 << 24")
+ '("modifier-reserved-25-mask" "CLUTTER_MODIFIER_RESERVED_25_MASK" "1 << 25")
'("super-mask" "CLUTTER_SUPER_MASK" "1 << 26")
'("hyper-mask" "CLUTTER_HYPER_MASK" "1 << 27")
'("meta-mask" "CLUTTER_META_MASK" "1 << 28")
+ '("modifier-reserved-29-mask" "CLUTTER_MODIFIER_RESERVED_29_MASK" "1 << 29")
'("release-mask" "CLUTTER_RELEASE_MASK" "1 << 30")
'("modifier-mask" "CLUTTER_MODIFIER_MASK" "0x5c001fff")
)
)
;; Original typedef:
+;; typedef enum { /*< prefix=CLUTTER_ACTOR >*/
+;; CLUTTER_ACTOR_MAPPED = 1 << 1,
+;; CLUTTER_ACTOR_REALIZED = 1 << 2,
+;; CLUTTER_ACTOR_REACTIVE = 1 << 3,
+;; CLUTTER_ACTOR_VISIBLE = 1 << 4,
+;; CLUTTER_ACTOR_NO_LAYOUT = 1 << 5
+;; } ClutterActorFlags;
+
+(define-flags-extended ActorFlags
+ (in-module "Clutter")
+ (c-name "ClutterActorFlags")
+ (values
+ '("mapped" "CLUTTER_ACTOR_MAPPED" "1 << 1")
+ '("realized" "CLUTTER_ACTOR_REALIZED" "1 << 2")
+ '("reactive" "CLUTTER_ACTOR_REACTIVE" "1 << 3")
+ '("visible" "CLUTTER_ACTOR_VISIBLE" "1 << 4")
+ '("no-layout" "CLUTTER_ACTOR_NO_LAYOUT" "1 << 5")
+ )
+)
+
+;; Original typedef:
+;; typedef enum { /*< prefix=CLUTTER_OFFSCREEN_REDIRECT >*/
+;; CLUTTER_OFFSCREEN_REDIRECT_AUTOMATIC_FOR_OPACITY = 1<<0,
+;; CLUTTER_OFFSCREEN_REDIRECT_ALWAYS = 1<<1
+;; } ClutterOffscreenRedirect;
+
+(define-flags-extended OffscreenRedirect
+ (in-module "Clutter")
+ (c-name "ClutterOffscreenRedirect")
+ (values
+ '("automatic-for-opacity" "CLUTTER_OFFSCREEN_REDIRECT_AUTOMATIC_FOR_OPACITY" "1<<0")
+ '("always" "CLUTTER_OFFSCREEN_REDIRECT_ALWAYS" "1<<1")
+ )
+)
+
+;; Original typedef:
;; typedef enum {
+;; CLUTTER_ALLOCATION_NONE = 0,
+;; CLUTTER_ABSOLUTE_ORIGIN_CHANGED = 1 << 1,
+;; CLUTTER_DELEGATE_LAYOUT = 1 << 2
+;; } ClutterAllocationFlags;
+
+(define-flags-extended AllocationFlags
+ (in-module "Clutter")
+ (c-name "ClutterAllocationFlags")
+ (values
+ '("allocation-none" "CLUTTER_ALLOCATION_NONE" "0x0")
+ '("absolute-origin-changed" "CLUTTER_ABSOLUTE_ORIGIN_CHANGED" "1 << 1")
+ '("delegate-layout" "CLUTTER_DELEGATE_LAYOUT" "1 << 2")
+ )
+)
+
+;; Original typedef:
+;; typedef enum { /*< prefix=CLUTTER_ALIGN >*/
+;; CLUTTER_ALIGN_X_AXIS,
+;; CLUTTER_ALIGN_Y_AXIS,
+;; CLUTTER_ALIGN_BOTH
+;; } ClutterAlignAxis;
+
+(define-enum-extended AlignAxis
+ (in-module "Clutter")
+ (c-name "ClutterAlignAxis")
+ (values
+ '("x-axis" "CLUTTER_ALIGN_X_AXIS" "0")
+ '("y-axis" "CLUTTER_ALIGN_Y_AXIS" "1")
+ '("both" "CLUTTER_ALIGN_BOTH" "2")
+ )
+)
+
+;; Original typedef:
+;; typedef enum {
+;; CLUTTER_INTERPOLATION_LINEAR,
+;; CLUTTER_INTERPOLATION_CUBIC
+;; } ClutterInterpolation;
+
+(define-enum-extended Interpolation
+ (in-module "Clutter")
+ (c-name "ClutterInterpolation")
+ (values
+ '("linear" "CLUTTER_INTERPOLATION_LINEAR" "0")
+ '("cubic" "CLUTTER_INTERPOLATION_CUBIC" "1")
+ )
+)
+
+;; Original typedef:
+;; typedef enum {
+;; CLUTTER_BIN_ALIGNMENT_FIXED,
+;; CLUTTER_BIN_ALIGNMENT_FILL,
+;; CLUTTER_BIN_ALIGNMENT_START,
+;; CLUTTER_BIN_ALIGNMENT_END,
+;; CLUTTER_BIN_ALIGNMENT_CENTER
+;; } ClutterBinAlignment;
+
+(define-enum-extended BinAlignment
+ (in-module "Clutter")
+ (c-name "ClutterBinAlignment")
+ (values
+ '("fixed" "CLUTTER_BIN_ALIGNMENT_FIXED" "0")
+ '("fill" "CLUTTER_BIN_ALIGNMENT_FILL" "1")
+ '("start" "CLUTTER_BIN_ALIGNMENT_START" "2")
+ '("end" "CLUTTER_BIN_ALIGNMENT_END" "3")
+ '("center" "CLUTTER_BIN_ALIGNMENT_CENTER" "4")
+ )
+)
+
+;; Original typedef:
+;; typedef enum { /*< prefix=CLUTTER_BIND >*/
+;; CLUTTER_BIND_X,
+;; CLUTTER_BIND_Y,
+;; CLUTTER_BIND_WIDTH,
+;; CLUTTER_BIND_HEIGHT,
+;; CLUTTER_BIND_POSITION,
+;; CLUTTER_BIND_SIZE,
+;; CLUTTER_BIND_ALL
+;; } ClutterBindCoordinate;
+
+(define-enum-extended BindCoordinate
+ (in-module "Clutter")
+ (c-name "ClutterBindCoordinate")
+ (values
+ '("x" "CLUTTER_BIND_X" "0")
+ '("y" "CLUTTER_BIND_Y" "1")
+ '("width" "CLUTTER_BIND_WIDTH" "2")
+ '("height" "CLUTTER_BIND_HEIGHT" "3")
+ '("position" "CLUTTER_BIND_POSITION" "4")
+ '("size" "CLUTTER_BIND_SIZE" "5")
+ '("all" "CLUTTER_BIND_ALL" "6")
+ )
+)
+
+;; Original typedef:
+;; typedef enum { /*< prefix=CLUTTER_EFFECT_PAINT >*/
+;; CLUTTER_EFFECT_PAINT_ACTOR_DIRTY = (1 << 0)
+;; } ClutterEffectPaintFlags;
+
+(define-flags-extended EffectPaintFlags
+ (in-module "Clutter")
+ (c-name "ClutterEffectPaintFlags")
+ (values
+ '("actor-dirty" "CLUTTER_EFFECT_PAINT_ACTOR_DIRTY" "(1 << 0)")
+ )
+)
+
+;; Original typedef:
+;; typedef enum {
+;; CLUTTER_BOX_ALIGNMENT_START,
+;; CLUTTER_BOX_ALIGNMENT_END,
+;; CLUTTER_BOX_ALIGNMENT_CENTER
+;; } ClutterBoxAlignment;
+
+(define-enum-extended BoxAlignment
+ (in-module "Clutter")
+ (c-name "ClutterBoxAlignment")
+ (values
+ '("start" "CLUTTER_BOX_ALIGNMENT_START" "0")
+ '("end" "CLUTTER_BOX_ALIGNMENT_END" "1")
+ '("center" "CLUTTER_BOX_ALIGNMENT_CENTER" "2")
+ )
+)
+
+;; Original typedef:
+;; typedef enum { /*< prefix=CLUTTER_LONG_PRESS >*/
+;; CLUTTER_LONG_PRESS_QUERY,
+;; CLUTTER_LONG_PRESS_ACTIVATE,
+;; CLUTTER_LONG_PRESS_CANCEL
+;; } ClutterLongPressState;
+
+(define-enum-extended LongPressState
+ (in-module "Clutter")
+ (c-name "ClutterLongPressState")
+ (values
+ '("query" "CLUTTER_LONG_PRESS_QUERY" "0")
+ '("activate" "CLUTTER_LONG_PRESS_ACTIVATE" "1")
+ '("cancel" "CLUTTER_LONG_PRESS_CANCEL" "2")
+ )
+)
+
+;; Original typedef:
+;; typedef enum { /*< prefix=CLUTTER_COLOR >*/
+;; /* CGA/EGA-like palette */
+;; CLUTTER_COLOR_WHITE = 0,
+;; CLUTTER_COLOR_BLACK,
+;; CLUTTER_COLOR_RED,
+;; CLUTTER_COLOR_DARK_RED,
+;; CLUTTER_COLOR_GREEN,
+;; CLUTTER_COLOR_DARK_GREEN,
+;; CLUTTER_COLOR_BLUE,
+;; CLUTTER_COLOR_DARK_BLUE,
+;; CLUTTER_COLOR_CYAN,
+;; CLUTTER_COLOR_DARK_CYAN,
+;; CLUTTER_COLOR_MAGENTA,
+;; CLUTTER_COLOR_DARK_MAGENTA,
+;; CLUTTER_COLOR_YELLOW,
+;; CLUTTER_COLOR_DARK_YELLOW,
+;; CLUTTER_COLOR_GRAY,
+;; CLUTTER_COLOR_DARK_GRAY,
+;; CLUTTER_COLOR_LIGHT_GRAY,
+;;
+;; /* Tango icon palette */
+;; CLUTTER_COLOR_BUTTER,
+;; CLUTTER_COLOR_BUTTER_LIGHT,
+;; CLUTTER_COLOR_BUTTER_DARK,
+;; CLUTTER_COLOR_ORANGE,
+;; CLUTTER_COLOR_ORANGE_LIGHT,
+;; CLUTTER_COLOR_ORANGE_DARK,
+;; CLUTTER_COLOR_CHOCOLATE,
+;; CLUTTER_COLOR_CHOCOLATE_LIGHT,
+;; CLUTTER_COLOR_CHOCOLATE_DARK,
+;; CLUTTER_COLOR_CHAMELEON,
+;; CLUTTER_COLOR_CHAMELEON_LIGHT,
+;; CLUTTER_COLOR_CHAMELEON_DARK,
+;; CLUTTER_COLOR_SKY_BLUE,
+;; CLUTTER_COLOR_SKY_BLUE_LIGHT,
+;; CLUTTER_COLOR_SKY_BLUE_DARK,
+;; CLUTTER_COLOR_PLUM,
+;; CLUTTER_COLOR_PLUM_LIGHT,
+;; CLUTTER_COLOR_PLUM_DARK,
+;; CLUTTER_COLOR_SCARLET_RED,
+;; CLUTTER_COLOR_SCARLET_RED_LIGHT,
+;; CLUTTER_COLOR_SCARLET_RED_DARK,
+;; CLUTTER_COLOR_ALUMINIUM_1,
+;; CLUTTER_COLOR_ALUMINIUM_2,
+;; CLUTTER_COLOR_ALUMINIUM_3,
+;; CLUTTER_COLOR_ALUMINIUM_4,
+;; CLUTTER_COLOR_ALUMINIUM_5,
+;; CLUTTER_COLOR_ALUMINIUM_6,
+;;
+;; /* Fully transparent black */
+;; CLUTTER_COLOR_TRANSPARENT
+;; } ClutterStaticColor;
+
+(define-enum-extended StaticColor
+ (in-module "Clutter")
+ (c-name "ClutterStaticColor")
+ (values
+ '("white" "CLUTTER_COLOR_WHITE" "0")
+ '("black" "CLUTTER_COLOR_BLACK" "1")
+ '("red" "CLUTTER_COLOR_RED" "2")
+ '("dark-red" "CLUTTER_COLOR_DARK_RED" "3")
+ '("green" "CLUTTER_COLOR_GREEN" "4")
+ '("dark-green" "CLUTTER_COLOR_DARK_GREEN" "5")
+ '("blue" "CLUTTER_COLOR_BLUE" "6")
+ '("dark-blue" "CLUTTER_COLOR_DARK_BLUE" "7")
+ '("cyan" "CLUTTER_COLOR_CYAN" "8")
+ '("dark-cyan" "CLUTTER_COLOR_DARK_CYAN" "9")
+ '("magenta" "CLUTTER_COLOR_MAGENTA" "10")
+ '("dark-magenta" "CLUTTER_COLOR_DARK_MAGENTA" "11")
+ '("yellow" "CLUTTER_COLOR_YELLOW" "12")
+ '("dark-yellow" "CLUTTER_COLOR_DARK_YELLOW" "13")
+ '("gray" "CLUTTER_COLOR_GRAY" "14")
+ '("dark-gray" "CLUTTER_COLOR_DARK_GRAY" "15")
+ '("light-gray" "CLUTTER_COLOR_LIGHT_GRAY" "16")
+ '("butter" "CLUTTER_COLOR_BUTTER" "17")
+ '("butter-light" "CLUTTER_COLOR_BUTTER_LIGHT" "18")
+ '("butter-dark" "CLUTTER_COLOR_BUTTER_DARK" "19")
+ '("orange" "CLUTTER_COLOR_ORANGE" "20")
+ '("orange-light" "CLUTTER_COLOR_ORANGE_LIGHT" "21")
+ '("orange-dark" "CLUTTER_COLOR_ORANGE_DARK" "22")
+ '("chocolate" "CLUTTER_COLOR_CHOCOLATE" "23")
+ '("chocolate-light" "CLUTTER_COLOR_CHOCOLATE_LIGHT" "24")
+ '("chocolate-dark" "CLUTTER_COLOR_CHOCOLATE_DARK" "25")
+ '("chameleon" "CLUTTER_COLOR_CHAMELEON" "26")
+ '("chameleon-light" "CLUTTER_COLOR_CHAMELEON_LIGHT" "27")
+ '("chameleon-dark" "CLUTTER_COLOR_CHAMELEON_DARK" "28")
+ '("sky-blue" "CLUTTER_COLOR_SKY_BLUE" "29")
+ '("sky-blue-light" "CLUTTER_COLOR_SKY_BLUE_LIGHT" "30")
+ '("sky-blue-dark" "CLUTTER_COLOR_SKY_BLUE_DARK" "31")
+ '("plum" "CLUTTER_COLOR_PLUM" "32")
+ '("plum-light" "CLUTTER_COLOR_PLUM_LIGHT" "33")
+ '("plum-dark" "CLUTTER_COLOR_PLUM_DARK" "34")
+ '("scarlet-red" "CLUTTER_COLOR_SCARLET_RED" "35")
+ '("scarlet-red-light" "CLUTTER_COLOR_SCARLET_RED_LIGHT" "36")
+ '("scarlet-red-dark" "CLUTTER_COLOR_SCARLET_RED_DARK" "37")
+ '("aluminium-1" "CLUTTER_COLOR_ALUMINIUM_1" "38")
+ '("aluminium-2" "CLUTTER_COLOR_ALUMINIUM_2" "39")
+ '("aluminium-3" "CLUTTER_COLOR_ALUMINIUM_3" "40")
+ '("aluminium-4" "CLUTTER_COLOR_ALUMINIUM_4" "41")
+ '("aluminium-5" "CLUTTER_COLOR_ALUMINIUM_5" "42")
+ '("aluminium-6" "CLUTTER_COLOR_ALUMINIUM_6" "43")
+ '("transparent" "CLUTTER_COLOR_TRANSPARENT" "44")
+ )
+)
+
+;; Original typedef:
+;; typedef enum { /*< prefix=CLUTTER_DRAG >*/
+;; CLUTTER_DRAG_AXIS_NONE = 0,
+;;
+;; CLUTTER_DRAG_X_AXIS,
+;; CLUTTER_DRAG_Y_AXIS
+;; } ClutterDragAxis;
+
+(define-enum-extended DragAxis
+ (in-module "Clutter")
+ (c-name "ClutterDragAxis")
+ (values
+ '("axis-none" "CLUTTER_DRAG_AXIS_NONE" "0")
+ '("x-axis" "CLUTTER_DRAG_X_AXIS" "1")
+ '("y-axis" "CLUTTER_DRAG_Y_AXIS" "2")
+ )
+)
+
+;; Original typedef:
+;; typedef enum { /*< flags prefix=CLUTTER_EVENT >*/
;; CLUTTER_EVENT_NONE = 0,
-;; CLUTTER_EVENT_FLAG_SYNTHETIC = 1 << 0,
+;; CLUTTER_EVENT_FLAG_SYNTHETIC = 1 << 0
;; } ClutterEventFlags;
(define-flags-extended EventFlags
@@ -260,8 +787,7 @@
)
;; Original typedef:
-;; typedef enum
-;; {
+;; typedef enum { /*< prefix=CLUTTER >*/
;; CLUTTER_NOTHING = 0,
;; CLUTTER_KEY_PRESS,
;; CLUTTER_KEY_RELEASE,
@@ -274,7 +800,13 @@
;; CLUTTER_STAGE_STATE,
;; CLUTTER_DESTROY_NOTIFY,
;; CLUTTER_CLIENT_MESSAGE,
-;; CLUTTER_DELETE
+;; CLUTTER_DELETE,
+;; CLUTTER_TOUCH_BEGIN,
+;; CLUTTER_TOUCH_UPDATE,
+;; CLUTTER_TOUCH_END,
+;; CLUTTER_TOUCH_CANCEL,
+;;
+;; CLUTTER_EVENT_LAST /* helper */
;; } ClutterEventType;
(define-enum-extended EventType
@@ -294,16 +826,21 @@
'("destroy-notify" "CLUTTER_DESTROY_NOTIFY" "10")
'("client-message" "CLUTTER_CLIENT_MESSAGE" "11")
'("delete" "CLUTTER_DELETE" "12")
+ '("touch-begin" "CLUTTER_TOUCH_BEGIN" "13")
+ '("touch-update" "CLUTTER_TOUCH_UPDATE" "14")
+ '("touch-end" "CLUTTER_TOUCH_END" "15")
+ '("touch-cancel" "CLUTTER_TOUCH_CANCEL" "16")
+ '("event-last" "CLUTTER_EVENT_LAST" "17")
)
)
;; Original typedef:
-;; typedef enum
-;; {
+;; typedef enum { /*< prefix=CLUTTER_SCROLL >*/
;; CLUTTER_SCROLL_UP,
;; CLUTTER_SCROLL_DOWN,
;; CLUTTER_SCROLL_LEFT,
-;; CLUTTER_SCROLL_RIGHT
+;; CLUTTER_SCROLL_RIGHT,
+;; CLUTTER_SCROLL_SMOOTH
;; } ClutterScrollDirection;
(define-enum-extended ScrollDirection
@@ -314,31 +851,29 @@
'("down" "CLUTTER_SCROLL_DOWN" "1")
'("left" "CLUTTER_SCROLL_LEFT" "2")
'("right" "CLUTTER_SCROLL_RIGHT" "3")
+ '("smooth" "CLUTTER_SCROLL_SMOOTH" "4")
)
)
;; Original typedef:
-;; typedef enum
-;; {
-;; CLUTTER_STAGE_STATE_FULLSCREEN = (1<<1),
-;; CLUTTER_STAGE_STATE_OFFSCREEN = (1<<2),
-;; CLUTTER_STAGE_STATE_ACTIVATED = (1<<3)
+;; typedef enum {
+;; CLUTTER_STAGE_STATE_FULLSCREEN = (1 << 1),
+;; CLUTTER_STAGE_STATE_OFFSCREEN = (1 << 2),
+;; CLUTTER_STAGE_STATE_ACTIVATED = (1 << 3)
;; } ClutterStageState;
(define-flags-extended StageState
(in-module "Clutter")
(c-name "ClutterStageState")
(values
- '("fullscreen" "CLUTTER_STAGE_STATE_FULLSCREEN" "(1<<1)")
- '("offscreen" "CLUTTER_STAGE_STATE_OFFSCREEN" "(1<<2)")
- '("activated" "CLUTTER_STAGE_STATE_ACTIVATED" "(1<<3)")
+ '("fullscreen" "CLUTTER_STAGE_STATE_FULLSCREEN" "(1 << 1)")
+ '("offscreen" "CLUTTER_STAGE_STATE_OFFSCREEN" "(1 << 2)")
+ '("activated" "CLUTTER_STAGE_STATE_ACTIVATED" "(1 << 3)")
)
)
-;; From clutter-feature.h
-
;; Original typedef:
-;; typedef enum
+;; typedef enum
;; {
;; CLUTTER_FEATURE_TEXTURE_NPOT = (1 << 2),
;; CLUTTER_FEATURE_SYNC_TO_VBLANK = (1 << 3),
@@ -371,8 +906,6 @@
)
)
-;; From clutter-flow-layout.h
-
;; Original typedef:
;; typedef enum { /*< prefix=CLUTTER_FLOW >*/
;; CLUTTER_FLOW_HORIZONTAL,
@@ -388,13 +921,18 @@
)
)
-;; From clutter-input-device.h
-
;; Original typedef:
;; typedef enum {
;; CLUTTER_POINTER_DEVICE,
;; CLUTTER_KEYBOARD_DEVICE,
;; CLUTTER_EXTENSION_DEVICE,
+;; CLUTTER_JOYSTICK_DEVICE,
+;; CLUTTER_TABLET_DEVICE,
+;; CLUTTER_TOUCHPAD_DEVICE,
+;; CLUTTER_TOUCHSCREEN_DEVICE,
+;; CLUTTER_PEN_DEVICE,
+;; CLUTTER_ERASER_DEVICE,
+;; CLUTTER_CURSOR_DEVICE,
;;
;; CLUTTER_N_DEVICE_TYPES
;; } ClutterInputDeviceType;
@@ -406,198 +944,152 @@
'("pointer-device" "CLUTTER_POINTER_DEVICE" "0")
'("keyboard-device" "CLUTTER_KEYBOARD_DEVICE" "1")
'("extension-device" "CLUTTER_EXTENSION_DEVICE" "2")
- '("n-device-types" "CLUTTER_N_DEVICE_TYPES" "3")
+ '("joystick-device" "CLUTTER_JOYSTICK_DEVICE" "3")
+ '("tablet-device" "CLUTTER_TABLET_DEVICE" "4")
+ '("touchpad-device" "CLUTTER_TOUCHPAD_DEVICE" "5")
+ '("touchscreen-device" "CLUTTER_TOUCHSCREEN_DEVICE" "6")
+ '("pen-device" "CLUTTER_PEN_DEVICE" "7")
+ '("eraser-device" "CLUTTER_ERASER_DEVICE" "8")
+ '("cursor-device" "CLUTTER_CURSOR_DEVICE" "9")
+ '("n-device-types" "CLUTTER_N_DEVICE_TYPES" "10")
)
)
-;; From clutter-main.h
-
;; Original typedef:
;; typedef enum {
-;; CLUTTER_INIT_SUCCESS = 1,
-;; CLUTTER_INIT_ERROR_UNKNOWN = 0,
-;; CLUTTER_INIT_ERROR_THREADS = -1,
-;; CLUTTER_INIT_ERROR_BACKEND = -2,
-;; CLUTTER_INIT_ERROR_INTERNAL = -3
-;; } ClutterInitError;
+;; CLUTTER_INPUT_MODE_MASTER,
+;; CLUTTER_INPUT_MODE_SLAVE,
+;; CLUTTER_INPUT_MODE_FLOATING
+;; } ClutterInputMode;
-(define-enum-extended InitError
+(define-enum-extended InputMode
(in-module "Clutter")
- (c-name "ClutterInitError")
+ (c-name "ClutterInputMode")
(values
- '("success" "CLUTTER_INIT_SUCCESS" "1")
- '("error-unknown" "CLUTTER_INIT_ERROR_UNKNOWN" "0")
- '("error-threads" "CLUTTER_INIT_ERROR_THREADS" "-1")
- '("error-backend" "CLUTTER_INIT_ERROR_BACKEND" "-2")
- '("error-internal" "CLUTTER_INIT_ERROR_INTERNAL" "-3")
+ '("master" "CLUTTER_INPUT_MODE_MASTER" "0")
+ '("slave" "CLUTTER_INPUT_MODE_SLAVE" "1")
+ '("floating" "CLUTTER_INPUT_MODE_FLOATING" "2")
)
)
-;; From clutter-path.h
-
;; Original typedef:
;; typedef enum {
-;; CLUTTER_PATH_MOVE_TO = 0,
-;; CLUTTER_PATH_LINE_TO = 1,
-;; CLUTTER_PATH_CURVE_TO = 2,
-;; CLUTTER_PATH_CLOSE = 3,
-;;
-;; CLUTTER_PATH_REL_MOVE_TO = CLUTTER_PATH_MOVE_TO | CLUTTER_PATH_RELATIVE,
-;; CLUTTER_PATH_REL_LINE_TO = CLUTTER_PATH_LINE_TO | CLUTTER_PATH_RELATIVE,
-;; CLUTTER_PATH_REL_CURVE_TO = CLUTTER_PATH_CURVE_TO | CLUTTER_PATH_RELATIVE
-;; } ClutterPathNodeType;
-
-(define-flags-extended PathNodeType
- (in-module "Clutter")
- (c-name "ClutterPathNodeType")
- (values
- '("move-to" "CLUTTER_PATH_MOVE_TO" "0x0")
- '("line-to" "CLUTTER_PATH_LINE_TO" "0x1")
- '("curve-to" "CLUTTER_PATH_CURVE_TO" "0x2")
- '("close" "CLUTTER_PATH_CLOSE" "0x3")
- '("rel-move-to" "CLUTTER_PATH_REL_MOVE_TO" "0 | CLUTTER_PATH_RELATIVE")
- '("rel-line-to" "CLUTTER_PATH_REL_LINE_TO" "1 | CLUTTER_PATH_RELATIVE")
- '("rel-curve-to" "CLUTTER_PATH_REL_CURVE_TO" "2 | CLUTTER_PATH_RELATIVE")
- )
-)
-
-;; From clutter-private.h
-
-;; Original typedef:
-;; typedef enum {
-;; CLUTTER_ACTOR_UNUSED_FLAG = 0,
-;;
-;; CLUTTER_ACTOR_IN_DESTRUCTION = 1 << 0,
-;; CLUTTER_ACTOR_IS_TOPLEVEL = 1 << 1,
-;; CLUTTER_ACTOR_IN_REPARENT = 1 << 2,
-;;
-;; /* Used by the stage to indicate GL viewport / perspective etc needs
-;; * (re)setting.
-;; */
-;; CLUTTER_ACTOR_SYNC_MATRICES = 1 << 3,
-;;
-;; /* Used to avoid recursion */
-;; CLUTTER_ACTOR_IN_PAINT = 1 << 4,
-;;
-;; /* Used to avoid recursion */
-;; CLUTTER_ACTOR_IN_RELAYOUT = 1 << 5,
+;; CLUTTER_INPUT_AXIS_IGNORE,
;;
-;; /* Used by the stage if resizing is an asynchronous operation (like on
-;; * X11) to delay queueing relayouts until we got a notification from the
-;; * event handling
-;; */
-;; CLUTTER_STAGE_IN_RESIZE = 1 << 6,
+;; CLUTTER_INPUT_AXIS_X,
+;; CLUTTER_INPUT_AXIS_Y,
+;; CLUTTER_INPUT_AXIS_PRESSURE,
+;; CLUTTER_INPUT_AXIS_XTILT,
+;; CLUTTER_INPUT_AXIS_YTILT,
+;; CLUTTER_INPUT_AXIS_WHEEL,
+;; CLUTTER_INPUT_AXIS_DISTANCE,
;;
-;; /* a flag for internal children of Containers */
-;; CLUTTER_ACTOR_INTERNAL_CHILD = 1 << 7
-;; } ClutterPrivateFlags;
+;; CLUTTER_INPUT_AXIS_LAST
+;; } ClutterInputAxis;
-(define-flags-extended PrivateFlags
+(define-enum-extended InputAxis
(in-module "Clutter")
- (c-name "ClutterPrivateFlags")
+ (c-name "ClutterInputAxis")
(values
- '("actor-unused-flag" "CLUTTER_ACTOR_UNUSED_FLAG" "0x0")
- '("actor-in-destruction" "CLUTTER_ACTOR_IN_DESTRUCTION" "1 << 0")
- '("actor-is-toplevel" "CLUTTER_ACTOR_IS_TOPLEVEL" "1 << 1")
- '("actor-in-reparent" "CLUTTER_ACTOR_IN_REPARENT" "1 << 2")
- '("actor-sync-matrices" "CLUTTER_ACTOR_SYNC_MATRICES" "1 << 3")
- '("actor-in-paint" "CLUTTER_ACTOR_IN_PAINT" "1 << 4")
- '("actor-in-relayout" "CLUTTER_ACTOR_IN_RELAYOUT" "1 << 5")
- '("stage-in-resize" "CLUTTER_STAGE_IN_RESIZE" "1 << 6")
- '("actor-internal-child" "CLUTTER_ACTOR_INTERNAL_CHILD" "1 << 7")
+ '("ignore" "CLUTTER_INPUT_AXIS_IGNORE" "0")
+ '("x" "CLUTTER_INPUT_AXIS_X" "1")
+ '("y" "CLUTTER_INPUT_AXIS_Y" "2")
+ '("pressure" "CLUTTER_INPUT_AXIS_PRESSURE" "3")
+ '("xtilt" "CLUTTER_INPUT_AXIS_XTILT" "4")
+ '("ytilt" "CLUTTER_INPUT_AXIS_YTILT" "5")
+ '("wheel" "CLUTTER_INPUT_AXIS_WHEEL" "6")
+ '("distance" "CLUTTER_INPUT_AXIS_DISTANCE" "7")
+ '("last" "CLUTTER_INPUT_AXIS_LAST" "8")
)
)
-;; From clutter-profile.h
-
;; Original typedef:
;; typedef enum {
-;; CLUTTER_PROFILE_PICKING_ONLY = 1 << 0,
-;; CLUTTER_PROFILE_DISABLE_REPORT = 1 << 1
-;; } ClutterProfileFlag;
+;; CLUTTER_SNAP_EDGE_TOP,
+;; CLUTTER_SNAP_EDGE_RIGHT,
+;; CLUTTER_SNAP_EDGE_BOTTOM,
+;; CLUTTER_SNAP_EDGE_LEFT
+;; } ClutterSnapEdge;
-(define-flags-extended ProfileFlag
+(define-enum-extended SnapEdge
(in-module "Clutter")
- (c-name "ClutterProfileFlag")
+ (c-name "ClutterSnapEdge")
(values
- '("picking-only" "CLUTTER_PROFILE_PICKING_ONLY" "1 << 0")
- '("disable-report" "CLUTTER_PROFILE_DISABLE_REPORT" "1 << 1")
+ '("top" "CLUTTER_SNAP_EDGE_TOP" "0")
+ '("right" "CLUTTER_SNAP_EDGE_RIGHT" "1")
+ '("bottom" "CLUTTER_SNAP_EDGE_BOTTOM" "2")
+ '("left" "CLUTTER_SNAP_EDGE_LEFT" "3")
)
)
-;; From clutter-script.h
-
;; Original typedef:
;; typedef enum {
-;; CLUTTER_SCRIPT_ERROR_INVALID_TYPE_FUNCTION,
-;; CLUTTER_SCRIPT_ERROR_INVALID_PROPERTY,
-;; CLUTTER_SCRIPT_ERROR_INVALID_VALUE
-;; } ClutterScriptError;
+;; CLUTTER_PICK_NONE = 0,
+;; CLUTTER_PICK_REACTIVE,
+;; CLUTTER_PICK_ALL
+;; } ClutterPickMode;
-(define-enum-extended ScriptError
+(define-enum-extended PickMode
(in-module "Clutter")
- (c-name "ClutterScriptError")
+ (c-name "ClutterPickMode")
(values
- '("type-function" "CLUTTER_SCRIPT_ERROR_INVALID_TYPE_FUNCTION" "0")
- '("property" "CLUTTER_SCRIPT_ERROR_INVALID_PROPERTY" "1")
- '("value" "CLUTTER_SCRIPT_ERROR_INVALID_VALUE" "2")
+ '("none" "CLUTTER_PICK_NONE" "0")
+ '("reactive" "CLUTTER_PICK_REACTIVE" "1")
+ '("all" "CLUTTER_PICK_ALL" "2")
)
)
-;; From clutter-shader.h
-
;; Original typedef:
-;; typedef enum {
-;; CLUTTER_SHADER_ERROR_NO_ASM,
-;; CLUTTER_SHADER_ERROR_NO_GLSL,
-;; CLUTTER_SHADER_ERROR_COMPILE
-;; } ClutterShaderError;
-
-(define-enum-extended ShaderError
+;; typedef enum { /*< prefix=CLUTTER_SWIPE_DIRECTION >*/
+;; CLUTTER_SWIPE_DIRECTION_UP = 1 << 0,
+;; CLUTTER_SWIPE_DIRECTION_DOWN = 1 << 1,
+;; CLUTTER_SWIPE_DIRECTION_LEFT = 1 << 2,
+;; CLUTTER_SWIPE_DIRECTION_RIGHT = 1 << 3
+;; } ClutterSwipeDirection;
+
+(define-flags-extended SwipeDirection
(in-module "Clutter")
- (c-name "ClutterShaderError")
+ (c-name "ClutterSwipeDirection")
(values
- '("no-asm" "CLUTTER_SHADER_ERROR_NO_ASM" "0")
- '("no-glsl" "CLUTTER_SHADER_ERROR_NO_GLSL" "1")
- '("compile" "CLUTTER_SHADER_ERROR_COMPILE" "2")
+ '("up" "CLUTTER_SWIPE_DIRECTION_UP" "1 << 0")
+ '("down" "CLUTTER_SWIPE_DIRECTION_DOWN" "1 << 1")
+ '("left" "CLUTTER_SWIPE_DIRECTION_LEFT" "1 << 2")
+ '("right" "CLUTTER_SWIPE_DIRECTION_RIGHT" "1 << 3")
)
)
-;; From clutter-stage.h
-
;; Original typedef:
-;; typedef enum {
-;; CLUTTER_PICK_NONE = 0,
-;; CLUTTER_PICK_REACTIVE,
-;; CLUTTER_PICK_ALL
-;; } ClutterPickMode;
+;; typedef enum { /*< prefix=CLUTTER_PAN >*/
+;; CLUTTER_PAN_AXIS_NONE = 0,
+;;
+;; CLUTTER_PAN_X_AXIS,
+;; CLUTTER_PAN_Y_AXIS
+;; } ClutterPanAxis;
-(define-enum-extended PickMode
+(define-enum-extended PanAxis
(in-module "Clutter")
- (c-name "ClutterPickMode")
+ (c-name "ClutterPanAxis")
(values
- '("none" "CLUTTER_PICK_NONE" "0")
- '("reactive" "CLUTTER_PICK_REACTIVE" "1")
- '("all" "CLUTTER_PICK_ALL" "2")
+ '("axis-none" "CLUTTER_PAN_AXIS_NONE" "0")
+ '("x-axis" "CLUTTER_PAN_X_AXIS" "1")
+ '("y-axis" "CLUTTER_PAN_Y_AXIS" "2")
)
)
-;; From clutter-texture.h
-
;; Original typedef:
;; typedef enum {
-;; CLUTTER_TEXTURE_ERROR_OUT_OF_MEMORY,
-;; CLUTTER_TEXTURE_ERROR_NO_YUV,
-;; CLUTTER_TEXTURE_ERROR_BAD_FORMAT
-;; } ClutterTextureError;
+;; CLUTTER_TABLE_ALIGNMENT_START,
+;; CLUTTER_TABLE_ALIGNMENT_CENTER,
+;; CLUTTER_TABLE_ALIGNMENT_END
+;; } ClutterTableAlignment;
-(define-enum-extended TextureError
+(define-enum-extended TableAlignment
(in-module "Clutter")
- (c-name "ClutterTextureError")
+ (c-name "ClutterTableAlignment")
(values
- '("out-of-memory" "CLUTTER_TEXTURE_ERROR_OUT_OF_MEMORY" "0")
- '("no-yuv" "CLUTTER_TEXTURE_ERROR_NO_YUV" "1")
- '("bad-format" "CLUTTER_TEXTURE_ERROR_BAD_FORMAT" "2")
+ '("start" "CLUTTER_TABLE_ALIGNMENT_START" "0")
+ '("center" "CLUTTER_TABLE_ALIGNMENT_CENTER" "1")
+ '("end" "CLUTTER_TABLE_ALIGNMENT_END" "2")
)
)
@@ -639,8 +1131,6 @@
)
)
-;; From clutter-timeline.h
-
;; Original typedef:
;; typedef enum {
;; CLUTTER_TIMELINE_FORWARD,
@@ -656,240 +1146,456 @@
)
)
-;; From clutter-types.h
-
;; Original typedef:
-;; typedef enum { /*< prefix=CLUTTER_GRAVITY >*/
-;; CLUTTER_GRAVITY_NONE = 0,
-;; CLUTTER_GRAVITY_NORTH,
-;; CLUTTER_GRAVITY_NORTH_EAST,
-;; CLUTTER_GRAVITY_EAST,
-;; CLUTTER_GRAVITY_SOUTH_EAST,
-;; CLUTTER_GRAVITY_SOUTH,
-;; CLUTTER_GRAVITY_SOUTH_WEST,
-;; CLUTTER_GRAVITY_WEST,
-;; CLUTTER_GRAVITY_NORTH_WEST,
-;; CLUTTER_GRAVITY_CENTER
-;; } ClutterGravity;
+;; typedef enum { /*< prefix=CLUTTER_UNIT >*/
+;; CLUTTER_UNIT_PIXEL,
+;; CLUTTER_UNIT_EM,
+;; CLUTTER_UNIT_MM,
+;; CLUTTER_UNIT_POINT,
+;; CLUTTER_UNIT_CM
+;; } ClutterUnitType;
-(define-enum-extended Gravity
+(define-enum-extended UnitType
(in-module "Clutter")
- (c-name "ClutterGravity")
+ (c-name "ClutterUnitType")
(values
- '("none" "CLUTTER_GRAVITY_NONE" "0")
- '("north" "CLUTTER_GRAVITY_NORTH" "1")
- '("north-east" "CLUTTER_GRAVITY_NORTH_EAST" "2")
- '("east" "CLUTTER_GRAVITY_EAST" "3")
- '("south-east" "CLUTTER_GRAVITY_SOUTH_EAST" "4")
- '("south" "CLUTTER_GRAVITY_SOUTH" "5")
- '("south-west" "CLUTTER_GRAVITY_SOUTH_WEST" "6")
- '("west" "CLUTTER_GRAVITY_WEST" "7")
- '("north-west" "CLUTTER_GRAVITY_NORTH_WEST" "8")
- '("center" "CLUTTER_GRAVITY_CENTER" "9")
+ '("pixel" "CLUTTER_UNIT_PIXEL" "0")
+ '("em" "CLUTTER_UNIT_EM" "1")
+ '("mm" "CLUTTER_UNIT_MM" "2")
+ '("point" "CLUTTER_UNIT_POINT" "3")
+ '("cm" "CLUTTER_UNIT_CM" "4")
)
)
;; Original typedef:
-;; typedef enum { /*< prefix=CLUTTER >*/
-;; CLUTTER_X_AXIS,
-;; CLUTTER_Y_AXIS,
-;; CLUTTER_Z_AXIS
-;; } ClutterRotateAxis;
+;; typedef enum {
+;; CLUTTER_PATH_MOVE_TO = 0,
+;; CLUTTER_PATH_LINE_TO = 1,
+;; CLUTTER_PATH_CURVE_TO = 2,
+;; CLUTTER_PATH_CLOSE = 3,
+;;
+;; CLUTTER_PATH_REL_MOVE_TO = CLUTTER_PATH_MOVE_TO | CLUTTER_PATH_RELATIVE,
+;; CLUTTER_PATH_REL_LINE_TO = CLUTTER_PATH_LINE_TO | CLUTTER_PATH_RELATIVE,
+;; CLUTTER_PATH_REL_CURVE_TO = CLUTTER_PATH_CURVE_TO | CLUTTER_PATH_RELATIVE
+;; } ClutterPathNodeType;
-(define-enum-extended RotateAxis
+(define-flags-extended PathNodeType
(in-module "Clutter")
- (c-name "ClutterRotateAxis")
+ (c-name "ClutterPathNodeType")
(values
- '("x-axis" "CLUTTER_X_AXIS" "0")
- '("y-axis" "CLUTTER_Y_AXIS" "1")
- '("z-axis" "CLUTTER_Z_AXIS" "2")
+ '("move-to" "CLUTTER_PATH_MOVE_TO" "0x0")
+ '("line-to" "CLUTTER_PATH_LINE_TO" "0x1")
+ '("curve-to" "CLUTTER_PATH_CURVE_TO" "0x2")
+ '("close" "CLUTTER_PATH_CLOSE" "0x3")
+ '("rel-move-to" "CLUTTER_PATH_REL_MOVE_TO" "0 | CLUTTER_PATH_RELATIVE")
+ '("rel-line-to" "CLUTTER_PATH_REL_LINE_TO" "1 | CLUTTER_PATH_RELATIVE")
+ '("rel-curve-to" "CLUTTER_PATH_REL_CURVE_TO" "2 | CLUTTER_PATH_RELATIVE")
)
)
;; Original typedef:
-;; typedef enum { /*< prefix=CLUTTER_ROTATE >*/
-;; CLUTTER_ROTATE_CW,
-;; CLUTTER_ROTATE_CCW
-;; } ClutterRotateDirection;
+;; typedef enum {
+;; CLUTTER_ACTOR_ALIGN_FILL,
+;; CLUTTER_ACTOR_ALIGN_START,
+;; CLUTTER_ACTOR_ALIGN_CENTER,
+;; CLUTTER_ACTOR_ALIGN_END
+;; } ClutterActorAlign;
-(define-enum-extended RotateDirection
+(define-enum-extended ActorAlign
(in-module "Clutter")
- (c-name "ClutterRotateDirection")
+ (c-name "ClutterActorAlign")
(values
- '("cw" "CLUTTER_ROTATE_CW" "0")
- '("ccw" "CLUTTER_ROTATE_CCW" "1")
+ '("fill" "CLUTTER_ACTOR_ALIGN_FILL" "0")
+ '("start" "CLUTTER_ACTOR_ALIGN_START" "1")
+ '("center" "CLUTTER_ACTOR_ALIGN_CENTER" "2")
+ '("end" "CLUTTER_ACTOR_ALIGN_END" "3")
)
)
;; Original typedef:
;; typedef enum {
-;; CLUTTER_REQUEST_HEIGHT_FOR_WIDTH,
-;; CLUTTER_REQUEST_WIDTH_FOR_HEIGHT
-;; } ClutterRequestMode;
+;; CLUTTER_REPAINT_FLAGS_PRE_PAINT = 1 << 0,
+;; CLUTTER_REPAINT_FLAGS_POST_PAINT = 1 << 1,
+;; CLUTTER_REPAINT_FLAGS_QUEUE_REDRAW_ON_ADD = 1 << 2
+;; } ClutterRepaintFlags;
-(define-enum-extended RequestMode
+(define-flags-extended RepaintFlags
(in-module "Clutter")
- (c-name "ClutterRequestMode")
+ (c-name "ClutterRepaintFlags")
(values
- '("height-for-width" "CLUTTER_REQUEST_HEIGHT_FOR_WIDTH" "0")
- '("width-for-height" "CLUTTER_REQUEST_WIDTH_FOR_HEIGHT" "1")
+ '("pre-paint" "CLUTTER_REPAINT_FLAGS_PRE_PAINT" "1 << 0")
+ '("post-paint" "CLUTTER_REPAINT_FLAGS_POST_PAINT" "1 << 1")
+ '("queue-redraw-on-add" "CLUTTER_REPAINT_FLAGS_QUEUE_REDRAW_ON_ADD" "1 << 2")
)
)
;; Original typedef:
;; typedef enum {
-;; CLUTTER_CUSTOM_MODE = 0,
+;; CLUTTER_CONTENT_GRAVITY_TOP_LEFT,
+;; CLUTTER_CONTENT_GRAVITY_TOP,
+;; CLUTTER_CONTENT_GRAVITY_TOP_RIGHT,
;;
-;; /* linear */
-;; CLUTTER_LINEAR,
+;; CLUTTER_CONTENT_GRAVITY_LEFT,
+;; CLUTTER_CONTENT_GRAVITY_CENTER,
+;; CLUTTER_CONTENT_GRAVITY_RIGHT,
;;
-;; /* quadratic */
-;; CLUTTER_EASE_IN_QUAD,
-;; CLUTTER_EASE_OUT_QUAD,
-;; CLUTTER_EASE_IN_OUT_QUAD,
+;; CLUTTER_CONTENT_GRAVITY_BOTTOM_LEFT,
+;; CLUTTER_CONTENT_GRAVITY_BOTTOM,
+;; CLUTTER_CONTENT_GRAVITY_BOTTOM_RIGHT,
;;
-;; /* cubic */
-;; CLUTTER_EASE_IN_CUBIC,
-;; CLUTTER_EASE_OUT_CUBIC,
-;; CLUTTER_EASE_IN_OUT_CUBIC,
-;;
-;; /* quartic */
-;; CLUTTER_EASE_IN_QUART,
-;; CLUTTER_EASE_OUT_QUART,
-;; CLUTTER_EASE_IN_OUT_QUART,
-;;
-;; /* quintic */
-;; CLUTTER_EASE_IN_QUINT,
-;; CLUTTER_EASE_OUT_QUINT,
-;; CLUTTER_EASE_IN_OUT_QUINT,
+;; CLUTTER_CONTENT_GRAVITY_RESIZE_FILL,
+;; CLUTTER_CONTENT_GRAVITY_RESIZE_ASPECT
+;; } ClutterContentGravity;
+
+(define-enum-extended ContentGravity
+ (in-module "Clutter")
+ (c-name "ClutterContentGravity")
+ (values
+ '("top-left" "CLUTTER_CONTENT_GRAVITY_TOP_LEFT" "0")
+ '("top" "CLUTTER_CONTENT_GRAVITY_TOP" "1")
+ '("top-right" "CLUTTER_CONTENT_GRAVITY_TOP_RIGHT" "2")
+ '("left" "CLUTTER_CONTENT_GRAVITY_LEFT" "3")
+ '("center" "CLUTTER_CONTENT_GRAVITY_CENTER" "4")
+ '("right" "CLUTTER_CONTENT_GRAVITY_RIGHT" "5")
+ '("bottom-left" "CLUTTER_CONTENT_GRAVITY_BOTTOM_LEFT" "6")
+ '("bottom" "CLUTTER_CONTENT_GRAVITY_BOTTOM" "7")
+ '("bottom-right" "CLUTTER_CONTENT_GRAVITY_BOTTOM_RIGHT" "8")
+ '("resize-fill" "CLUTTER_CONTENT_GRAVITY_RESIZE_FILL" "9")
+ '("resize-aspect" "CLUTTER_CONTENT_GRAVITY_RESIZE_ASPECT" "10")
+ )
+)
+
+;; Original typedef:
+;; typedef enum {
+;; CLUTTER_SCALING_FILTER_LINEAR,
+;; CLUTTER_SCALING_FILTER_NEAREST,
+;; CLUTTER_SCALING_FILTER_TRILINEAR
+;; } ClutterScalingFilter;
+
+(define-enum-extended ScalingFilter
+ (in-module "Clutter")
+ (c-name "ClutterScalingFilter")
+ (values
+ '("linear" "CLUTTER_SCALING_FILTER_LINEAR" "0")
+ '("nearest" "CLUTTER_SCALING_FILTER_NEAREST" "1")
+ '("trilinear" "CLUTTER_SCALING_FILTER_TRILINEAR" "2")
+ )
+)
+
+;; Original typedef:
+;; typedef enum {
+;; CLUTTER_ORIENTATION_HORIZONTAL,
+;; CLUTTER_ORIENTATION_VERTICAL
+;; } ClutterOrientation;
+
+(define-enum-extended Orientation
+ (in-module "Clutter")
+ (c-name "ClutterOrientation")
+ (values
+ '("horizontal" "CLUTTER_ORIENTATION_HORIZONTAL" "0")
+ '("vertical" "CLUTTER_ORIENTATION_VERTICAL" "1")
+ )
+)
+
+;; Original typedef:
+;; typedef enum { /*< prefix=CLUTTER_SCROLL >*/
+;; CLUTTER_SCROLL_NONE = 0,
;;
-;; /* sinusoidal */
-;; CLUTTER_EASE_IN_SINE,
-;; CLUTTER_EASE_OUT_SINE,
-;; CLUTTER_EASE_IN_OUT_SINE,
+;; CLUTTER_SCROLL_HORIZONTALLY = 1 << 0,
+;; CLUTTER_SCROLL_VERTICALLY = 1 << 1,
;;
-;; /* exponential */
-;; CLUTTER_EASE_IN_EXPO,
-;; CLUTTER_EASE_OUT_EXPO,
-;; CLUTTER_EASE_IN_OUT_EXPO,
+;; CLUTTER_SCROLL_BOTH = CLUTTER_SCROLL_HORIZONTALLY | CLUTTER_SCROLL_VERTICALLY
+;; } ClutterScrollMode;
+
+(define-flags-extended ScrollMode
+ (in-module "Clutter")
+ (c-name "ClutterScrollMode")
+ (values
+ '("none" "CLUTTER_SCROLL_NONE" "0x0")
+ '("horizontally" "CLUTTER_SCROLL_HORIZONTALLY" "1 << 0")
+ '("vertically" "CLUTTER_SCROLL_VERTICALLY" "1 << 1")
+ '("both" "CLUTTER_SCROLL_BOTH" "0x3")
+ )
+)
+
+;; Original typedef:
+;; typedef enum {
+;; CLUTTER_GRID_POSITION_LEFT,
+;; CLUTTER_GRID_POSITION_RIGHT,
+;; CLUTTER_GRID_POSITION_TOP,
+;; CLUTTER_GRID_POSITION_BOTTOM
+;; } ClutterGridPosition;
+
+(define-enum-extended GridPosition
+ (in-module "Clutter")
+ (c-name "ClutterGridPosition")
+ (values
+ '("left" "CLUTTER_GRID_POSITION_LEFT" "0")
+ '("right" "CLUTTER_GRID_POSITION_RIGHT" "1")
+ '("top" "CLUTTER_GRID_POSITION_TOP" "2")
+ '("bottom" "CLUTTER_GRID_POSITION_BOTTOM" "3")
+ )
+)
+
+;; Original typedef:
+;; typedef enum {
+;; CLUTTER_REPEAT_NONE = 0,
+;; CLUTTER_REPEAT_X_AXIS = 1 << 0,
+;; CLUTTER_REPEAT_Y_AXIS = 1 << 1,
+;; CLUTTER_REPEAT_BOTH = CLUTTER_REPEAT_X_AXIS | CLUTTER_REPEAT_Y_AXIS
+;; } ClutterContentRepeat;
+
+(define-flags-extended ContentRepeat
+ (in-module "Clutter")
+ (c-name "ClutterContentRepeat")
+ (values
+ '("none" "CLUTTER_REPEAT_NONE" "0x0")
+ '("x-axis" "CLUTTER_REPEAT_X_AXIS" "1 << 0")
+ '("y-axis" "CLUTTER_REPEAT_Y_AXIS" "1 << 1")
+ '("both" "CLUTTER_REPEAT_BOTH" "0x3")
+ )
+)
+
+;; Original typedef:
+;; typedef enum {
+;; CLUTTER_STEP_MODE_START,
+;; CLUTTER_STEP_MODE_END
+;; } ClutterStepMode;
+
+(define-enum-extended StepMode
+ (in-module "Clutter")
+ (c-name "ClutterStepMode")
+ (values
+ '("start" "CLUTTER_STEP_MODE_START" "0")
+ '("end" "CLUTTER_STEP_MODE_END" "1")
+ )
+)
+
+;; Original typedef:
+;; typedef enum { /*< prefix=CLUTTER_ZOOM >*/
+;; CLUTTER_ZOOM_X_AXIS,
+;; CLUTTER_ZOOM_Y_AXIS,
+;; CLUTTER_ZOOM_BOTH
+;; } ClutterZoomAxis;
+
+(define-enum-extended ZoomAxis
+ (in-module "Clutter")
+ (c-name "ClutterZoomAxis")
+ (values
+ '("x-axis" "CLUTTER_ZOOM_X_AXIS" "0")
+ '("y-axis" "CLUTTER_ZOOM_Y_AXIS" "1")
+ '("both" "CLUTTER_ZOOM_BOTH" "2")
+ )
+)
+
+;; Original typedef:
+;; typedef enum {
+;; CLUTTER_GESTURE_TRIGGER_EDGE_NONE = 0,
+;; CLUTTER_GESTURE_TRIGGER_EDGE_AFTER,
+;; CLUTTER_GESTURE_TRIGGER_EDGE_BEFORE
+;; } ClutterGestureTriggerEdge;
+
+(define-enum-extended GestureTriggerEdge
+ (in-module "Clutter")
+ (c-name "ClutterGestureTriggerEdge")
+ (values
+ '("none" "CLUTTER_GESTURE_TRIGGER_EDGE_NONE" "0")
+ '("after" "CLUTTER_GESTURE_TRIGGER_EDGE_AFTER" "1")
+ '("before" "CLUTTER_GESTURE_TRIGGER_EDGE_BEFORE" "2")
+ )
+)
+
+;; From clutter-event-translator.h
+
+;; Original typedef:
+;; typedef enum {
+;; CLUTTER_TRANSLATE_CONTINUE,
+;; CLUTTER_TRANSLATE_REMOVE,
+;; CLUTTER_TRANSLATE_QUEUE
+;; } ClutterTranslateReturn;
+
+(define-enum-extended TranslateReturn
+ (in-module "Clutter")
+ (c-name "ClutterTranslateReturn")
+ (values
+ '("continue" "CLUTTER_TRANSLATE_CONTINUE" "0")
+ '("remove" "CLUTTER_TRANSLATE_REMOVE" "1")
+ '("queue" "CLUTTER_TRANSLATE_QUEUE" "2")
+ )
+)
+
+;; From clutter-image.h
+
+;; Original typedef:
+;; typedef enum {
+;; CLUTTER_IMAGE_ERROR_INVALID_DATA
+;; } ClutterImageError;
+
+(define-enum-extended ImageError
+ (in-module "Clutter")
+ (c-name "ClutterImageError")
+ (values
+ '("invalid-data" "CLUTTER_IMAGE_ERROR_INVALID_DATA" "0")
+ )
+)
+
+;; From clutter-main.h
+
+;; Original typedef:
+;; typedef enum {
+;; CLUTTER_INIT_SUCCESS = 1,
+;; CLUTTER_INIT_ERROR_UNKNOWN = 0,
+;; CLUTTER_INIT_ERROR_THREADS = -1,
+;; CLUTTER_INIT_ERROR_BACKEND = -2,
+;; CLUTTER_INIT_ERROR_INTERNAL = -3
+;; } ClutterInitError;
+
+(define-enum-extended InitError
+ (in-module "Clutter")
+ (c-name "ClutterInitError")
+ (values
+ '("success" "CLUTTER_INIT_SUCCESS" "1")
+ '("error-unknown" "CLUTTER_INIT_ERROR_UNKNOWN" "0")
+ '("error-threads" "CLUTTER_INIT_ERROR_THREADS" "-1")
+ '("error-backend" "CLUTTER_INIT_ERROR_BACKEND" "-2")
+ '("error-internal" "CLUTTER_INIT_ERROR_INTERNAL" "-3")
+ )
+)
+
+;; From clutter-paint-node-private.h
+
+;; Original typedef:
+;; typedef enum {
+;; PAINT_OP_INVALID = 0,
+;; PAINT_OP_TEX_RECT,
+;; PAINT_OP_PATH,
+;; PAINT_OP_PRIMITIVE
+;; } PaintOpCode;
+
+(define-enum-extended PaintOpCode
+ (in-module "Clutter")
+ (c-name "PaintOpCode")
+ (values
+ '("invalid" "PAINT_OP_INVALID" "0")
+ '("tex-rect" "PAINT_OP_TEX_RECT" "1")
+ '("path" "PAINT_OP_PATH" "2")
+ '("primitive" "PAINT_OP_PRIMITIVE" "3")
+ )
+)
+
+;; From clutter-private.h
+
+;; Original typedef:
+;; typedef enum {
+;; CLUTTER_ACTOR_UNUSED_FLAG = 0,
;;
-;; /* circular */
-;; CLUTTER_EASE_IN_CIRC,
-;; CLUTTER_EASE_OUT_CIRC,
-;; CLUTTER_EASE_IN_OUT_CIRC,
+;; CLUTTER_IN_DESTRUCTION = 1 << 0,
+;; CLUTTER_IS_TOPLEVEL = 1 << 1,
+;; CLUTTER_IN_REPARENT = 1 << 2,
;;
-;; /* elastic */
-;; CLUTTER_EASE_IN_ELASTIC,
-;; CLUTTER_EASE_OUT_ELASTIC,
-;; CLUTTER_EASE_IN_OUT_ELASTIC,
+;; /* Used to avoid recursion */
+;; CLUTTER_IN_PAINT = 1 << 3,
;;
-;; /* overshooting cubic */
-;; CLUTTER_EASE_IN_BACK,
-;; CLUTTER_EASE_OUT_BACK,
-;; CLUTTER_EASE_IN_OUT_BACK,
+;; /* Used to avoid recursion */
+;; CLUTTER_IN_RELAYOUT = 1 << 4,
;;
-;; /* exponentially decaying parabolic */
-;; CLUTTER_EASE_IN_BOUNCE,
-;; CLUTTER_EASE_OUT_BOUNCE,
-;; CLUTTER_EASE_IN_OUT_BOUNCE,
+;; /* Used by the stage if resizing is an asynchronous operation (like on
+;; * X11) to delay queueing relayouts until we got a notification from the
+;; * event handling
+;; */
+;; CLUTTER_IN_RESIZE = 1 << 5,
;;
-;; /* guard, before registered alpha functions */
-;; CLUTTER_ANIMATION_LAST
-;; } ClutterAnimationMode;
+;; /* a flag for internal children of Containers */
+;; CLUTTER_INTERNAL_CHILD = 1 << 6
+;; } ClutterPrivateFlags;
-(define-enum-extended AnimationMode
+(define-flags-extended PrivateFlags
(in-module "Clutter")
- (c-name "ClutterAnimationMode")
+ (c-name "ClutterPrivateFlags")
(values
- '("custom-mode" "CLUTTER_CUSTOM_MODE" "0")
- '("linear" "CLUTTER_LINEAR" "1")
- '("ease-in-quad" "CLUTTER_EASE_IN_QUAD" "2")
- '("ease-out-quad" "CLUTTER_EASE_OUT_QUAD" "3")
- '("ease-in-out-quad" "CLUTTER_EASE_IN_OUT_QUAD" "4")
- '("ease-in-cubic" "CLUTTER_EASE_IN_CUBIC" "5")
- '("ease-out-cubic" "CLUTTER_EASE_OUT_CUBIC" "6")
- '("ease-in-out-cubic" "CLUTTER_EASE_IN_OUT_CUBIC" "7")
- '("ease-in-quart" "CLUTTER_EASE_IN_QUART" "8")
- '("ease-out-quart" "CLUTTER_EASE_OUT_QUART" "9")
- '("ease-in-out-quart" "CLUTTER_EASE_IN_OUT_QUART" "10")
- '("ease-in-quint" "CLUTTER_EASE_IN_QUINT" "11")
- '("ease-out-quint" "CLUTTER_EASE_OUT_QUINT" "12")
- '("ease-in-out-quint" "CLUTTER_EASE_IN_OUT_QUINT" "13")
- '("ease-in-sine" "CLUTTER_EASE_IN_SINE" "14")
- '("ease-out-sine" "CLUTTER_EASE_OUT_SINE" "15")
- '("ease-in-out-sine" "CLUTTER_EASE_IN_OUT_SINE" "16")
- '("ease-in-expo" "CLUTTER_EASE_IN_EXPO" "17")
- '("ease-out-expo" "CLUTTER_EASE_OUT_EXPO" "18")
- '("ease-in-out-expo" "CLUTTER_EASE_IN_OUT_EXPO" "19")
- '("ease-in-circ" "CLUTTER_EASE_IN_CIRC" "20")
- '("ease-out-circ" "CLUTTER_EASE_OUT_CIRC" "21")
- '("ease-in-out-circ" "CLUTTER_EASE_IN_OUT_CIRC" "22")
- '("ease-in-elastic" "CLUTTER_EASE_IN_ELASTIC" "23")
- '("ease-out-elastic" "CLUTTER_EASE_OUT_ELASTIC" "24")
- '("ease-in-out-elastic" "CLUTTER_EASE_IN_OUT_ELASTIC" "25")
- '("ease-in-back" "CLUTTER_EASE_IN_BACK" "26")
- '("ease-out-back" "CLUTTER_EASE_OUT_BACK" "27")
- '("ease-in-out-back" "CLUTTER_EASE_IN_OUT_BACK" "28")
- '("ease-in-bounce" "CLUTTER_EASE_IN_BOUNCE" "29")
- '("ease-out-bounce" "CLUTTER_EASE_OUT_BOUNCE" "30")
- '("ease-in-out-bounce" "CLUTTER_EASE_IN_OUT_BOUNCE" "31")
- '("animation-last" "CLUTTER_ANIMATION_LAST" "32")
+ '("actor-unused-flag" "CLUTTER_ACTOR_UNUSED_FLAG" "0x0")
+ '("in-destruction" "CLUTTER_IN_DESTRUCTION" "1 << 0")
+ '("is-toplevel" "CLUTTER_IS_TOPLEVEL" "1 << 1")
+ '("in-reparent" "CLUTTER_IN_REPARENT" "1 << 2")
+ '("in-paint" "CLUTTER_IN_PAINT" "1 << 3")
+ '("in-relayout" "CLUTTER_IN_RELAYOUT" "1 << 4")
+ '("in-resize" "CLUTTER_IN_RESIZE" "1 << 5")
+ '("internal-child" "CLUTTER_INTERNAL_CHILD" "1 << 6")
)
)
;; Original typedef:
-;; typedef enum
+;; typedef enum _ClutterCullResult
;; {
-;; CLUTTER_FONT_MIPMAPPING = (1 << 0),
-;; CLUTTER_FONT_HINTING = (1 << 1),
-;; } ClutterFontFlags;
+;; CLUTTER_CULL_RESULT_UNKNOWN,
+;; CLUTTER_CULL_RESULT_IN,
+;; CLUTTER_CULL_RESULT_OUT,
+;; CLUTTER_CULL_RESULT_PARTIAL
+;; } ClutterCullResult;
-(define-flags-extended FontFlags
+(define-enum-extended CullResult
(in-module "Clutter")
- (c-name "ClutterFontFlags")
+ (c-name "ClutterCullResult")
(values
- '("mipmapping" "CLUTTER_FONT_MIPMAPPING" "(1 << 0)")
- '("hinting" "CLUTTER_FONT_HINTING" "(1 << 1)")
+ '("unknown" "CLUTTER_CULL_RESULT_UNKNOWN" "0")
+ '("in" "CLUTTER_CULL_RESULT_IN" "1")
+ '("out" "CLUTTER_CULL_RESULT_OUT" "2")
+ '("partial" "CLUTTER_CULL_RESULT_PARTIAL" "3")
)
)
+;; From clutter-profile.h
+
;; Original typedef:
;; typedef enum {
-;; CLUTTER_TEXT_DIRECTION_DEFAULT,
-;; CLUTTER_TEXT_DIRECTION_LTR,
-;; CLUTTER_TEXT_DIRECTION_RTL
-;; } ClutterTextDirection;
+;; CLUTTER_PROFILE_PICKING_ONLY = 1 << 0,
+;; CLUTTER_PROFILE_DISABLE_REPORT = 1 << 1
+;; } ClutterProfileFlag;
-(define-enum-extended TextDirection
+(define-flags-extended ProfileFlag
(in-module "Clutter")
- (c-name "ClutterTextDirection")
+ (c-name "ClutterProfileFlag")
(values
- '("default" "CLUTTER_TEXT_DIRECTION_DEFAULT" "0")
- '("ltr" "CLUTTER_TEXT_DIRECTION_LTR" "1")
- '("rtl" "CLUTTER_TEXT_DIRECTION_RTL" "2")
+ '("picking-only" "CLUTTER_PROFILE_PICKING_ONLY" "1 << 0")
+ '("disable-report" "CLUTTER_PROFILE_DISABLE_REPORT" "1 << 1")
)
)
-;; From clutter-units.h
+;; From clutter-script.h
;; Original typedef:
;; typedef enum {
-;; CLUTTER_UNIT_PIXEL,
-;; CLUTTER_UNIT_EM,
-;; CLUTTER_UNIT_MM,
-;; CLUTTER_UNIT_POINT,
-;; CLUTTER_UNIT_CM
-;; } ClutterUnitType;
+;; CLUTTER_SCRIPT_ERROR_INVALID_TYPE_FUNCTION,
+;; CLUTTER_SCRIPT_ERROR_INVALID_PROPERTY,
+;; CLUTTER_SCRIPT_ERROR_INVALID_VALUE
+;; } ClutterScriptError;
-(define-enum-extended UnitType
+(define-enum-extended ScriptError
(in-module "Clutter")
- (c-name "ClutterUnitType")
+ (c-name "ClutterScriptError")
(values
- '("pixel" "CLUTTER_UNIT_PIXEL" "0")
- '("em" "CLUTTER_UNIT_EM" "1")
- '("mm" "CLUTTER_UNIT_MM" "2")
- '("point" "CLUTTER_UNIT_POINT" "3")
- '("cm" "CLUTTER_UNIT_CM" "4")
+ '("type-function" "CLUTTER_SCRIPT_ERROR_INVALID_TYPE_FUNCTION" "0")
+ '("property" "CLUTTER_SCRIPT_ERROR_INVALID_PROPERTY" "1")
+ '("value" "CLUTTER_SCRIPT_ERROR_INVALID_VALUE" "2")
+ )
+)
+
+;; From clutter-texture.h
+
+;; Original typedef:
+;; typedef enum {
+;; CLUTTER_TEXTURE_ERROR_OUT_OF_MEMORY,
+;; CLUTTER_TEXTURE_ERROR_NO_YUV,
+;; CLUTTER_TEXTURE_ERROR_BAD_FORMAT
+;; } ClutterTextureError;
+
+(define-enum-extended TextureError
+ (in-module "Clutter")
+ (c-name "ClutterTextureError")
+ (values
+ '("out-of-memory" "CLUTTER_TEXTURE_ERROR_OUT_OF_MEMORY" "0")
+ '("no-yuv" "CLUTTER_TEXTURE_ERROR_NO_YUV" "1")
+ '("bad-format" "CLUTTER_TEXTURE_ERROR_BAD_FORMAT" "2")
)
)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]