Merge branch 'intefl/svn_merge' of ssh://165.213.149.219:29418/slp/pkgs/e/elementary...
[framework/uifw/elementary.git] / doc / widgets / widget_preview_flip.c
1 unsigned char _func(void *data);
2
3 #include "widget_preview_tmpl_head.c"
4
5 Evas_Object *o = elm_flip_add(win);
6 evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
7 elm_win_resize_object_add(win, o);
8 evas_object_show(o);
9
10 Evas_Object *ic = elm_icon_add(win);
11 elm_icon_standard_set(ic, "home");
12 evas_object_show(ic);
13 <<<<<<< HEAD
14 elm_flip_content_front_set(o, ic);
15 ic = elm_icon_add(win);
16 elm_icon_standard_set(ic, "file");
17 evas_object_show(ic);
18 elm_flip_content_back_set(o, ic);
19 =======
20 elm_object_part_content_set(o, "front", ic);
21 ic = elm_icon_add(win);
22 elm_icon_standard_set(ic, "file");
23 evas_object_show(ic);
24 elm_object_part_content_set(o, "back", ic);
25 >>>>>>> remotes/origin/upstream
26
27 ecore_timer_add(0.35, _func, o);
28
29 #include "widget_preview_tmpl_foot.c"
30
31 unsigned char _func(void *data)
32 {
33    elm_flip_go(data, ELM_FLIP_CUBE_RIGHT);
34    return 0;
35 <<<<<<< HEAD
36 }
37 =======
38 }
39 >>>>>>> remotes/origin/upstream