#endif
#ifndef ELM_LIB_QUICKLAUNCH
+// XXX: show all type of cursors in the elementary_test. this needs to be the first test
+
typedef struct _Testitem
{
Elm_Object_Item *item;
glit2 = elm_genlist_item_append(gl, &itct, (void *)(long) (val + 2), glit,
ELM_GENLIST_ITEM_NONE, NULL, NULL);
glit3 = elm_genlist_item_append(gl, &itct, (void *)(long) (val + 3), glit,
- ELM_GENLIST_ITEM_SUBITEMS, NULL, NULL);
+ ELM_GENLIST_ITEM_TREE, NULL, NULL);
elm_genlist_item_cursor_set(glit1, ELM_CURSOR_HAND2);
elm_genlist_item_cursor_set(glit2, ELM_CURSOR_HAND2);
itct.func.text_get = glt_text_get;
glit1 = elm_genlist_item_append(gl, &itct, (void *) 1, NULL,
- ELM_GENLIST_ITEM_SUBITEMS, NULL, NULL);
+ ELM_GENLIST_ITEM_TREE, NULL, NULL);
glit2 = elm_genlist_item_append(gl, &itct, (void *) 2, NULL,
- ELM_GENLIST_ITEM_SUBITEMS, NULL, NULL);
+ ELM_GENLIST_ITEM_TREE, NULL, NULL);
glit3 = elm_genlist_item_append(gl, &itct, (void *) 3, NULL,
ELM_GENLIST_ITEM_NONE, NULL, NULL);
o = elm_button_add(win);
elm_object_cursor_set(o, ELM_CURSOR_HAND1);
- elm_object_cursor_engine_only_set(o, EINA_FALSE);
+ elm_object_cursor_theme_search_enabled_set(o, EINA_FALSE);
elm_object_text_set(o, "hand1");
elm_box_pack_end(bx, o);
evas_object_show(o);
o = elm_button_add(win);
elm_object_cursor_set(o, ELM_CURSOR_HAND2);
- elm_object_cursor_engine_only_set(o, EINA_FALSE);
+ elm_object_cursor_theme_search_enabled_set(o, EINA_FALSE);
elm_object_text_set(o, "hand2");
elm_box_pack_end(bx, o);
evas_object_show(o);
o = elm_button_add(win);
elm_object_cursor_set(o, "hand3");
- elm_object_cursor_engine_only_set(o, EINA_FALSE);
+ elm_object_cursor_theme_search_enabled_set(o, EINA_FALSE);
elm_object_text_set(o, "hand3");
elm_box_pack_end(bx, o);
evas_object_show(o);
o = elm_button_add(win);
elm_object_cursor_set(o, "hand3");
- elm_object_cursor_engine_only_set(o, EINA_FALSE);
+ elm_object_cursor_theme_search_enabled_set(o, EINA_FALSE);
elm_object_cursor_style_set(o, "transparent");
elm_object_text_set(o, "hand3 transparent");
elm_box_pack_end(bx, o);
o = elm_button_add(win);
elm_object_cursor_set(o, "hand3");
- elm_object_cursor_engine_only_set(o, EINA_FALSE);
+ elm_object_cursor_theme_search_enabled_set(o, EINA_FALSE);
elm_object_cursor_unset(o);
elm_object_text_set(o, "unset");
elm_box_pack_end(bx, o);
elm_box_pack_end(bx, o);
evas_object_show(o);
- elm_cursor_engine_only_set(0);
+ elm_config_cursor_engine_only_set(EINA_FALSE);
o = elm_button_add(win);
elm_object_cursor_set(o, "hand2");
elm_object_text_set(o, "hand 2 engine only config false");
elm_box_pack_end(bx, o);
evas_object_show(o);
- elm_cursor_engine_only_set(1);
+ elm_config_cursor_engine_only_set(EINA_TRUE);
o = elm_button_add(win);
elm_object_cursor_set(o, "hand2");
elm_object_text_set(o, "hand 2 engine only config true");