align-constraint: Add CLUTTER_ALIGN_BOTH
authorEmmanuele Bassi <ebassi@gnome.org>
Sat, 15 Oct 2011 17:33:49 +0000 (18:33 +0100)
committerEmmanuele Bassi <ebassi@gnome.org>
Sat, 15 Oct 2011 17:36:27 +0000 (18:36 +0100)
commit1e51961f7a19c4c2ddca1ad75e6bbae12d51bbbb
tree358231893d5ff89ea7b3672ef6706f245c4bfe43
parent30d309c6e3c7fbe41d3038ff03a2460867036364
align-constraint: Add CLUTTER_ALIGN_BOTH

Just like ClutterBindConstraint has two shorthand enumerations for binding
position and size and avoid using multiple instances, ClutterAlignConstraint
should have a way to align an actor with the same alignment factor on both
axis at the same time; this is especially useful for centering actors.
clutter/clutter-align-constraint.c
clutter/clutter-enums.h