evas_object_show(gl);
itc10.item_style = "default";
- itc10.mode_item_style = "mode";
+ itc10.decorate_item_style = "mode";
itc10.func.text_get = gl10_text_get;
itc10.func.content_get = gl10_content_get;
itc10.func.state_get = gl_state_get;
itc15->func.content_get = gl15_content_get;
itc15->func.state_get = gl_state_get;
itc15->func.del = gl15_del;
- itc15->edit_item_style = "edit";
+ itc15->decorate_all_item_style = "edit";
for (i = 0; i < 100; i++)
{
itc15->func.content_get = gl16_content_get;
itc15->func.state_get = gl_state_get;
itc15->func.del = NULL;
- itc15->edit_item_style = "edit";
+ itc15->decorate_all_item_style = "edit";
for (i = 0; i < 100; i++)
{
Eina_Bool delete_me : 1; /**< Leave this alone - set it to 0 if you have a const class of your own */
const char *item_style; /**< Name of the visual style to use for this item. If you don't know use "default" */
const char *decorate_item_style; /**< Style used if item is set to a decorate mode. @see elm_genlist_item_decorate_mode_set() or NULL if you don't care. currently it's used only in genlist. */
- const char *edit_item_style; /**< Style to use when in edit mode, or NULL if you don't care. currently it's used only in genlist. */
+ const char *decorate_all_item_style; /**< Style to use when in edit mode, or NULL if you don't care. currently it's used only in genlist. */
struct
{
Elm_Gen_Item_Text_Get_Cb text_get; /**< Text fetching class function for genlist/gengrid item classes.*/
_multi_move, it);
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->decorate_all_item_style))
_decorate_mode_item_realize(it, EINA_FALSE);
_elm_genlist_item_state_update(it, itc);
if ((!calc) && (it->wd->decorate_mode) && (it->item->type != ELM_GENLIST_ITEM_GROUP))
{
- if (it->itc->edit_item_style)
+ if (it->itc->decorate_all_item_style)
{
if (!it->edit_obj) _decorate_mode_item_realize(it, EINA_FALSE);
edje_object_message_signal_process(it->edit_obj);
}
if (!it->item->move_effect_enabled)
{
- if ((it->wd->decorate_mode) && (it->itc->edit_item_style))
+ if ((it->wd->decorate_mode) && (it->itc->decorate_all_item_style))
_decorate_mode_item_position(it, it->item->scrl_x,
it->item->scrl_y);
else
strncat(buf, "_compress", sizeof(buf) - strlen(buf));
strncat(buf, "/", sizeof(buf) - strlen(buf));
- strncat(buf, it->itc->edit_item_style, sizeof(buf) - strlen(buf));
+ strncat(buf, it->itc->decorate_all_item_style, sizeof(buf) - strlen(buf));
_elm_theme_object_set(WIDGET(it), it->edit_obj, "genlist", buf,
elm_widget_style_get(WIDGET(it)));
if (it->item->type != ELM_GENLIST_ITEM_GROUP)
{
if (it->selected) _item_unselect(it);
- if (it->itc->edit_item_style)
+ if (it->itc->decorate_all_item_style)
_decorate_mode_item_realize(it, EINA_TRUE);
}
}
* of the item style. It @b must be specified and the default should be @c
* "default".
* - @c decorate_item_style - This is a constant string and simply defines the name
- * of the mode item style. It is used to specify mode item style. It can be
- * used to set sweep mode.
- * - @c edit_item_style - This is a constant string and simply defines the name
- * of the edit item style. It is used to specify edit item style. It can be
- * used to set selection, checking and deletion mode.
+ * of the decorate mode item style. It is used to specify decorate mode item style. It can be
+ * used when you call elm_genlist_item_decorate_mode_set().
+ * - @c decorate_all_item_style - This is a constant string and simply defines the name
+ * of the decorate all item style. It is used to specify decorate all item style. It can be
+ * used to set selection, checking and deletion mode. This is used when you
+ * call elm_genlist_decorate_mode_set().
* - @c func - A struct with pointers to functions that will be called when
* an item is going to be actually created. All of them receive a @c data
* parameter that will point to the same data passed to