summaryrefslogtreecommitdiff
path: root/legacy
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2011-10-26 08:12:15 +0000
committerCarsten Haitzler <raster@rasterman.com>2011-10-26 08:12:15 +0000
commitf80e0f1214920ca22f7274a688b13d6b0458aea7 (patch)
treec68ddd28d6ff04bf7335380d7888d0d3219b5b6a /legacy
parent051d092c7161aff3a14eee2563e082e50a79b873 (diff)
transit tests really should show wiin last and resize last.
SVN revision: 64408
Diffstat (limited to 'legacy')
-rw-r--r--legacy/elementary/src/bin/test_transit.c20
1 files changed, 11 insertions, 9 deletions
diff --git a/legacy/elementary/src/bin/test_transit.c b/legacy/elementary/src/bin/test_transit.c
index 5c23418b6c..2ee8430ba1 100644
--- a/legacy/elementary/src/bin/test_transit.c
+++ b/legacy/elementary/src/bin/test_transit.c
@@ -286,7 +286,6 @@ test_transit2(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in
286 win = elm_win_add(NULL, "transit2", ELM_WIN_BASIC); 286 win = elm_win_add(NULL, "transit2", ELM_WIN_BASIC);
287 elm_win_title_set(win, "Transit 2"); 287 elm_win_title_set(win, "Transit 2");
288 elm_win_autodel_set(win, EINA_TRUE); 288 elm_win_autodel_set(win, EINA_TRUE);
289 evas_object_resize(win, 400, 400);
290 289
291 bg = elm_bg_add(win); 290 bg = elm_bg_add(win);
292 elm_win_resize_object_add(win, bg); 291 elm_win_resize_object_add(win, bg);
@@ -300,6 +299,7 @@ test_transit2(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in
300 evas_object_resize(bt, 100, 50); 299 evas_object_resize(bt, 100, 50);
301 evas_object_smart_callback_add(bt, "clicked", _transit_resizing, NULL); 300 evas_object_smart_callback_add(bt, "clicked", _transit_resizing, NULL);
302 301
302 evas_object_resize(win, 400, 400);
303 evas_object_show(win); 303 evas_object_show(win);
304} 304}
305 305
@@ -312,7 +312,6 @@ test_transit3(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in
312 win = elm_win_add(NULL, "transit3", ELM_WIN_BASIC); 312 win = elm_win_add(NULL, "transit3", ELM_WIN_BASIC);
313 elm_win_title_set(win, "Transit 3"); 313 elm_win_title_set(win, "Transit 3");
314 elm_win_autodel_set(win, EINA_TRUE); 314 elm_win_autodel_set(win, EINA_TRUE);
315 evas_object_resize(win, 300, 300);
316 315
317 bg = elm_bg_add(win); 316 bg = elm_bg_add(win);
318 elm_win_resize_object_add(win, bg); 317 elm_win_resize_object_add(win, bg);
@@ -330,6 +329,7 @@ test_transit3(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in
330 evas_object_move(bt2, 50, 50); 329 evas_object_move(bt2, 50, 50);
331 evas_object_resize(bt2, 200, 200); 330 evas_object_resize(bt2, 200, 200);
332 331
332 evas_object_resize(win, 300, 300);
333 evas_object_show(win); 333 evas_object_show(win);
334 334
335 evas_object_smart_callback_add(bt, "clicked", _transit_flip, bt2); 335 evas_object_smart_callback_add(bt, "clicked", _transit_flip, bt2);
@@ -345,7 +345,6 @@ test_transit4(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in
345 win = elm_win_add(NULL, "transit4", ELM_WIN_BASIC); 345 win = elm_win_add(NULL, "transit4", ELM_WIN_BASIC);
346 elm_win_title_set(win, "Transit 4"); 346 elm_win_title_set(win, "Transit 4");
347 elm_win_autodel_set(win, EINA_TRUE); 347 elm_win_autodel_set(win, EINA_TRUE);
348 evas_object_resize(win, 300, 300);
349 348
350 bg = elm_bg_add(win); 349 bg = elm_bg_add(win);
351 elm_win_resize_object_add(win, bg); 350 elm_win_resize_object_add(win, bg);
@@ -360,6 +359,7 @@ test_transit4(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in
360 359
361 evas_object_smart_callback_add(bt, "clicked", _transit_zoom, NULL); 360 evas_object_smart_callback_add(bt, "clicked", _transit_zoom, NULL);
362 361
362 evas_object_resize(win, 300, 300);
363 evas_object_show(win); 363 evas_object_show(win);
364} 364}
365 365
@@ -373,7 +373,6 @@ test_transit5(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in
373 win = elm_win_add(NULL, "transit5", ELM_WIN_BASIC); 373 win = elm_win_add(NULL, "transit5", ELM_WIN_BASIC);
374 elm_win_title_set(win, "Transit 5"); 374 elm_win_title_set(win, "Transit 5");
375 elm_win_autodel_set(win, EINA_TRUE); 375 elm_win_autodel_set(win, EINA_TRUE);
376 evas_object_resize(win, 300, 300);
377 376
378 bg = elm_bg_add(win); 377 bg = elm_bg_add(win);
379 elm_win_resize_object_add(win, bg); 378 elm_win_resize_object_add(win, bg);
@@ -403,6 +402,7 @@ test_transit5(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in
403 evas_object_move(bt2, 25, 125); 402 evas_object_move(bt2, 25, 125);
404 evas_object_resize(bt2, 250, 50); 403 evas_object_resize(bt2, 250, 50);
405 404
405 evas_object_resize(win, 300, 300);
406 evas_object_show(win); 406 evas_object_show(win);
407 407
408 evas_object_smart_callback_add(bt, "clicked", _transit_blend, bt2); 408 evas_object_smart_callback_add(bt, "clicked", _transit_blend, bt2);
@@ -419,7 +419,6 @@ test_transit6(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in
419 win = elm_win_add(NULL, "transit6", ELM_WIN_BASIC); 419 win = elm_win_add(NULL, "transit6", ELM_WIN_BASIC);
420 elm_win_title_set(win, "Transit 6"); 420 elm_win_title_set(win, "Transit 6");
421 elm_win_autodel_set(win, EINA_TRUE); 421 elm_win_autodel_set(win, EINA_TRUE);
422 evas_object_resize(win, 300, 300);
423 422
424 bg = elm_bg_add(win); 423 bg = elm_bg_add(win);
425 elm_win_resize_object_add(win, bg); 424 elm_win_resize_object_add(win, bg);
@@ -449,6 +448,7 @@ test_transit6(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in
449 evas_object_move(bt2, 25, 125); 448 evas_object_move(bt2, 25, 125);
450 evas_object_resize(bt2, 250, 50); 449 evas_object_resize(bt2, 250, 50);
451 450
451 evas_object_resize(win, 300, 300);
452 evas_object_show(win); 452 evas_object_show(win);
453 453
454 evas_object_smart_callback_add(bt, "clicked", _transit_fade, bt2); 454 evas_object_smart_callback_add(bt, "clicked", _transit_fade, bt2);
@@ -499,8 +499,6 @@ test_transit8(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in
499 win = elm_win_add(NULL, "transit8", ELM_WIN_BASIC); 499 win = elm_win_add(NULL, "transit8", ELM_WIN_BASIC);
500 elm_win_title_set(win, "Transit 8"); 500 elm_win_title_set(win, "Transit 8");
501 elm_win_autodel_set(win, EINA_TRUE); 501 elm_win_autodel_set(win, EINA_TRUE);
502 evas_object_resize(win, 400, 400);
503 evas_object_show(win);
504 502
505 bg = elm_bg_add(win); 503 bg = elm_bg_add(win);
506 elm_win_resize_object_add(win, bg); 504 elm_win_resize_object_add(win, bg);
@@ -525,6 +523,9 @@ test_transit8(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in
525 elm_transit_duration_set(trans, 5.0); 523 elm_transit_duration_set(trans, 5.0);
526 elm_transit_repeat_times_set(trans, -1); 524 elm_transit_repeat_times_set(trans, -1);
527 elm_transit_go(trans); 525 elm_transit_go(trans);
526
527 evas_object_resize(win, 400, 400);
528 evas_object_show(win);
528} 529}
529 530
530/* Chain Transit Effect */ 531/* Chain Transit Effect */
@@ -537,8 +538,6 @@ test_transit9(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in
537 win = elm_win_add(NULL, "transit9", ELM_WIN_BASIC); 538 win = elm_win_add(NULL, "transit9", ELM_WIN_BASIC);
538 elm_win_title_set(win, "Transit 9"); 539 elm_win_title_set(win, "Transit 9");
539 elm_win_autodel_set(win, EINA_TRUE); 540 elm_win_autodel_set(win, EINA_TRUE);
540 evas_object_resize(win, 400, 400);
541 evas_object_show(win);
542 541
543 bg = elm_bg_add(win); 542 bg = elm_bg_add(win);
544 elm_win_resize_object_add(win, bg); 543 elm_win_resize_object_add(win, bg);
@@ -600,6 +599,9 @@ test_transit9(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in
600 elm_transit_duration_set(trans4, 1); 599 elm_transit_duration_set(trans4, 1);
601 elm_transit_objects_final_state_keep_set(trans4, EINA_TRUE); 600 elm_transit_objects_final_state_keep_set(trans4, EINA_TRUE);
602 elm_transit_chain_transit_add(trans3, trans4); 601 elm_transit_chain_transit_add(trans3, trans4);
602
603 evas_object_resize(win, 400, 400);
604 evas_object_show(win);
603} 605}
604 606
605 607