mirror of
https://github.com/brl/mutter.git
synced 2025-06-13 16:59:30 +00:00
bind-constraint: Add width and height binding
Allow using the BindConstraint to bind width and height of a source actor. Also, add a test for the BindConstraint showing all types of usages for this constraint class.
This commit is contained in:
@ -52,15 +52,19 @@ typedef struct _ClutterBindConstraint ClutterBindConstraint;
|
||||
* @CLUTTER_BIND_X: Bind the X coordinate
|
||||
* @CLUTTER_BIND_Y: Bind the Y coordinate
|
||||
* @CLUTTER_BIND_Z: Bind the Z coordinate
|
||||
* @CLUTTER_BIND_WIDTH: Bind the width
|
||||
* @CLUTTER_BIND_HEIGHT: Bidng the height
|
||||
*
|
||||
* Specifies which coordinate should be used in a binding
|
||||
* Specifies which property should be used in a binding
|
||||
*
|
||||
* Since: 1.4
|
||||
*/
|
||||
typedef enum { /*< prefix=CLUTTER_BIND >*/
|
||||
CLUTTER_BIND_X,
|
||||
CLUTTER_BIND_Y,
|
||||
CLUTTER_BIND_Z
|
||||
CLUTTER_BIND_Z,
|
||||
CLUTTER_BIND_WIDTH,
|
||||
CLUTTER_BIND_HEIGHT
|
||||
} ClutterBindCoordinate;
|
||||
|
||||
GType clutter_bind_constraint_get_type (void) G_GNUC_CONST;
|
||||
|
Reference in New Issue
Block a user