mirror of
https://github.com/brl/mutter.git
synced 2025-04-29 13:19:39 +00:00
Move the easing modes test into the examples
It's a pretty simple, self-contained example of how to use different easing modes, as well as the implicit animations API.
This commit is contained in:
parent
3fab1e4026
commit
c6b226e6c7
@ -7,6 +7,7 @@ all_examples = \
|
|||||||
constraints \
|
constraints \
|
||||||
drag-action \
|
drag-action \
|
||||||
drop-action \
|
drop-action \
|
||||||
|
easing-modes \
|
||||||
flow-layout \
|
flow-layout \
|
||||||
threads
|
threads
|
||||||
|
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <gmodule.h>
|
|
||||||
#include <clutter/clutter.h>
|
#include <clutter/clutter.h>
|
||||||
|
|
||||||
/* all the easing modes provided by Clutter */
|
/* all the easing modes provided by Clutter */
|
||||||
@ -180,8 +179,8 @@ static GOptionEntry test_easing_entries[] = {
|
|||||||
{ NULL }
|
{ NULL }
|
||||||
};
|
};
|
||||||
|
|
||||||
G_MODULE_EXPORT int
|
int
|
||||||
test_transitions_main (int argc, char *argv[])
|
main (int argc, char *argv[])
|
||||||
{
|
{
|
||||||
ClutterActor *stage, *rect, *label;
|
ClutterActor *stage, *rect, *label;
|
||||||
gchar *text;
|
gchar *text;
|
||||||
@ -233,9 +232,3 @@ test_transitions_main (int argc, char *argv[])
|
|||||||
|
|
||||||
return EXIT_SUCCESS;
|
return EXIT_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
G_MODULE_EXPORT const char *
|
|
||||||
test_transitions_describe (void)
|
|
||||||
{
|
|
||||||
return "Visualize all easing modes provided by Clutter";
|
|
||||||
}
|
|
@ -47,7 +47,6 @@ UNIT_TESTS = \
|
|||||||
test-path-constraint.c \
|
test-path-constraint.c \
|
||||||
test-state-script.c \
|
test-state-script.c \
|
||||||
test-devices.c \
|
test-devices.c \
|
||||||
test-transitions.c \
|
|
||||||
test-content.c \
|
test-content.c \
|
||||||
test-keyframe-transition.c \
|
test-keyframe-transition.c \
|
||||||
test-scroll-actor.c
|
test-scroll-actor.c
|
||||||
|
Loading…
x
Reference in New Issue
Block a user