From: seoz Date: Fri, 15 Apr 2011 11:44:05 +0000 (+0000) Subject: Elementary bin: Use EINA_TRUE/EINA_FALSE for Eina_Bool parameters. X-Git-Tag: REL_F_I9200_20110722_1~8^2~50^2~489 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=245f9932dee88dcb47b6a8efd232b2b1c75741a3;p=framework%2Fuifw%2Felementary.git Elementary bin: Use EINA_TRUE/EINA_FALSE for Eina_Bool parameters. git-svn-id: https://svn.enlightenment.org/svn/e/trunk/elementary@58688 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/bin/test_box.c b/src/bin/test_box.c index abdbfd4..8bb7e62 100644 --- a/src/bin/test_box.c +++ b/src/bin/test_box.c @@ -137,7 +137,7 @@ test_box_horiz(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_i evas_object_show(bg); bx = elm_box_add(win); - elm_box_horizontal_set(bx, 1); + elm_box_horizontal_set(bx, EINA_TRUE); elm_win_resize_object_add(win, bx); evas_object_size_hint_weight_set(bx, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); evas_object_show(bx); diff --git a/src/bin/test_entry.c b/src/bin/test_entry.c index 7fec0de..3115b0f 100644 --- a/src/bin/test_entry.c +++ b/src/bin/test_entry.c @@ -115,7 +115,7 @@ test_entry(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info evas_object_show(en); bx2 = elm_box_add(win); - elm_box_horizontal_set(bx2, 1); + elm_box_horizontal_set(bx2, EINA_TRUE); evas_object_size_hint_weight_set(bx2, EVAS_HINT_EXPAND, 0.0); evas_object_size_hint_align_set(bx2, EVAS_HINT_FILL, EVAS_HINT_FILL); @@ -421,7 +421,7 @@ test_entry_scrolled(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *ev elm_box_pack_end(bx, en); bx2 = elm_box_add(win); - elm_box_horizontal_set(bx2, 1); + elm_box_horizontal_set(bx2, EINA_TRUE); evas_object_size_hint_weight_set(bx2, EVAS_HINT_EXPAND, 0.0); evas_object_size_hint_align_set(bx2, EVAS_HINT_FILL, EVAS_HINT_FILL); @@ -694,7 +694,7 @@ test_entry3(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info evas_object_show(en); bx2 = elm_box_add(win); - elm_box_horizontal_set(bx2, 1); + elm_box_horizontal_set(bx2, EINA_TRUE); evas_object_size_hint_weight_set(bx2, EVAS_HINT_EXPAND, 0.0); evas_object_size_hint_align_set(bx2, EVAS_HINT_FILL, EVAS_HINT_FILL); @@ -762,7 +762,7 @@ test_entry3(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info evas_object_show(bx2); bx2 = elm_box_add(win); - elm_box_horizontal_set(bx2, 1); + elm_box_horizontal_set(bx2, EINA_TRUE); evas_object_size_hint_weight_set(bx2, EVAS_HINT_EXPAND, 0.0); evas_object_size_hint_align_set(bx2, EVAS_HINT_FILL, EVAS_HINT_FILL); @@ -830,7 +830,7 @@ test_entry3(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info evas_object_show(bx2); bx2 = elm_box_add(win); - elm_box_horizontal_set(bx2, 1); + elm_box_horizontal_set(bx2, EINA_TRUE); evas_object_size_hint_weight_set(bx2, EVAS_HINT_EXPAND, 0.0); evas_object_size_hint_align_set(bx2, EVAS_HINT_FILL, EVAS_HINT_FILL); @@ -898,7 +898,7 @@ test_entry3(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info evas_object_show(bx2); bx2 = elm_box_add(win); - elm_box_horizontal_set(bx2, 1); + elm_box_horizontal_set(bx2, EINA_TRUE); evas_object_size_hint_weight_set(bx2, EVAS_HINT_EXPAND, 0.0); evas_object_size_hint_align_set(bx2, EVAS_HINT_FILL, EVAS_HINT_FILL); @@ -967,7 +967,7 @@ test_entry3(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info evas_object_show(en); bx2 = elm_box_add(win); - elm_box_horizontal_set(bx2, 1); + elm_box_horizontal_set(bx2, EINA_TRUE); evas_object_size_hint_weight_set(bx2, EVAS_HINT_EXPAND, 0.0); evas_object_size_hint_align_set(bx2, EVAS_HINT_FILL, EVAS_HINT_FILL); @@ -1035,7 +1035,7 @@ test_entry3(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info evas_object_show(bx2); bx2 = elm_box_add(win); - elm_box_horizontal_set(bx2, 1); + elm_box_horizontal_set(bx2, EINA_TRUE); evas_object_size_hint_weight_set(bx2, EVAS_HINT_EXPAND, 0.0); evas_object_size_hint_align_set(bx2, EVAS_HINT_FILL, EVAS_HINT_FILL); @@ -1103,7 +1103,7 @@ test_entry3(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info evas_object_show(bx2); bx2 = elm_box_add(win); - elm_box_horizontal_set(bx2, 1); + elm_box_horizontal_set(bx2, EINA_TRUE); evas_object_size_hint_weight_set(bx2, EVAS_HINT_EXPAND, 0.0); evas_object_size_hint_align_set(bx2, EVAS_HINT_FILL, EVAS_HINT_FILL); @@ -1171,7 +1171,7 @@ test_entry3(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info evas_object_show(bx2); bx2 = elm_box_add(win); - elm_box_horizontal_set(bx2, 1); + elm_box_horizontal_set(bx2, EINA_TRUE); evas_object_size_hint_weight_set(bx2, EVAS_HINT_EXPAND, 0.0); evas_object_size_hint_align_set(bx2, EVAS_HINT_FILL, EVAS_HINT_FILL); @@ -1329,7 +1329,7 @@ test_entry5(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info evas_object_show(en); bx2 = elm_box_add(win); - elm_box_horizontal_set(bx2, 1); + elm_box_horizontal_set(bx2, EINA_TRUE); evas_object_size_hint_weight_set(bx2, EVAS_HINT_EXPAND, 0.0); evas_object_size_hint_align_set(bx2, EVAS_HINT_FILL, EVAS_HINT_FILL); @@ -1397,7 +1397,7 @@ test_entry5(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info evas_object_show(bx2); bx2 = elm_box_add(win); - elm_box_horizontal_set(bx2, 1); + elm_box_horizontal_set(bx2, EINA_TRUE); evas_object_size_hint_weight_set(bx2, EVAS_HINT_EXPAND, 0.0); evas_object_size_hint_align_set(bx2, EVAS_HINT_FILL, EVAS_HINT_FILL); @@ -1465,7 +1465,7 @@ test_entry5(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info evas_object_show(bx2); bx2 = elm_box_add(win); - elm_box_horizontal_set(bx2, 1); + elm_box_horizontal_set(bx2, EINA_TRUE); evas_object_size_hint_weight_set(bx2, EVAS_HINT_EXPAND, 0.0); evas_object_size_hint_align_set(bx2, EVAS_HINT_FILL, EVAS_HINT_FILL); @@ -1533,7 +1533,7 @@ test_entry5(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info evas_object_show(bx2); bx2 = elm_box_add(win); - elm_box_horizontal_set(bx2, 1); + elm_box_horizontal_set(bx2, EINA_TRUE); evas_object_size_hint_weight_set(bx2, EVAS_HINT_EXPAND, 0.0); evas_object_size_hint_align_set(bx2, EVAS_HINT_FILL, EVAS_HINT_FILL); diff --git a/src/bin/test_flip.c b/src/bin/test_flip.c index 346288d..c720158 100644 --- a/src/bin/test_flip.c +++ b/src/bin/test_flip.c @@ -120,7 +120,7 @@ test_flip(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info _ evas_object_show(fl); bx2 = elm_box_add(win); - elm_box_horizontal_set(bx2, 1); + elm_box_horizontal_set(bx2, EINA_TRUE); evas_object_size_hint_align_set(bx2, EVAS_HINT_FILL, EVAS_HINT_FILL); evas_object_size_hint_weight_set(bx2, EVAS_HINT_EXPAND, 0.0); @@ -160,7 +160,7 @@ test_flip(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info _ evas_object_show(bx2); bx2 = elm_box_add(win); - elm_box_horizontal_set(bx2, 1); + elm_box_horizontal_set(bx2, EINA_TRUE); evas_object_size_hint_align_set(bx2, EVAS_HINT_FILL, EVAS_HINT_FILL); evas_object_size_hint_weight_set(bx2, EVAS_HINT_EXPAND, 0.0); @@ -313,7 +313,7 @@ test_flip2(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info evas_object_show(fl); bx2 = elm_box_add(win); - elm_box_horizontal_set(bx2, 1); + elm_box_horizontal_set(bx2, EINA_TRUE); evas_object_size_hint_align_set(bx2, EVAS_HINT_FILL, EVAS_HINT_FILL); evas_object_size_hint_weight_set(bx2, EVAS_HINT_EXPAND, 0.0); @@ -457,7 +457,7 @@ test_flip3(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info evas_object_show(o); bx2 = elm_box_add(win); - elm_box_horizontal_set(bx2, 1); + elm_box_horizontal_set(bx2, EINA_TRUE); evas_object_size_hint_align_set(bx2, EVAS_HINT_FILL, EVAS_HINT_FILL); evas_object_size_hint_weight_set(bx2, EVAS_HINT_EXPAND, 0.0); diff --git a/src/bin/test_genlist.c b/src/bin/test_genlist.c index d14ccfb..3228931 100644 --- a/src/bin/test_genlist.c +++ b/src/bin/test_genlist.c @@ -398,8 +398,8 @@ test_genlist2(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in elm_box_pack_end(bx, gl); bx2 = elm_box_add(win); - elm_box_horizontal_set(bx2, 1); - elm_box_homogenous_set(bx2, 1); + elm_box_horizontal_set(bx2, EINA_TRUE); + elm_box_homogenous_set(bx2, EINA_TRUE); evas_object_size_hint_weight_set(bx2, EVAS_HINT_EXPAND, 0.0); evas_object_size_hint_align_set(bx2, EVAS_HINT_FILL, EVAS_HINT_FILL); @@ -439,8 +439,8 @@ test_genlist2(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in evas_object_show(bx2); bx2 = elm_box_add(win); - elm_box_horizontal_set(bx2, 1); - elm_box_homogenous_set(bx2, 1); + elm_box_horizontal_set(bx2, EINA_TRUE); + elm_box_homogenous_set(bx2, EINA_TRUE); evas_object_size_hint_weight_set(bx2, EVAS_HINT_EXPAND, 0.0); evas_object_size_hint_align_set(bx2, EVAS_HINT_FILL, EVAS_HINT_FILL); @@ -472,8 +472,8 @@ test_genlist2(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in evas_object_show(bx2); bx3 = elm_box_add(win); - elm_box_horizontal_set(bx3, 1); - elm_box_homogenous_set(bx3, 1); + elm_box_horizontal_set(bx3, EINA_TRUE); + elm_box_homogenous_set(bx3, EINA_TRUE); evas_object_size_hint_weight_set(bx3, EVAS_HINT_EXPAND, 0.0); evas_object_size_hint_align_set(bx3, EVAS_HINT_FILL, EVAS_HINT_FILL); @@ -615,8 +615,8 @@ test_genlist3(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in evas_object_show(bx); bx2 = elm_box_add(win); - elm_box_horizontal_set(bx2, 1); - elm_box_homogenous_set(bx2, 1); + elm_box_horizontal_set(bx2, EINA_TRUE); + elm_box_homogenous_set(bx2, EINA_TRUE); evas_object_size_hint_weight_set(bx2, EVAS_HINT_EXPAND, 0.0); evas_object_size_hint_align_set(bx2, EVAS_HINT_FILL, EVAS_HINT_FILL); @@ -752,8 +752,8 @@ test_genlist4(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in evas_object_show(bx); bx2 = elm_box_add(win); - elm_box_horizontal_set(bx2, 1); - elm_box_homogenous_set(bx2, 1); + elm_box_horizontal_set(bx2, EINA_TRUE); + elm_box_homogenous_set(bx2, EINA_TRUE); evas_object_size_hint_weight_set(bx2, EVAS_HINT_EXPAND, 0.0); evas_object_size_hint_align_set(bx2, EVAS_HINT_FILL, EVAS_HINT_FILL); @@ -821,7 +821,7 @@ Evas_Object *gl5_icon_get(void *data, Evas_Object *obj, const char *part) { Evas_Object *bx = elm_box_add(obj); Evas_Object *ic; - elm_box_horizontal_set(bx, 1); + elm_box_horizontal_set(bx, EINA_TRUE); ic = elm_icon_add(obj); snprintf(buf, sizeof(buf), "%s/images/logo_small.png", PACKAGE_DATA_DIR); elm_icon_file_set(ic, buf, NULL); @@ -833,7 +833,7 @@ Evas_Object *gl5_icon_get(void *data, Evas_Object *obj, const char *part) elm_icon_scale_set(ic, 0, 0); evas_object_show(ic); elm_box_pack_end(bx, ic); - elm_box_horizontal_set(bx, 1); + elm_box_horizontal_set(bx, EINA_TRUE); evas_object_show(bx); return bx; } @@ -983,8 +983,8 @@ test_genlist5(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in evas_object_smart_callback_add(gl, "longpressed", item_longpress, NULL); bx2 = elm_box_add(win); - elm_box_horizontal_set(bx2, 1); - elm_box_homogenous_set(bx2, 1); + elm_box_horizontal_set(bx2, EINA_TRUE); + elm_box_homogenous_set(bx2, EINA_TRUE); evas_object_size_hint_weight_set(bx2, EVAS_HINT_EXPAND, 0.0); evas_object_size_hint_align_set(bx2, EVAS_HINT_FILL, EVAS_HINT_FILL); @@ -1157,8 +1157,8 @@ test_genlist6(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in evas_object_show(bx); bx2 = elm_box_add(win); - elm_box_horizontal_set(bx2, 1); - elm_box_homogenous_set(bx2, 1); + elm_box_horizontal_set(bx2, EINA_TRUE); + elm_box_homogenous_set(bx2, EINA_TRUE); evas_object_size_hint_weight_set(bx2, EVAS_HINT_EXPAND, 0.0); evas_object_size_hint_align_set(bx2, EVAS_HINT_FILL, EVAS_HINT_FILL); @@ -1228,7 +1228,7 @@ test_genlist7_swipe(void *data, Evas_Object *obj __UNUSED__, void *event_info) if ((!event_info) || (!data)) return; box = elm_box_add(info->win); - elm_box_homogenous_set(box, 0); + elm_box_homogenous_set(box, EINA_FALSE); evas_object_size_hint_weight_set(box, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); evas_object_size_hint_align_set(box, EVAS_HINT_FILL, EVAS_HINT_FILL); evas_object_show(box); diff --git a/src/bin/test_launcher.c b/src/bin/test_launcher.c index 66cad3c..54b7c33 100644 --- a/src/bin/test_launcher.c +++ b/src/bin/test_launcher.c @@ -213,8 +213,8 @@ test_launcher(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in evas_object_show(bg); bx = elm_box_add(win); - elm_box_homogenous_set(bx, 1); - elm_box_horizontal_set(bx, 1); + elm_box_homogenous_set(bx, EINA_TRUE); + elm_box_horizontal_set(bx, EINA_TRUE); sc = elm_scroller_add(win); elm_scroller_bounce_set(sc, 1, 0); @@ -309,7 +309,7 @@ test_launcher(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in bx2 = elm_box_add(win); evas_object_size_hint_weight_set(bx2, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); - elm_box_horizontal_set(bx2, 0); + elm_box_horizontal_set(bx2, EINA_FALSE); elm_win_resize_object_add(win, bx2); evas_object_show(bx2); @@ -396,8 +396,8 @@ test_launcher2(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_i evas_object_show(bg); bx = elm_box_add(win); - elm_box_homogenous_set(bx, 1); - elm_box_horizontal_set(bx, 1); + elm_box_homogenous_set(bx, EINA_TRUE); + elm_box_horizontal_set(bx, EINA_TRUE); for (k = 0 ; k < 8; k++) { @@ -746,8 +746,8 @@ test_launcher3(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_i bx = elm_box_add(win); evas_object_size_hint_weight_set(bx, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); evas_object_size_hint_align_set(bx, EVAS_HINT_FILL, EVAS_HINT_FILL); - elm_box_homogenous_set(bx, 1); - elm_box_horizontal_set(bx, 1); + elm_box_homogenous_set(bx, EINA_TRUE); + elm_box_horizontal_set(bx, EINA_TRUE); sc = elm_scroller_add(win); elm_scroller_bounce_set(sc, 1, 0); @@ -844,7 +844,7 @@ test_launcher3(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_i bx2 = elm_box_add(win); evas_object_size_hint_weight_set(bx2, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); - elm_box_horizontal_set(bx2, 0); + elm_box_horizontal_set(bx2, EINA_FALSE); elm_win_resize_object_add(win, bx2); evas_object_show(bx2); diff --git a/src/bin/test_list.c b/src/bin/test_list.c index cf44d61..3235c57 100644 --- a/src/bin/test_list.c +++ b/src/bin/test_list.c @@ -90,7 +90,7 @@ test_list(void *data __UNUSED__, it2 = elm_list_item_append(li, "How", ic, ic2, NULL, NULL); bx = elm_box_add(win); - elm_box_horizontal_set(bx, 1); + elm_box_horizontal_set(bx, EINA_TRUE); ic = elm_icon_add(win); snprintf(buf, sizeof(buf), "%s/images/logo_small.png", PACKAGE_DATA_DIR); @@ -393,7 +393,7 @@ test_list2(void *data __UNUSED__, elm_list_item_append(li, "How", ic, ic2, NULL, NULL); bx2 = elm_box_add(win); - elm_box_horizontal_set(bx2, 1); + elm_box_horizontal_set(bx2, EINA_TRUE); ic = elm_icon_add(win); snprintf(buf, sizeof(buf), "%s/images/logo_small.png", PACKAGE_DATA_DIR); @@ -431,8 +431,8 @@ test_list2(void *data __UNUSED__, evas_object_show(li); bx2 = elm_box_add(win); - elm_box_horizontal_set(bx2, 1); - elm_box_homogenous_set(bx2, 1); + elm_box_horizontal_set(bx2, EINA_TRUE); + elm_box_homogenous_set(bx2, EINA_TRUE); evas_object_size_hint_weight_set(bx2, EVAS_HINT_EXPAND, 0.0); evas_object_size_hint_align_set(bx2, EVAS_HINT_FILL, EVAS_HINT_FILL); @@ -524,7 +524,7 @@ test_list3(void *data __UNUSED__, elm_list_item_append(li, "How", ic, ic2, NULL, NULL); bx = elm_box_add(win); - elm_box_horizontal_set(bx, 1); + elm_box_horizontal_set(bx, EINA_TRUE); ic = elm_icon_add(win); snprintf(buf, sizeof(buf), "%s/images/logo_small.png", PACKAGE_DATA_DIR); @@ -604,8 +604,8 @@ test_list4_swipe(void *data, item_data = elm_list_item_data_get(event_info); box = elm_box_add(info->win); - elm_box_horizontal_set(box, 0); - elm_box_homogenous_set(box, 0); + elm_box_horizontal_set(box, EINA_FALSE); + elm_box_homogenous_set(box, EINA_FALSE); evas_object_size_hint_weight_set(box, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); evas_object_size_hint_align_set(box, EVAS_HINT_FILL, EVAS_HINT_FILL); evas_object_show(box); diff --git a/src/bin/test_notify.c b/src/bin/test_notify.c index bfbb05e..8772f7b 100644 --- a/src/bin/test_notify.c +++ b/src/bin/test_notify.c @@ -61,7 +61,7 @@ test_notify(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info bx = elm_box_add(win); elm_notify_content_set(notify, bx); - elm_box_horizontal_set(bx, 1); + elm_box_horizontal_set(bx, EINA_TRUE); evas_object_show(bx); lb = elm_label_add(win); @@ -91,7 +91,7 @@ test_notify(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info bx = elm_box_add(win); elm_notify_content_set(notify, bx); - elm_box_horizontal_set(bx, 1); + elm_box_horizontal_set(bx, EINA_TRUE); evas_object_show(bx); lb = elm_label_add(win); @@ -120,7 +120,7 @@ test_notify(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info bx = elm_box_add(win); elm_notify_content_set(notify, bx); - elm_box_horizontal_set(bx, 1); + elm_box_horizontal_set(bx, EINA_TRUE); evas_object_show(bx); lb = elm_label_add(win); @@ -148,7 +148,7 @@ test_notify(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info bx = elm_box_add(win); elm_notify_content_set(notify, bx); - elm_box_horizontal_set(bx, 1); + elm_box_horizontal_set(bx, EINA_TRUE); evas_object_show(bx); lb = elm_label_add(win); @@ -174,7 +174,7 @@ test_notify(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info bx = elm_box_add(win); elm_notify_content_set(notify, bx); - elm_box_horizontal_set(bx, 1); + elm_box_horizontal_set(bx, EINA_TRUE); evas_object_show(bx); lb = elm_label_add(win); @@ -200,7 +200,7 @@ test_notify(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info bx = elm_box_add(win); elm_notify_content_set(notify, bx); - elm_box_horizontal_set(bx, 1); + elm_box_horizontal_set(bx, EINA_TRUE); evas_object_show(bx); lb = elm_label_add(win); @@ -226,7 +226,7 @@ test_notify(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info bx = elm_box_add(win); elm_notify_content_set(notify, bx); - elm_box_horizontal_set(bx, 1); + elm_box_horizontal_set(bx, EINA_TRUE); evas_object_show(bx); lb = elm_label_add(win); @@ -252,7 +252,7 @@ test_notify(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info bx = elm_box_add(win); elm_notify_content_set(notify, bx); - elm_box_horizontal_set(bx, 1); + elm_box_horizontal_set(bx, EINA_TRUE); evas_object_show(bx); lb = elm_label_add(win); @@ -278,7 +278,7 @@ test_notify(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info bx = elm_box_add(win); elm_notify_content_set(notify, bx); - elm_box_horizontal_set(bx, 1); + elm_box_horizontal_set(bx, EINA_TRUE); evas_object_show(bx); lb = elm_label_add(win); diff --git a/src/bin/test_progressbar.c b/src/bin/test_progressbar.c index fd9ddf8..25c509c 100644 --- a/src/bin/test_progressbar.c +++ b/src/bin/test_progressbar.c @@ -183,7 +183,7 @@ test_progressbar(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event _test_progressbar.pb7 = pb; bt_bx = elm_box_add(win); - elm_box_horizontal_set(bt_bx, 1); + elm_box_horizontal_set(bt_bx, EINA_TRUE); evas_object_size_hint_weight_set(bt_bx, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); elm_box_pack_end(bx, bt_bx); evas_object_show(bt_bx); diff --git a/src/bin/test_scroller.c b/src/bin/test_scroller.c index 93a987e..f031385 100644 --- a/src/bin/test_scroller.c +++ b/src/bin/test_scroller.c @@ -178,7 +178,7 @@ test_scroller2(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_i evas_object_show(sc); bx2 = elm_box_add(win); - elm_box_horizontal_set(bx2, 1); + elm_box_horizontal_set(bx2, EINA_TRUE); for (i = 0; i < 10; i++) { diff --git a/src/bin/test_win_state.c b/src/bin/test_win_state.c index f1699b9..6292033 100644 --- a/src/bin/test_win_state.c +++ b/src/bin/test_win_state.c @@ -135,8 +135,8 @@ test_win_state(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_i evas_object_show(bx); bx2 = elm_box_add(win); - elm_box_horizontal_set(bx2, 1); - elm_box_homogenous_set(bx2, 1); + elm_box_horizontal_set(bx2, EINA_TRUE); + elm_box_homogenous_set(bx2, EINA_TRUE); evas_object_size_hint_weight_set(bx2, EVAS_HINT_EXPAND, 0.0); evas_object_size_hint_fill_set(bx2, EVAS_HINT_FILL, EVAS_HINT_FILL); @@ -160,8 +160,8 @@ test_win_state(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_i evas_object_show(bx2); bx2 = elm_box_add(win); - elm_box_horizontal_set(bx2, 1); - elm_box_homogenous_set(bx2, 1); + elm_box_horizontal_set(bx2, EINA_TRUE); + elm_box_homogenous_set(bx2, EINA_TRUE); evas_object_size_hint_weight_set(bx2, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); evas_object_size_hint_fill_set(bx2, EVAS_HINT_FILL, EVAS_HINT_FILL); @@ -190,8 +190,8 @@ test_win_state(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_i elm_box_pack_end(bx, ck); bx2 = elm_box_add(win); - elm_box_horizontal_set(bx2, 1); - elm_box_homogenous_set(bx2, 1); + elm_box_horizontal_set(bx2, EINA_TRUE); + elm_box_homogenous_set(bx2, EINA_TRUE); evas_object_size_hint_weight_set(bx2, EVAS_HINT_EXPAND, 0.0); evas_object_size_hint_fill_set(bx2, EVAS_HINT_FILL, EVAS_HINT_FILL); @@ -261,7 +261,7 @@ test_win_state2(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_ evas_object_show(bx); bx2 = elm_box_add(win); - elm_box_horizontal_set(bx2, 1); + elm_box_horizontal_set(bx2, EINA_TRUE); evas_object_size_hint_weight_set(bx2, EVAS_HINT_EXPAND, 0.0); evas_object_size_hint_fill_set(bx2, EVAS_HINT_FILL, EVAS_HINT_FILL); @@ -293,8 +293,8 @@ test_win_state2(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_ evas_object_show(bx2); bx2 = elm_box_add(win); - elm_box_horizontal_set(bx2, 1); - elm_box_homogenous_set(bx2, 1); + elm_box_horizontal_set(bx2, EINA_TRUE); + elm_box_homogenous_set(bx2, EINA_TRUE); evas_object_size_hint_weight_set(bx2, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); evas_object_size_hint_fill_set(bx2, EVAS_HINT_FILL, EVAS_HINT_FILL); @@ -323,8 +323,8 @@ test_win_state2(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_ elm_box_pack_end(bx, ck); bx2 = elm_box_add(win); - elm_box_horizontal_set(bx2, 1); - elm_box_homogenous_set(bx2, 1); + elm_box_horizontal_set(bx2, EINA_TRUE); + elm_box_homogenous_set(bx2, EINA_TRUE); evas_object_size_hint_weight_set(bx2, EVAS_HINT_EXPAND, 0.0); evas_object_size_hint_fill_set(bx2, EVAS_HINT_FILL, EVAS_HINT_FILL);