elementary_test: 0 -> EINA_FASE, 1 -> EINA_TRUE
authorjihoon <jihoon@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 16 Feb 2012 12:51:01 +0000 (12:51 +0000)
committerjihoon <jihoon@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 16 Feb 2012 12:51:01 +0000 (12:51 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@68028 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/bin/config.c
src/bin/test_scroller.c
src/bin/test_toggle.c
src/bin/test_toolbar.c
src/bin/test_win_state.c

index d31d9b0..9c72327 100644 (file)
@@ -1441,7 +1441,7 @@ _status_config_themes(Evas_Object *win,
    evas_object_show(fr);
 
    sc = elm_scroller_add(win);
-   elm_scroller_bounce_set(sc, 0, 0);
+   elm_scroller_bounce_set(sc, EINA_FALSE, EINA_FALSE);
    evas_object_size_hint_weight_set(sc, 1.0, 1.0);
    evas_object_size_hint_align_set(sc, EVAS_HINT_FILL, EVAS_HINT_FILL);
    elm_object_content_set(fr, sc);
index 32c3928..a2d9980 100644 (file)
@@ -171,7 +171,7 @@ test_scroller2(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_i
    sc = elm_scroller_add(win);
    evas_object_size_hint_weight_set(sc, EVAS_HINT_EXPAND, 0.0);
    evas_object_size_hint_align_set(sc, EVAS_HINT_FILL, 0.5);
-   elm_scroller_bounce_set(sc, 1, 0);
+   elm_scroller_bounce_set(sc, EINA_TRUE, EINA_FALSE);
    elm_scroller_content_min_limit(sc, 0, 1);
    elm_box_pack_end(bx, sc);
    evas_object_show(sc);
@@ -253,7 +253,7 @@ test_scroller2(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_i
 
    sc = elm_scroller_add(win);
    evas_object_size_hint_weight_set(sc, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
-   elm_scroller_bounce_set(sc, 0, 1);
+   elm_scroller_bounce_set(sc, EINA_FALSE, EINA_TRUE);
    elm_win_resize_object_add(win, sc);
    elm_object_content_set(sc, bx);
    evas_object_show(bx);
index b914970..c3884a2 100644 (file)
@@ -34,7 +34,7 @@ test_toggle(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info
    evas_object_size_hint_align_set(tg, EVAS_HINT_FILL, 0.5);
    elm_object_text_set(tg, "Icon sized to toggle");
    elm_object_part_content_set(tg, "icon", ic);
-   elm_check_state_set(tg, 1);
+   elm_check_state_set(tg, EINA_TRUE);
    elm_object_part_text_set(tg, "on", "Yes");
    elm_object_part_text_set(tg, "off", "No");
    elm_box_pack_end(bx, tg);
index 028f658..cb8d4eb 100644 (file)
@@ -112,7 +112,7 @@ test_toolbar(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_inf
    elm_toolbar_item_priority_set(tb_it, -200);
 
    tb_it = elm_toolbar_item_append(tb, "refresh", "Menu", NULL, NULL);
-   elm_toolbar_item_menu_set(tb_it, 1);
+   elm_toolbar_item_menu_set(tb_it, EINA_TRUE);
    elm_toolbar_item_priority_set(tb_it, -999999);
    elm_toolbar_menu_parent_set(tb, win);
    menu = elm_toolbar_item_menu_get(tb_it);
@@ -222,7 +222,7 @@ test_toolbar2(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in
    elm_toolbar_item_priority_set(item, 0);
 
    item = elm_toolbar_item_append(tb, "refresh", "Menu", NULL, NULL);
-   elm_toolbar_item_menu_set(item, 1);
+   elm_toolbar_item_menu_set(item, EINA_TRUE);
    elm_toolbar_item_priority_set(item, -999999);
    elm_toolbar_menu_parent_set(tb, win);
    menu = elm_toolbar_item_menu_get(item);
@@ -305,7 +305,7 @@ test_toolbar3(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in
    evas_object_show(bx);
 
    tb = elm_toolbar_add(win);
-   elm_toolbar_homogeneous_set(tb, 0);
+   elm_toolbar_homogeneous_set(tb, EINA_FALSE);
    elm_toolbar_shrink_mode_set(tb, ELM_TOOLBAR_SHRINK_NONE);
    evas_object_size_hint_weight_set(tb, 0.0, 0.0);
    evas_object_size_hint_align_set(tb, EVAS_HINT_FILL, 0.0);
@@ -317,13 +317,13 @@ test_toolbar3(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in
 
    tb_it = elm_toolbar_item_append(tb, "document-print", "Hello", tb_1, ph1);
    elm_object_item_disabled_set(tb_it, EINA_TRUE);
-   elm_toolbar_item_priority_set(tb_it, 0);
+   elm_toolbar_item_priority_set(tb_it, EINA_FALSE);
 
    tb_it = elm_toolbar_item_append(tb, "folder-new", "World", tb_2, ph1);
    elm_toolbar_item_priority_set(tb_it, -200);
 
    tb_it = elm_toolbar_item_append(tb, "object-rotate-right", "H", tb_3, ph4);
-   elm_toolbar_item_priority_set(tb_it, 1);
+   elm_toolbar_item_priority_set(tb_it, EINA_TRUE);
 
    tb_it = elm_toolbar_item_append(tb, "mail-send", "Comes", tb_4, ph4);
    elm_toolbar_item_priority_set(tb_it, -10);
@@ -332,7 +332,7 @@ test_toolbar3(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in
    elm_toolbar_item_priority_set(tb_it, 50);
 
    tb_it = elm_toolbar_item_append(tb, "refresh", "Menu", NULL, NULL);
-   elm_toolbar_item_menu_set(tb_it, 1);
+   elm_toolbar_item_menu_set(tb_it, EINA_TRUE);
    elm_toolbar_item_priority_set(tb_it, 999999);
    elm_toolbar_menu_parent_set(tb, win);
    menu = elm_toolbar_item_menu_get(tb_it);
@@ -442,7 +442,7 @@ test_toolbar4(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in
    elm_toolbar_item_priority_set(tb_it, -200);
 
    tb_it = elm_toolbar_item_append(tb, "refresh", "Menu", NULL, NULL);
-   elm_toolbar_item_menu_set(tb_it, 1);
+   elm_toolbar_item_menu_set(tb_it, EINA_TRUE);
    elm_toolbar_item_priority_set(tb_it, -999999);
    elm_toolbar_menu_parent_set(tb, win);
    menu = elm_toolbar_item_menu_get(tb_it);
@@ -557,7 +557,7 @@ test_toolbar5(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in
    elm_toolbar_item_priority_set(tb_it, -200);
 
    tb_it = elm_toolbar_item_append(tb, "refresh", "Menu", NULL, NULL);
-   elm_toolbar_item_menu_set(tb_it, 1);
+   elm_toolbar_item_menu_set(tb_it, EINA_TRUE);
    elm_toolbar_item_priority_set(tb_it, -999999);
    elm_toolbar_menu_parent_set(tb, win);
    menu = elm_toolbar_item_menu_get(tb_it);
@@ -668,7 +668,7 @@ test_toolbar6(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in
    elm_toolbar_item_priority_set(tb_it, -200);
 
    tb_it = elm_toolbar_item_append(tb, "refresh", "Menu", NULL, NULL);
-   elm_toolbar_item_menu_set(tb_it, 1);
+   elm_toolbar_item_menu_set(tb_it, EINA_TRUE);
    elm_toolbar_item_priority_set(tb_it, -999999);
    elm_toolbar_menu_parent_set(tb, win);
    menu = elm_toolbar_item_menu_get(tb_it);
index 8180b7e..3cdb89f 100644 (file)
@@ -173,7 +173,7 @@ test_win_state(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_i
    elm_slider_indicator_format_set(sl, "%3.0f");
    elm_slider_min_max_set(sl, 50, 150);
    elm_slider_value_set(sl, 50);
-   elm_slider_inverted_set(sl, 1);
+   elm_slider_inverted_set(sl, EINA_TRUE);
    elm_box_pack_end(bx2, sl);
    evas_object_show(sl);
 
@@ -241,7 +241,7 @@ test_win_state2(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_
    char buf[PATH_MAX];
 
    win = elm_win_add(NULL, "window-states2", ELM_WIN_BASIC);
-   elm_win_override_set(win, 1);
+   elm_win_override_set(win, EINA_TRUE);
    evas_object_smart_callback_add(win, "moved", my_win_move, NULL);
    evas_object_event_callback_add(win, EVAS_CALLBACK_RESIZE, _win_resize, NULL);
    elm_win_title_set(win, "Window States 2");
@@ -306,7 +306,7 @@ test_win_state2(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_
    elm_slider_indicator_format_set(sl, "%3.0f");
    elm_slider_min_max_set(sl, 50, 150);
    elm_slider_value_set(sl, 50);
-   elm_slider_inverted_set(sl, 1);
+   elm_slider_inverted_set(sl, EINA_TRUE);
    elm_box_pack_end(bx2, sl);
    evas_object_show(sl);