Elm_Genlist_Item *it2;
Evas_Coord y, h;
- if (!it->wd->effect_mode || !it->wd->move_effect_mode)
+ if (!wd->effect_mode || !wd->move_effect_mode)
_item_subitems_clear(it);
else
{
- if ((!it->wd->item_moving_effect_timer) && (it->flags != ELM_GENLIST_ITEM_GROUP) &&
- it->wd->move_effect_mode != ELM_GENLIST_ITEM_MOVE_EFFECT_DELETE )
+ if ((!wd->item_moving_effect_timer) && (it->flags != ELM_GENLIST_ITEM_GROUP) &&
+ wd->move_effect_mode != ELM_GENLIST_ITEM_MOVE_EFFECT_DELETE )
{
- it->wd->expand_item = it;
+ wd->expand_item = it;
_item_flip_effect_show(it);
evas_object_geometry_get(VIEW(it), NULL, &y, NULL, &h);
- it->wd->expand_item_end = y + h;
+ wd->expand_item_end = y + h;
it2= it;
do {
Evas_Coord vy, vh;
evas_output_viewport_get(evas_object_evas_get(wd->pan_smart), NULL, &vy, NULL, &vh);
it2->old_scrl_y = ((it2->old_scrl_y > vy + vh) ? vy + vh : it2->old_scrl_y);
- it->wd->expand_item_gap = it->wd->expand_item_end - it2->old_scrl_y;
+ wd->expand_item_gap = wd->expand_item_end - it2->old_scrl_y;
}
else
- it->wd->expand_item_gap = 0;
+ wd->expand_item_gap = 0;
- evas_object_raise(it->wd->alpha_bg);
- evas_object_show(it->wd->alpha_bg);
+ evas_object_raise(wd->alpha_bg);
+ evas_object_show(wd->alpha_bg);
- it->wd->start_time = current_time_get();
- it->wd->item_moving_effect_timer = ecore_animator_add(_item_moving_effect_timer_cb, it->wd);
+ wd->start_time = current_time_get();
+ wd->item_moving_effect_timer = ecore_animator_add(_item_moving_effect_timer_cb, wd);
}
else
_item_subitems_clear(it);
Elm_Genlist_Item *it2;
Eina_List *l;
- // printf("%p is emited contract\n", it);
edje_object_signal_emit(VIEW(it), "elm,state,contract_flip", "");
it->effect_done = EINA_FALSE;
Elm_Genlist_Item *it2;
Eina_List *l;
Widget_Data *wd = it->wd;
- Eina_Bool check = EINA_FALSE;
- it2 = elm_genlist_item_next_get(it);
- while (it2)
- {
- if (it2->expanded_depth <= it->expanded_depth) check = EINA_TRUE;
- it2 = elm_genlist_item_next_get(it2);
- }
EINA_LIST_FOREACH(it->items, l, it2)
{
if (it2->parent && it == it2->parent)