forked from enlightenment/efl
transit: renamed to explicit examples.
This commit is contained in:
parent
a26b6fcfc0
commit
c8ca7e6ba9
|
@ -27,14 +27,14 @@ void test_box_align(void *data, Evas_Object *obj, void *event_info);
|
|||
void test_button(void *data, Evas_Object *obj, void *event_info);
|
||||
void test_cnp(void *data, Evas_Object *obj, void *event_info);
|
||||
void test_transit(void *data, Evas_Object *obj, void *event_info);
|
||||
void test_transit2(void *data, Evas_Object *obj, void *event_info);
|
||||
void test_transit3(void *data, Evas_Object *obj, void *event_info);
|
||||
void test_transit4(void *data, Evas_Object *obj, void *event_info);
|
||||
void test_transit5(void *data, Evas_Object *obj, void *event_info);
|
||||
void test_transit6(void *data, Evas_Object *obj, void *event_info);
|
||||
void test_transit7(void *data, Evas_Object *obj, void *event_info);
|
||||
void test_transit8(void *data, Evas_Object *obj, void *event_info);
|
||||
void test_transit9(void *data, Evas_Object *obj, void *event_info);
|
||||
void test_transit_blend(void *data, Evas_Object *obj, void *event_info);
|
||||
void test_transit_chain(void *data, Evas_Object *obj, void *event_info);
|
||||
void test_transit_custom(void *data, Evas_Object *obj, void *event_info);
|
||||
void test_transit_fade(void *data, Evas_Object *obj, void *event_info);
|
||||
void test_transit_flip(void *data, Evas_Object *obj, void *event_info);
|
||||
void test_transit_resizable_flip(void *data, Evas_Object *obj, void *event_info);
|
||||
void test_transit_resizing(void *data, Evas_Object *obj, void *event_info);
|
||||
void test_transit_zoom(void *data, Evas_Object *obj, void *event_info);
|
||||
void test_fileselector_button(void *data, Evas_Object *obj, void *event_info);
|
||||
void test_fileselector_entry(void *data, Evas_Object *obj, void *event_info);
|
||||
void test_clock(void *data, Evas_Object *obj, void *event_info);
|
||||
|
@ -587,14 +587,15 @@ add_tests:
|
|||
|
||||
//------------------------------//
|
||||
ADD_TEST(NULL, "Effects", "Transit", test_transit);
|
||||
ADD_TEST(NULL, "Effects", "Transit 2", test_transit2);
|
||||
ADD_TEST(NULL, "Effects", "Transit 3", test_transit3);
|
||||
ADD_TEST(NULL, "Effects", "Transit 4", test_transit4);
|
||||
ADD_TEST(NULL, "Effects", "Transit 5", test_transit5);
|
||||
ADD_TEST(NULL, "Effects", "Transit 6", test_transit6);
|
||||
ADD_TEST(NULL, "Effects", "Transit 7", test_transit7);
|
||||
ADD_TEST(NULL, "Effects", "Transit 8", test_transit8);
|
||||
ADD_TEST(NULL, "Effects", "Transit 9", test_transit9);
|
||||
ADD_TEST(NULL, "Effects", "Transit Resizing", test_transit_resizing);
|
||||
ADD_TEST(NULL, "Effects", "Transit Flip", test_transit_flip);
|
||||
ADD_TEST(NULL, "Effects", "Transit Zoom", test_transit_zoom);
|
||||
ADD_TEST(NULL, "Effects", "Transit Blend", test_transit_blend);
|
||||
ADD_TEST(NULL, "Effects", "Transit Fade", test_transit_fade);
|
||||
ADD_TEST(NULL, "Effects", "Transit Resizable Flip",
|
||||
test_transit_resizable_flip);
|
||||
ADD_TEST(NULL, "Effects", "Transit Custom", test_transit_custom);
|
||||
ADD_TEST(NULL, "Effects", "Transit Chain", test_transit_chain);
|
||||
ADD_TEST(NULL, "Effects", "Flip", test_flip);
|
||||
ADD_TEST(NULL, "Effects", "Flip 2", test_flip2);
|
||||
ADD_TEST(NULL, "Effects", "Flip 3", test_flip3);
|
||||
|
|
|
@ -278,11 +278,11 @@ test_transit(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_i
|
|||
|
||||
/* Resizing Effect */
|
||||
void
|
||||
test_transit2(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
|
||||
test_transit_resizing(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
|
||||
{
|
||||
Evas_Object *win, *bt;
|
||||
|
||||
win = elm_win_util_standard_add("transit2", "Transit 2");
|
||||
win = elm_win_util_standard_add("transit2", "Transit Resizing");
|
||||
elm_win_autodel_set(win, EINA_TRUE);
|
||||
|
||||
bt = elm_button_add(win);
|
||||
|
@ -298,11 +298,11 @@ test_transit2(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_
|
|||
|
||||
/* Flip Effect */
|
||||
void
|
||||
test_transit3(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
|
||||
test_transit_flip(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
|
||||
{
|
||||
Evas_Object *win, *bt, *bt2;
|
||||
|
||||
win = elm_win_util_standard_add("transit3", "Transit 3");
|
||||
win = elm_win_util_standard_add("transit3", "Transit Flip");
|
||||
elm_win_autodel_set(win, EINA_TRUE);
|
||||
|
||||
bt = elm_button_add(win);
|
||||
|
@ -325,11 +325,11 @@ test_transit3(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_
|
|||
|
||||
/* Zoom Effect */
|
||||
void
|
||||
test_transit4(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
|
||||
test_transit_zoom(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
|
||||
{
|
||||
Evas_Object *win, *bt;
|
||||
|
||||
win = elm_win_util_standard_add("transit4", "Transit 4");
|
||||
win = elm_win_util_standard_add("transit4", "Transit Zoom");
|
||||
elm_win_autodel_set(win, EINA_TRUE);
|
||||
|
||||
bt = elm_button_add(win);
|
||||
|
@ -346,12 +346,12 @@ test_transit4(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_
|
|||
|
||||
/* Blend Effect */
|
||||
void
|
||||
test_transit5(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
|
||||
test_transit_blend(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
|
||||
{
|
||||
Evas_Object *win, *bt, *bt2, *ic;
|
||||
char buf[PATH_MAX];
|
||||
|
||||
win = elm_win_util_standard_add("transit5", "Transit 5");
|
||||
win = elm_win_util_standard_add("transit5", "Transit Blend");
|
||||
elm_win_autodel_set(win, EINA_TRUE);
|
||||
|
||||
ic = elm_image_add(win);
|
||||
|
@ -386,12 +386,12 @@ test_transit5(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_
|
|||
|
||||
/* Fade Effect */
|
||||
void
|
||||
test_transit6(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
|
||||
test_transit_fade(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
|
||||
{
|
||||
Evas_Object *win, *bt, *bt2, *ic;
|
||||
char buf[PATH_MAX];
|
||||
|
||||
win = elm_win_util_standard_add("transit6","Transit 6");
|
||||
win = elm_win_util_standard_add("transit6","Transit Fade");
|
||||
elm_win_autodel_set(win, EINA_TRUE);
|
||||
|
||||
ic = elm_image_add(win);
|
||||
|
@ -426,11 +426,11 @@ test_transit6(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_
|
|||
|
||||
/* Resizable Flip Effect */
|
||||
void
|
||||
test_transit7(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
|
||||
test_transit_resizable_flip(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
|
||||
{
|
||||
Evas_Object *win, *bt, *bt2;
|
||||
|
||||
win = elm_win_util_standard_add("transit7", "Transit 7");
|
||||
win = elm_win_util_standard_add("transit7", "Transit Resizable Flip");
|
||||
elm_win_autodel_set(win, EINA_TRUE);
|
||||
|
||||
bt = elm_button_add(win);
|
||||
|
@ -453,13 +453,13 @@ test_transit7(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_
|
|||
|
||||
/* Custom Effect */
|
||||
void
|
||||
test_transit8(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
|
||||
test_transit_custom(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
|
||||
{
|
||||
Evas_Object *win, *bt;
|
||||
Elm_Transit *trans;
|
||||
Elm_Transit_Effect *effect_context;
|
||||
|
||||
win = elm_win_util_standard_add("transit8", "Transit 8");
|
||||
win = elm_win_util_standard_add("transit8", "Transit Custom");
|
||||
elm_win_autodel_set(win, EINA_TRUE);
|
||||
|
||||
bt = elm_button_add(win);
|
||||
|
@ -487,12 +487,12 @@ test_transit8(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_
|
|||
|
||||
/* Chain Transit Effect */
|
||||
void
|
||||
test_transit9(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
|
||||
test_transit_chain(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
|
||||
{
|
||||
Evas_Object *win, *bt, *bt2, *bt3, *bt4;
|
||||
Elm_Transit *trans, *trans2, *trans3, *trans4;
|
||||
|
||||
win = elm_win_util_standard_add("transit9", "Transit 9");
|
||||
win = elm_win_util_standard_add("transit9", "Transit Chain");
|
||||
elm_win_autodel_set(win, EINA_TRUE);
|
||||
|
||||
bt = elm_button_add(win);
|
||||
|
|
Loading…
Reference in New Issue