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);
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);
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);
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);
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);
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);
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);
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);
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);
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);
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);
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");
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);