mirror of
https://github.com/brl/mutter.git
synced 2024-11-29 19:40:43 -05:00
Put bind-constraint back into the interactive tests
The bind-constraint.c example still uses clutter_actor_animate(), and it'd require some serious reworking to move it to ClutterPropertyTransition or to implicit animations.
This commit is contained in:
parent
4fef7eb689
commit
5ad1ec7cca
@ -2,7 +2,6 @@ include $(top_srcdir)/build/autotools/Makefile.am.silent
|
|||||||
|
|
||||||
all_examples = \
|
all_examples = \
|
||||||
basic-actor \
|
basic-actor \
|
||||||
bind-constraint \
|
|
||||||
canvas \
|
canvas \
|
||||||
constraints \
|
constraints \
|
||||||
drag-action \
|
drag-action \
|
||||||
|
@ -49,7 +49,8 @@ UNIT_TESTS = \
|
|||||||
test-devices.c \
|
test-devices.c \
|
||||||
test-content.c \
|
test-content.c \
|
||||||
test-keyframe-transition.c \
|
test-keyframe-transition.c \
|
||||||
test-scroll-actor.c
|
test-scroll-actor.c \
|
||||||
|
test-bind-constraint.c
|
||||||
|
|
||||||
if X11_TESTS
|
if X11_TESTS
|
||||||
UNIT_TESTS += test-pixmap.c
|
UNIT_TESTS += test-pixmap.c
|
||||||
|
@ -154,8 +154,14 @@ on_button_release (ClutterActor *actor,
|
|||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
G_MODULE_EXPORT const char *
|
||||||
main (int argc, char *argv[])
|
test_bind_constraint_describe (void)
|
||||||
|
{
|
||||||
|
return "Demonstrate the usage of ClutterBindConstraint";
|
||||||
|
}
|
||||||
|
|
||||||
|
G_MODULE_EXPORT int
|
||||||
|
test_bind_constraint_main (int argc, char *argv[])
|
||||||
{
|
{
|
||||||
ClutterActor *stage, *rect;
|
ClutterActor *stage, *rect;
|
||||||
ClutterConstraint *constraint;
|
ClutterConstraint *constraint;
|
Loading…
Reference in New Issue
Block a user