mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 01:50:42 -05: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 \
|
||||
drag-action \
|
||||
drop-action \
|
||||
easing-modes \
|
||||
flow-layout \
|
||||
threads
|
||||
|
||||
|
@ -1,5 +1,4 @@
|
||||
#include <stdlib.h>
|
||||
#include <gmodule.h>
|
||||
#include <clutter/clutter.h>
|
||||
|
||||
/* all the easing modes provided by Clutter */
|
||||
@ -180,8 +179,8 @@ static GOptionEntry test_easing_entries[] = {
|
||||
{ NULL }
|
||||
};
|
||||
|
||||
G_MODULE_EXPORT int
|
||||
test_transitions_main (int argc, char *argv[])
|
||||
int
|
||||
main (int argc, char *argv[])
|
||||
{
|
||||
ClutterActor *stage, *rect, *label;
|
||||
gchar *text;
|
||||
@ -233,9 +232,3 @@ test_transitions_main (int argc, char *argv[])
|
||||
|
||||
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-state-script.c \
|
||||
test-devices.c \
|
||||
test-transitions.c \
|
||||
test-content.c \
|
||||
test-keyframe-transition.c \
|
||||
test-scroll-actor.c
|
||||
|
Loading…
Reference in New Issue
Block a user