mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 16:10:41 -05:00
clutter: Remove deprecated & unnused enums
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3103>
This commit is contained in:
parent
185058456f
commit
68b4cc661d
@ -30,41 +30,6 @@
|
|||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
/**
|
|
||||||
* ClutterGravity:
|
|
||||||
* @CLUTTER_GRAVITY_NONE: Do not apply any gravity
|
|
||||||
* @CLUTTER_GRAVITY_NORTH: Scale from topmost downwards
|
|
||||||
* @CLUTTER_GRAVITY_NORTH_EAST: Scale from the top right corner
|
|
||||||
* @CLUTTER_GRAVITY_EAST: Scale from the right side
|
|
||||||
* @CLUTTER_GRAVITY_SOUTH_EAST: Scale from the bottom right corner
|
|
||||||
* @CLUTTER_GRAVITY_SOUTH: Scale from the bottom upwards
|
|
||||||
* @CLUTTER_GRAVITY_SOUTH_WEST: Scale from the bottom left corner
|
|
||||||
* @CLUTTER_GRAVITY_WEST: Scale from the left side
|
|
||||||
* @CLUTTER_GRAVITY_NORTH_WEST: Scale from the top left corner
|
|
||||||
* @CLUTTER_GRAVITY_CENTER: Scale from the center.
|
|
||||||
*
|
|
||||||
* Gravity of the scaling operations.
|
|
||||||
*
|
|
||||||
* When a gravity different than %CLUTTER_GRAVITY_NONE is used,
|
|
||||||
* an actor is scaled keeping the position of the specified portion
|
|
||||||
* at the same coordinates.
|
|
||||||
*
|
|
||||||
* Deprecated: 1.22: Use the normalized #ClutterActor pivot point instead
|
|
||||||
*/
|
|
||||||
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;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ClutterRotateAxis:
|
* ClutterRotateAxis:
|
||||||
* @CLUTTER_X_AXIS: Rotate around the X axis
|
* @CLUTTER_X_AXIS: Rotate around the X axis
|
||||||
@ -80,21 +45,6 @@ typedef enum /*< prefix=CLUTTER >*/
|
|||||||
CLUTTER_Z_AXIS
|
CLUTTER_Z_AXIS
|
||||||
} ClutterRotateAxis;
|
} ClutterRotateAxis;
|
||||||
|
|
||||||
/**
|
|
||||||
* ClutterRotateDirection:
|
|
||||||
* @CLUTTER_ROTATE_CW: Clockwise rotation
|
|
||||||
* @CLUTTER_ROTATE_CCW: Counter-clockwise rotation
|
|
||||||
*
|
|
||||||
* Direction of a rotation.
|
|
||||||
*
|
|
||||||
* Deprecated: 1.22
|
|
||||||
*/
|
|
||||||
typedef enum /*< prefix=CLUTTER_ROTATE >*/
|
|
||||||
{
|
|
||||||
CLUTTER_ROTATE_CW,
|
|
||||||
CLUTTER_ROTATE_CCW
|
|
||||||
} ClutterRotateDirection;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ClutterRequestMode:
|
* ClutterRequestMode:
|
||||||
* @CLUTTER_REQUEST_HEIGHT_FOR_WIDTH: Height for width requests
|
* @CLUTTER_REQUEST_HEIGHT_FOR_WIDTH: Height for width requests
|
||||||
@ -517,21 +467,6 @@ typedef enum /*< prefix=CLUTTER_ALIGN >*/
|
|||||||
CLUTTER_ALIGN_BOTH
|
CLUTTER_ALIGN_BOTH
|
||||||
} ClutterAlignAxis;
|
} ClutterAlignAxis;
|
||||||
|
|
||||||
/**
|
|
||||||
* ClutterInterpolation:
|
|
||||||
* @CLUTTER_INTERPOLATION_LINEAR: linear interpolation
|
|
||||||
* @CLUTTER_INTERPOLATION_CUBIC: cubic interpolation
|
|
||||||
*
|
|
||||||
* The mode of interpolation between key frames
|
|
||||||
*
|
|
||||||
* Deprecated: 1.22
|
|
||||||
*/
|
|
||||||
typedef enum
|
|
||||||
{
|
|
||||||
CLUTTER_INTERPOLATION_LINEAR,
|
|
||||||
CLUTTER_INTERPOLATION_CUBIC
|
|
||||||
} ClutterInterpolation;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ClutterBinAlignment:
|
* ClutterBinAlignment:
|
||||||
* @CLUTTER_BIN_ALIGNMENT_FIXED: Fixed position alignment; the
|
* @CLUTTER_BIN_ALIGNMENT_FIXED: Fixed position alignment; the
|
||||||
@ -1079,48 +1014,6 @@ typedef enum /*< prefix=CLUTTER_PAN >*/
|
|||||||
CLUTTER_PAN_AXIS_AUTO
|
CLUTTER_PAN_AXIS_AUTO
|
||||||
} ClutterPanAxis;
|
} ClutterPanAxis;
|
||||||
|
|
||||||
/**
|
|
||||||
* ClutterTextureFlags:
|
|
||||||
* @CLUTTER_TEXTURE_NONE: No flags
|
|
||||||
* @CLUTTER_TEXTURE_RGB_FLAG_BGR: Unused flag
|
|
||||||
* @CLUTTER_TEXTURE_RGB_FLAG_PREMULT: Unused flag
|
|
||||||
* @CLUTTER_TEXTURE_YUV_FLAG_YUV2: Unused flag
|
|
||||||
*
|
|
||||||
* Flags for clutter_texture_set_from_rgb_data().
|
|
||||||
*
|
|
||||||
* Deprecated: 1.22: The #ClutterTexture class was the only user of
|
|
||||||
* this API
|
|
||||||
*/
|
|
||||||
typedef enum /*< prefix=CLUTTER_TEXTURE >*/
|
|
||||||
{
|
|
||||||
CLUTTER_TEXTURE_NONE = 0,
|
|
||||||
CLUTTER_TEXTURE_RGB_FLAG_BGR = 1 << 1,
|
|
||||||
CLUTTER_TEXTURE_RGB_FLAG_PREMULT = 1 << 2, /* FIXME: not handled */
|
|
||||||
CLUTTER_TEXTURE_YUV_FLAG_YUV2 = 1 << 3
|
|
||||||
} ClutterTextureFlags;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* ClutterTextureQuality:
|
|
||||||
* @CLUTTER_TEXTURE_QUALITY_LOW: fastest rendering will use nearest neighbour
|
|
||||||
* interpolation when rendering. good setting.
|
|
||||||
* @CLUTTER_TEXTURE_QUALITY_MEDIUM: higher quality rendering without using
|
|
||||||
* extra resources.
|
|
||||||
* @CLUTTER_TEXTURE_QUALITY_HIGH: render the texture with the best quality
|
|
||||||
* available using extra memory.
|
|
||||||
*
|
|
||||||
* Enumaration controlling the texture quality.
|
|
||||||
*
|
|
||||||
* Deprecated: 1.22: The #ClutterTexture class was the only user of
|
|
||||||
* this API; use #ClutterImage and clutter_actor_set_content_scaling_filters()
|
|
||||||
* instead.
|
|
||||||
*/
|
|
||||||
typedef enum /*< prefix=CLUTTER_TEXTURE_QUALITY >*/
|
|
||||||
{
|
|
||||||
CLUTTER_TEXTURE_QUALITY_LOW,
|
|
||||||
CLUTTER_TEXTURE_QUALITY_MEDIUM,
|
|
||||||
CLUTTER_TEXTURE_QUALITY_HIGH
|
|
||||||
} ClutterTextureQuality;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ClutterTimelineDirection:
|
* ClutterTimelineDirection:
|
||||||
* @CLUTTER_TIMELINE_FORWARD: forward direction for a timeline
|
* @CLUTTER_TIMELINE_FORWARD: forward direction for a timeline
|
||||||
|
@ -478,7 +478,6 @@ create_item (void)
|
|||||||
main_timeline,
|
main_timeline,
|
||||||
"scale-x", 2.0,
|
"scale-x", 2.0,
|
||||||
"scale-y", 2.0,
|
"scale-y", 2.0,
|
||||||
"fixed::scale-gravity", CLUTTER_GRAVITY_CENTER,
|
|
||||||
NULL);
|
NULL);
|
||||||
|
|
||||||
return clone;
|
return clone;
|
||||||
@ -628,7 +627,6 @@ test_layout_main (int argc, char *argv[])
|
|||||||
main_timeline,
|
main_timeline,
|
||||||
"scale-x", 2.0,
|
"scale-x", 2.0,
|
||||||
"scale-y", 2.0,
|
"scale-y", 2.0,
|
||||||
"fixed::scale-gravity", CLUTTER_GRAVITY_CENTER,
|
|
||||||
NULL);
|
NULL);
|
||||||
|
|
||||||
for (i = 1; i < 33; i++)
|
for (i = 1; i < 33; i++)
|
||||||
|
Loading…
Reference in New Issue
Block a user