forked from enlightenment/efl
elm genlist: Changed elm_genlist_edit_mode_get/set ->
elm_genlist_decorate_mode_get/set. Signed-off-by: Daniel Juyung Seo <juyung.seo@samsung.com> SVN revision: 69006
This commit is contained in:
parent
591481d4ae
commit
0c208f325d
|
@ -2391,7 +2391,7 @@ static void
|
||||||
gl15_sel(void *data, Evas_Object *obj, void *event_info __UNUSED__)
|
gl15_sel(void *data, Evas_Object *obj, void *event_info __UNUSED__)
|
||||||
{
|
{
|
||||||
Testitem *tit = data;
|
Testitem *tit = data;
|
||||||
if (elm_genlist_edit_mode_get(obj))
|
if (elm_genlist_decorate_mode_get(obj))
|
||||||
{
|
{
|
||||||
if (!tit->checked) tit->checked = EINA_TRUE;
|
if (!tit->checked) tit->checked = EINA_TRUE;
|
||||||
else tit->checked = EINA_FALSE;
|
else tit->checked = EINA_FALSE;
|
||||||
|
@ -2402,14 +2402,14 @@ gl15_sel(void *data, Evas_Object *obj, void *event_info __UNUSED__)
|
||||||
static void
|
static void
|
||||||
gl15_edit_mode(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
|
gl15_edit_mode(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
|
||||||
{
|
{
|
||||||
elm_genlist_edit_mode_set(data, EINA_TRUE);
|
elm_genlist_decorate_mode_set(data, EINA_TRUE);
|
||||||
elm_genlist_select_mode_set(data, ELM_OBJECT_SELECT_MODE_ALWAYS);
|
elm_genlist_select_mode_set(data, ELM_OBJECT_SELECT_MODE_ALWAYS);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
gl15_normal_mode(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
|
gl15_normal_mode(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
|
||||||
{
|
{
|
||||||
elm_genlist_edit_mode_set(data, EINA_FALSE);
|
elm_genlist_decorate_mode_set(data, EINA_FALSE);
|
||||||
elm_genlist_select_mode_set(data, ELM_OBJECT_SELECT_MODE_DEFAULT);
|
elm_genlist_select_mode_set(data, ELM_OBJECT_SELECT_MODE_DEFAULT);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2565,7 +2565,7 @@ test_genlist16(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_i
|
||||||
evas_object_show(gl);
|
evas_object_show(gl);
|
||||||
|
|
||||||
/* note: flip mode can be used with/without edit mode */
|
/* note: flip mode can be used with/without edit mode */
|
||||||
elm_genlist_edit_mode_set(gl, EINA_TRUE);
|
elm_genlist_decorate_mode_set(gl, EINA_TRUE);
|
||||||
elm_genlist_select_mode_set(gl, ELM_OBJECT_SELECT_MODE_ALWAYS);
|
elm_genlist_select_mode_set(gl, ELM_OBJECT_SELECT_MODE_ALWAYS);
|
||||||
|
|
||||||
itc15 = elm_genlist_item_class_new();
|
itc15 = elm_genlist_item_class_new();
|
||||||
|
|
|
@ -6288,7 +6288,7 @@ EINA_DEPRECATED EAPI void elm_genlist_item_mode_set(Elm
|
||||||
* This function just returns the name of the last used genlist mode. It will
|
* This function just returns the name of the last used genlist mode. It will
|
||||||
* be the current mode if it's still active.
|
* be the current mode if it's still active.
|
||||||
*
|
*
|
||||||
* @deprecated elm_genlist_decorate_mode_get()
|
* @deprecated elm_genlist_item_decorate_mode_get()
|
||||||
*/
|
*/
|
||||||
EINA_DEPRECATED EAPI const char *elm_genlist_mode_type_get(const Evas_Object *obj);
|
EINA_DEPRECATED EAPI const char *elm_genlist_mode_type_get(const Evas_Object *obj);
|
||||||
|
|
||||||
|
@ -6306,6 +6306,30 @@ EINA_DEPRECATED EAPI const char *elm_genlist_mode_type_get(con
|
||||||
*/
|
*/
|
||||||
EINA_DEPRECATED EAPI const Elm_Object_Item *elm_genlist_mode_item_get(const Evas_Object *obj);
|
EINA_DEPRECATED EAPI const Elm_Object_Item *elm_genlist_mode_item_get(const Evas_Object *obj);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Set Genlist edit mode
|
||||||
|
*
|
||||||
|
* This sets Genlist edit mode.
|
||||||
|
*
|
||||||
|
* @param obj The Genlist object
|
||||||
|
* @param The edit mode status
|
||||||
|
* (EINA_TRUE = edit mode, EINA_FALSE = normal mode
|
||||||
|
*
|
||||||
|
* @deprecated elm_genlist_decorate_mode_set
|
||||||
|
*/
|
||||||
|
EINA_DEPRECATED EAPI void elm_genlist_edit_mode_set(Evas_Object *obj, Eina_Bool edit_mode);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get Genlist edit mode
|
||||||
|
*
|
||||||
|
* @param obj The genlist object
|
||||||
|
* @return The edit mode status
|
||||||
|
* (EINA_TRUE = edit mode, EINA_FALSE = normal mode
|
||||||
|
*
|
||||||
|
* @deprecated elm_genlist_decorate_mode_get()
|
||||||
|
*/
|
||||||
|
EINA_DEPRECATED EAPI Eina_Bool elm_genlist_edit_mode_get(const Evas_Object *obj);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @}
|
* @}
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -131,7 +131,7 @@ struct _Widget_Data
|
||||||
Eina_Bool height_for_width : 1;
|
Eina_Bool height_for_width : 1;
|
||||||
Eina_Bool homogeneous : 1;
|
Eina_Bool homogeneous : 1;
|
||||||
Eina_Bool swipe : 1;
|
Eina_Bool swipe : 1;
|
||||||
Eina_Bool edit_mode : 1;
|
Eina_Bool decorate_mode : 1;
|
||||||
Eina_Bool reorder_pan_move : 1;
|
Eina_Bool reorder_pan_move : 1;
|
||||||
Eina_Bool auto_scroll_enabled : 1;
|
Eina_Bool auto_scroll_enabled : 1;
|
||||||
Eina_Bool pan_changed : 1;
|
Eina_Bool pan_changed : 1;
|
||||||
|
|
|
@ -75,7 +75,7 @@ struct Elm_Gen_Item_Type
|
||||||
Eina_Bool stacking_even : 1;
|
Eina_Bool stacking_even : 1;
|
||||||
Eina_Bool nostacking : 1;
|
Eina_Bool nostacking : 1;
|
||||||
Eina_Bool move_effect_enabled : 1;
|
Eina_Bool move_effect_enabled : 1;
|
||||||
Eina_Bool edit_mode_item_realized : 1;
|
Eina_Bool decorate_mode_item_realized : 1;
|
||||||
Eina_Bool tree_effect_finished : 1; /* tree effect */
|
Eina_Bool tree_effect_finished : 1; /* tree effect */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -155,9 +155,9 @@ static void _mode_item_realize(Elm_Gen_Item *it);
|
||||||
static void _mode_item_unrealize(Elm_Gen_Item *it);
|
static void _mode_item_unrealize(Elm_Gen_Item *it);
|
||||||
static void _item_mode_set(Elm_Gen_Item *it);
|
static void _item_mode_set(Elm_Gen_Item *it);
|
||||||
static void _item_mode_unset(Widget_Data *wd);
|
static void _item_mode_unset(Widget_Data *wd);
|
||||||
static void _edit_mode_item_position(Elm_Gen_Item *it, int itx, int ity);
|
static void _decorate_mode_item_position(Elm_Gen_Item *it, int itx, int ity);
|
||||||
static void _edit_mode_item_realize(Elm_Gen_Item *it, Eina_Bool effect_on);
|
static void _decorate_mode_item_realize(Elm_Gen_Item *it, Eina_Bool effect_on);
|
||||||
static void _edit_mode_item_unrealize(Elm_Gen_Item *it);
|
static void _decorate_mode_item_unrealize(Elm_Gen_Item *it);
|
||||||
static void _group_items_recalc(void *data);
|
static void _group_items_recalc(void *data);
|
||||||
static void _item_move_after(Elm_Gen_Item *it,
|
static void _item_move_after(Elm_Gen_Item *it,
|
||||||
Elm_Gen_Item *after);
|
Elm_Gen_Item *after);
|
||||||
|
@ -552,7 +552,7 @@ _del_pre_hook(Evas_Object *obj)
|
||||||
{
|
{
|
||||||
Widget_Data *wd = elm_widget_data_get(obj);
|
Widget_Data *wd = elm_widget_data_get(obj);
|
||||||
if (!wd) return;
|
if (!wd) return;
|
||||||
if (wd->edit_mode) elm_genlist_edit_mode_set(wd->obj, EINA_FALSE);
|
if (wd->decorate_mode) elm_genlist_decorate_mode_set(wd->obj, EINA_FALSE);
|
||||||
elm_genlist_clear(obj);
|
elm_genlist_clear(obj);
|
||||||
evas_object_del(wd->pan_smart);
|
evas_object_del(wd->pan_smart);
|
||||||
wd->pan_smart = NULL;
|
wd->pan_smart = NULL;
|
||||||
|
@ -848,7 +848,7 @@ _item_del(Elm_Gen_Item *it)
|
||||||
elm_genlist_item_subitems_clear((Elm_Object_Item *)it);
|
elm_genlist_item_subitems_clear((Elm_Object_Item *)it);
|
||||||
if (it->wd->show_item == it) it->wd->show_item = NULL;
|
if (it->wd->show_item == it) it->wd->show_item = NULL;
|
||||||
if (it->realized) _elm_genlist_item_unrealize(it, EINA_FALSE);
|
if (it->realized) _elm_genlist_item_unrealize(it, EINA_FALSE);
|
||||||
if (it->item->edit_mode_item_realized) _edit_mode_item_unrealize(it);
|
if (it->item->decorate_mode_item_realized) _decorate_mode_item_unrealize(it);
|
||||||
if (it->item->block) _item_block_del(it);
|
if (it->item->block) _item_block_del(it);
|
||||||
if (it->item->queued)
|
if (it->item->queued)
|
||||||
it->wd->queue = eina_list_remove(it->wd->queue, it);
|
it->wd->queue = eina_list_remove(it->wd->queue, it);
|
||||||
|
@ -1085,7 +1085,7 @@ _long_press(void *data)
|
||||||
return ECORE_CALLBACK_RENEW;
|
return ECORE_CALLBACK_RENEW;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!it->wd->edit_mode)
|
if (!it->wd->decorate_mode)
|
||||||
edje_object_signal_emit(VIEW(it), "elm,state,reorder,enabled", "elm");
|
edje_object_signal_emit(VIEW(it), "elm,state,reorder,enabled", "elm");
|
||||||
}
|
}
|
||||||
return ECORE_CALLBACK_CANCEL;
|
return ECORE_CALLBACK_CANCEL;
|
||||||
|
@ -2060,9 +2060,9 @@ _item_realize(Elm_Gen_Item *it,
|
||||||
evas_object_event_callback_add(VIEW(it), EVAS_CALLBACK_MULTI_MOVE,
|
evas_object_event_callback_add(VIEW(it), EVAS_CALLBACK_MULTI_MOVE,
|
||||||
_multi_move, it);
|
_multi_move, it);
|
||||||
|
|
||||||
if ((it->wd->edit_mode) && (!it->edit_obj) &&
|
if ((it->wd->decorate_mode) && (!it->edit_obj) &&
|
||||||
(it->item->type != ELM_GENLIST_ITEM_GROUP) && (it->itc->edit_item_style))
|
(it->item->type != ELM_GENLIST_ITEM_GROUP) && (it->itc->edit_item_style))
|
||||||
_edit_mode_item_realize(it, EINA_FALSE);
|
_decorate_mode_item_realize(it, EINA_FALSE);
|
||||||
|
|
||||||
_elm_genlist_item_state_update(it, itc);
|
_elm_genlist_item_state_update(it, itc);
|
||||||
_elm_genlist_item_index_update(it);
|
_elm_genlist_item_index_update(it);
|
||||||
|
@ -2153,11 +2153,11 @@ _item_realize(Elm_Gen_Item *it,
|
||||||
if (!calc)
|
if (!calc)
|
||||||
evas_object_smart_callback_call(WIDGET(it), SIG_REALIZED, it);
|
evas_object_smart_callback_call(WIDGET(it), SIG_REALIZED, it);
|
||||||
|
|
||||||
if ((!calc) && (it->wd->edit_mode) && (it->item->type != ELM_GENLIST_ITEM_GROUP))
|
if ((!calc) && (it->wd->decorate_mode) && (it->item->type != ELM_GENLIST_ITEM_GROUP))
|
||||||
{
|
{
|
||||||
if (it->itc->edit_item_style)
|
if (it->itc->edit_item_style)
|
||||||
{
|
{
|
||||||
if (!it->edit_obj) _edit_mode_item_realize(it, EINA_FALSE);
|
if (!it->edit_obj) _decorate_mode_item_realize(it, EINA_FALSE);
|
||||||
edje_object_message_signal_process(it->edit_obj);
|
edje_object_message_signal_process(it->edit_obj);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2188,7 +2188,7 @@ _item_unrealize_cb(Elm_Gen_Item *it)
|
||||||
it->states = NULL;
|
it->states = NULL;
|
||||||
it->realized = EINA_FALSE;
|
it->realized = EINA_FALSE;
|
||||||
it->want_unrealize = EINA_FALSE;
|
it->want_unrealize = EINA_FALSE;
|
||||||
if (it->wd->edit_mode) _edit_mode_item_unrealize(it);
|
if (it->wd->decorate_mode) _decorate_mode_item_unrealize(it);
|
||||||
}
|
}
|
||||||
|
|
||||||
static Eina_Bool
|
static Eina_Bool
|
||||||
|
@ -2445,8 +2445,8 @@ _item_block_position(Item_Block *itb,
|
||||||
}
|
}
|
||||||
if (!it->item->move_effect_enabled)
|
if (!it->item->move_effect_enabled)
|
||||||
{
|
{
|
||||||
if ((it->wd->edit_mode) && (it->itc->edit_item_style))
|
if ((it->wd->decorate_mode) && (it->itc->edit_item_style))
|
||||||
_edit_mode_item_position(it, it->item->scrl_x,
|
_decorate_mode_item_position(it, it->item->scrl_x,
|
||||||
it->item->scrl_y);
|
it->item->scrl_y);
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -3272,21 +3272,21 @@ _item_mode_unset(Widget_Data *wd)
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
_edit_mode_item_position(Elm_Gen_Item *it, int itx, int ity)
|
_decorate_mode_item_position(Elm_Gen_Item *it, int itx, int ity)
|
||||||
{
|
{
|
||||||
if ((!it) || (!it->wd->edit_mode)) return;
|
if ((!it) || (!it->wd->decorate_mode)) return;
|
||||||
evas_object_resize(it->edit_obj, it->item->w, it->item->h);
|
evas_object_resize(it->edit_obj, it->item->w, it->item->h);
|
||||||
evas_object_move(it->edit_obj, itx, ity);
|
evas_object_move(it->edit_obj, itx, ity);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
_edit_mode_item_realize(Elm_Gen_Item *it, Eina_Bool effect_on)
|
_decorate_mode_item_realize(Elm_Gen_Item *it, Eina_Bool effect_on)
|
||||||
{
|
{
|
||||||
char buf[1024];
|
char buf[1024];
|
||||||
const char *stacking_even;
|
const char *stacking_even;
|
||||||
const char *stacking;
|
const char *stacking;
|
||||||
|
|
||||||
if ((!it) || (it->item->edit_mode_item_realized) ||
|
if ((!it) || (it->item->decorate_mode_item_realized) ||
|
||||||
(it->generation < it->wd->generation))
|
(it->generation < it->wd->generation))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
@ -3345,18 +3345,18 @@ _edit_mode_item_realize(Elm_Gen_Item *it, Eina_Bool effect_on)
|
||||||
_item_state_realize(it, it->edit_obj, &it->item->edit_states, NULL);
|
_item_state_realize(it, it->edit_obj, &it->item->edit_states, NULL);
|
||||||
edje_object_part_swallow(it->edit_obj, "elm.swallow.edit.content", VIEW(it));
|
edje_object_part_swallow(it->edit_obj, "elm.swallow.edit.content", VIEW(it));
|
||||||
|
|
||||||
_edit_mode_item_position(it, it->item->scrl_x, it->item->scrl_y);
|
_decorate_mode_item_position(it, it->item->scrl_x, it->item->scrl_y);
|
||||||
evas_object_show(it->edit_obj);
|
evas_object_show(it->edit_obj);
|
||||||
|
|
||||||
it->item->edit_mode_item_realized = EINA_TRUE;
|
it->item->decorate_mode_item_realized = EINA_TRUE;
|
||||||
it->want_unrealize = EINA_FALSE;
|
it->want_unrealize = EINA_FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
_edit_mode_item_unrealize(Elm_Gen_Item *it)
|
_decorate_mode_item_unrealize(Elm_Gen_Item *it)
|
||||||
{
|
{
|
||||||
Evas_Object *icon;
|
Evas_Object *icon;
|
||||||
if ((!it) || (!it->item->edit_mode_item_realized)) return;
|
if ((!it) || (!it->item->decorate_mode_item_realized)) return;
|
||||||
|
|
||||||
edje_object_part_unswallow(it->edit_obj, VIEW(it));
|
edje_object_part_unswallow(it->edit_obj, VIEW(it));
|
||||||
evas_object_smart_member_add(VIEW(it), it->wd->pan_smart);
|
evas_object_smart_member_add(VIEW(it), it->wd->pan_smart);
|
||||||
|
@ -3388,7 +3388,7 @@ _edit_mode_item_unrealize(Elm_Gen_Item *it)
|
||||||
_multi_up, it);
|
_multi_up, it);
|
||||||
evas_object_event_callback_del_full(it->edit_obj, EVAS_CALLBACK_MULTI_MOVE,
|
evas_object_event_callback_del_full(it->edit_obj, EVAS_CALLBACK_MULTI_MOVE,
|
||||||
_multi_move, it);
|
_multi_move, it);
|
||||||
it->item->edit_mode_item_realized = EINA_FALSE;
|
it->item->decorate_mode_item_realized = EINA_FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
@ -5457,7 +5457,7 @@ elm_genlist_item_decorate_mode_set(Elm_Object_Item *it,
|
||||||
if (!mode_type) return;
|
if (!mode_type) return;
|
||||||
if ((_it->generation < _it->wd->generation) ||
|
if ((_it->generation < _it->wd->generation) ||
|
||||||
elm_widget_item_disabled_get(_it)) return;
|
elm_widget_item_disabled_get(_it)) return;
|
||||||
if (wd->edit_mode) return;
|
if (wd->decorate_mode) return;
|
||||||
|
|
||||||
if ((wd->mode_item == _it) &&
|
if ((wd->mode_item == _it) &&
|
||||||
(!strcmp(mode_type, wd->mode_type)) &&
|
(!strcmp(mode_type, wd->mode_type)) &&
|
||||||
|
@ -5489,7 +5489,7 @@ elm_genlist_item_decorate_mode_set(Elm_Object_Item *it,
|
||||||
}
|
}
|
||||||
|
|
||||||
EAPI const char *
|
EAPI const char *
|
||||||
elm_genlist_decorate_mode_get(const Evas_Object *obj)
|
elm_genlist_item_decorate_mode_get(const Evas_Object *obj)
|
||||||
{
|
{
|
||||||
ELM_CHECK_WIDTYPE(obj, widtype) NULL;
|
ELM_CHECK_WIDTYPE(obj, widtype) NULL;
|
||||||
Widget_Data *wd = elm_widget_data_get(obj);
|
Widget_Data *wd = elm_widget_data_get(obj);
|
||||||
|
@ -5507,17 +5507,17 @@ elm_genlist_decorated_item_get(const Evas_Object *obj)
|
||||||
}
|
}
|
||||||
|
|
||||||
EAPI Eina_Bool
|
EAPI Eina_Bool
|
||||||
elm_genlist_edit_mode_get(const Evas_Object *obj)
|
elm_genlist_decorate_mode_get(const Evas_Object *obj)
|
||||||
{
|
{
|
||||||
ELM_CHECK_WIDTYPE(obj, widtype) EINA_FALSE;
|
ELM_CHECK_WIDTYPE(obj, widtype) EINA_FALSE;
|
||||||
Widget_Data *wd = elm_widget_data_get(obj);
|
Widget_Data *wd = elm_widget_data_get(obj);
|
||||||
if (!wd) return EINA_FALSE;
|
if (!wd) return EINA_FALSE;
|
||||||
|
|
||||||
return wd->edit_mode;
|
return wd->decorate_mode;
|
||||||
}
|
}
|
||||||
|
|
||||||
EAPI void
|
EAPI void
|
||||||
elm_genlist_edit_mode_set(Evas_Object *obj, Eina_Bool edit_mode)
|
elm_genlist_decorate_mode_set(Evas_Object *obj, Eina_Bool decorated)
|
||||||
{
|
{
|
||||||
ELM_CHECK_WIDTYPE(obj, widtype);
|
ELM_CHECK_WIDTYPE(obj, widtype);
|
||||||
Eina_List *list, *l;
|
Eina_List *list, *l;
|
||||||
|
@ -5525,17 +5525,17 @@ elm_genlist_edit_mode_set(Evas_Object *obj, Eina_Bool edit_mode)
|
||||||
|
|
||||||
Widget_Data *wd = elm_widget_data_get(obj);
|
Widget_Data *wd = elm_widget_data_get(obj);
|
||||||
if (!wd) return;
|
if (!wd) return;
|
||||||
edit_mode = !!edit_mode;
|
decorated = !!decorated;
|
||||||
if (wd->edit_mode == edit_mode) return;
|
if (wd->decorate_mode == decorated) return;
|
||||||
wd->edit_mode = edit_mode;
|
wd->decorate_mode = decorated;
|
||||||
|
|
||||||
list = elm_genlist_realized_items_get(obj);
|
list = elm_genlist_realized_items_get(obj);
|
||||||
if (!wd->edit_mode)
|
if (!wd->decorate_mode)
|
||||||
{
|
{
|
||||||
EINA_LIST_FOREACH(list, l, it)
|
EINA_LIST_FOREACH(list, l, it)
|
||||||
{
|
{
|
||||||
if (it->item->type != ELM_GENLIST_ITEM_GROUP)
|
if (it->item->type != ELM_GENLIST_ITEM_GROUP)
|
||||||
_edit_mode_item_unrealize(it);
|
_decorate_mode_item_unrealize(it);
|
||||||
}
|
}
|
||||||
_item_cache_zero(wd);
|
_item_cache_zero(wd);
|
||||||
}
|
}
|
||||||
|
@ -5547,7 +5547,7 @@ elm_genlist_edit_mode_set(Evas_Object *obj, Eina_Bool edit_mode)
|
||||||
{
|
{
|
||||||
if (it->selected) _item_unselect(it);
|
if (it->selected) _item_unselect(it);
|
||||||
if (it->itc->edit_item_style)
|
if (it->itc->edit_item_style)
|
||||||
_edit_mode_item_realize(it, EINA_TRUE);
|
_decorate_mode_item_realize(it, EINA_TRUE);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1614,7 +1614,7 @@ EAPI void elm_genlist_item_decorate_mode_set(Elm_Object
|
||||||
*
|
*
|
||||||
* @ingroup Genlist
|
* @ingroup Genlist
|
||||||
*/
|
*/
|
||||||
EAPI const char *elm_genlist_decorate_mode_get(const Evas_Object *obj);
|
EAPI const char *elm_genlist_item_decorate_mode_get(const Evas_Object *obj);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get active genlist mode item
|
* Get active genlist mode item
|
||||||
|
@ -1669,30 +1669,28 @@ EAPI Eina_Bool elm_genlist_reorder_mode_get(const Evas_Objec
|
||||||
EAPI Elm_Genlist_Item_Type elm_genlist_item_type_get(const Elm_Object_Item *it);
|
EAPI Elm_Genlist_Item_Type elm_genlist_item_type_get(const Elm_Object_Item *it);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set Genlist edit mode
|
* Set Genlist decorate mode
|
||||||
*
|
*
|
||||||
* This sets Genlist edit mode.
|
* This sets Genlist decorate mode to all items.
|
||||||
*
|
*
|
||||||
* @param obj The Genlist object
|
* @param obj The Genlist object
|
||||||
* @param The edit mode status
|
* @param The decorate mode status
|
||||||
* (EINA_TRUE = edit mode, EINA_FALSE = normal mode
|
* (EINA_TRUE = decorate mode, EINA_FALSE = normal mode
|
||||||
*
|
*
|
||||||
* @ingroup Genlist
|
* @ingroup Genlist
|
||||||
*/
|
*/
|
||||||
//XXX: elm_genlist_effect_mode_set();
|
EAPI void elm_genlist_decorate_mode_set(Evas_Object *obj, Eina_Bool decorated);
|
||||||
EAPI void elm_genlist_edit_mode_set(Evas_Object *obj, Eina_Bool edit_mode);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get Genlist edit mode
|
* Get Genlist decorate mode
|
||||||
*
|
*
|
||||||
* @param obj The genlist object
|
* @param obj The genlist object
|
||||||
* @return The edit mode status
|
* @return The decorate mode status
|
||||||
* (EINA_TRUE = edit mode, EINA_FALSE = normal mode
|
* (EINA_TRUE = decorate mode, EINA_FALSE = normal mode
|
||||||
*
|
*
|
||||||
* @ingroup Genlist
|
* @ingroup Genlist
|
||||||
*/
|
*/
|
||||||
//XXX: elm_genlist_all_items_effect_mode_get();
|
EAPI Eina_Bool elm_genlist_decorate_mode_get(const Evas_Object *obj);
|
||||||
EAPI Eina_Bool elm_genlist_edit_mode_get(const Evas_Object *obj);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the flip state of a given genlist item.
|
* Set the flip state of a given genlist item.
|
||||||
|
|
Loading…
Reference in New Issue