Widget_Data *wd = elm_widget_data_get(obj);
Item_Block *itb;
if (!wd) return;
+ evas_event_freeze(evas_object_evas_get(wd->obj));
_item_cache_zero(wd);
_elm_widget_mirrored_reload(obj);
_mirrored_set(obj, elm_widget_mirrored_get(obj));
if (wd->calc_job) ecore_job_del(wd->calc_job);
wd->calc_job = ecore_job_add(_calc_job, wd);
_sizing_eval(obj);
+ evas_event_thaw(evas_object_evas_get(wd->obj));
+ evas_event_thaw_eval(evas_object_evas_get(wd->obj));
}
static void
static void
_item_del(Elm_Genlist_Item *it)
{
+ Evas_Object *tob = it->wd->obj;
+
+ evas_event_freeze(evas_object_evas_get(tob));
elm_widget_item_pre_notify_del(it);
elm_genlist_item_subitems_clear(it);
it->wd->walking -= it->walking;
if (it->tooltip.del_cb)
it->tooltip.del_cb((void *)it->tooltip.data, it->base.widget, it);
+ evas_event_thaw(evas_object_evas_get(tob));
+ evas_event_thaw_eval(evas_object_evas_get(tob));
+
elm_widget_item_del(it);
}
Elm_Genlist_Item *it = data;
if ((it->delete_me) || (!it->realized) || (!it->mode_view)) return;
char buf[1024];
-
+
+ evas_event_freeze(evas_object_evas_get(obj));
it->nocache = EINA_FALSE;
_mode_item_unrealize(it);
snprintf(buf, sizeof(buf), "elm,state,%s,passive,finished", it->wd->mode_type);
edje_object_signal_callback_del_full(obj, buf, "elm", _mode_finished_signal_cb, it);
+ evas_event_thaw(evas_object_evas_get(obj));
+ evas_event_thaw_eval(evas_object_evas_get(obj));
}
static void
_item_cache_clean(Widget_Data *wd)
{
+ evas_event_freeze(evas_object_evas_get(wd->obj));
while ((wd->item_cache) && (wd->item_cache_count > wd->item_cache_max))
{
Item_Cache *itc;
if (itc->item_style) eina_stringshare_del(itc->item_style);
free(itc);
}
+ evas_event_thaw(evas_object_evas_get(wd->obj));
+ evas_event_thaw_eval(evas_object_evas_get(wd->obj));
}
static void
{
Item_Cache *itc;
+ evas_event_freeze(evas_object_evas_get(it->wd->obj));
if (it->wd->item_cache_max <= 0)
{
evas_object_del(it->base.view);
it->base.view = NULL;
evas_object_del(it->spacer);
it->spacer = NULL;
+ evas_event_thaw(evas_object_evas_get(it->wd->obj));
+ evas_event_thaw_eval(evas_object_evas_get(it->wd->obj));
return;
}
evas_object_event_callback_del_full(itc->base_view, EVAS_CALLBACK_MULTI_MOVE,
_multi_move, it);
_item_cache_clean(it->wd);
+ evas_event_thaw(evas_object_evas_get(it->wd->obj));
+ evas_event_thaw_eval(evas_object_evas_get(it->wd->obj));
}
static Item_Cache *
int depth, tsize = 20;
Item_Cache *itc = NULL;
- if (it->delete_me) return ;
+ if (it->delete_me) return;
+ evas_event_freeze(evas_object_evas_get(it->wd->obj));
if (it->realized)
{
if (it->order_num_in != in)
_elm_genlist_item_odd_even_update(it);
_elm_genlist_item_state_update(it, NULL);
}
+ evas_event_thaw(evas_object_evas_get(it->wd->obj));
+ evas_event_thaw_eval(evas_object_evas_get(it->wd->obj));
return;
}
it->order_num_in = in;
it->want_unrealize = EINA_FALSE;
if (itc) _item_cache_free(itc);
+ evas_event_thaw(evas_object_evas_get(it->wd->obj));
+ evas_event_thaw_eval(evas_object_evas_get(it->wd->obj));
if (!calc) evas_object_smart_callback_call(it->base.widget, SIG_REALIZED, it);
}
Evas_Object *icon;
if (!it->realized) return;
+ evas_event_freeze(evas_object_evas_get(it->wd->obj));
if (!calc) evas_object_smart_callback_call(it->base.widget, SIG_UNREALIZED, it);
if (it->long_timer)
{
it->states = NULL;
it->realized = EINA_FALSE;
it->want_unrealize = EINA_FALSE;
+ evas_event_thaw(evas_object_evas_get(it->wd->obj));
+ evas_event_thaw_eval(evas_object_evas_get(it->wd->obj));
}
static Eina_Bool
Eina_Bool showme = EINA_FALSE, changed = EINA_FALSE;
Evas_Coord y = 0;
+ evas_event_freeze(evas_object_evas_get(itb->wd->obj));
itb->num = in;
EINA_LIST_FOREACH(itb->items, l, it)
{
itb->minw = minw;
itb->minh = minh;
itb->changed = EINA_FALSE;
+ evas_event_thaw(evas_object_evas_get(itb->wd->obj));
+ evas_event_thaw_eval(evas_object_evas_get(itb->wd->obj));
return showme;
}
Elm_Genlist_Item *it;
if (itb->realized) return;
+ evas_event_freeze(evas_object_evas_get(itb->wd->obj));
EINA_LIST_FOREACH(itb->items, l, it)
{
if (it->delete_me) continue;
}
itb->realized = EINA_TRUE;
itb->want_unrealize = EINA_FALSE;
+ evas_event_thaw(evas_object_evas_get(itb->wd->obj));
+ evas_event_thaw_eval(evas_object_evas_get(itb->wd->obj));
}
static void
Eina_Bool dragging = EINA_FALSE;
if (!itb->realized) return;
+ evas_event_freeze(evas_object_evas_get(itb->wd->obj));
EINA_LIST_FOREACH(itb->items, l, it)
{
if (it->flags != ELM_GENLIST_ITEM_GROUP)
}
else
itb->want_unrealize = EINA_FALSE;
+ evas_event_thaw(evas_object_evas_get(itb->wd->obj));
+ evas_event_thaw_eval(evas_object_evas_get(itb->wd->obj));
}
static void
if (!it) return;
if (!view) return;
+ evas_event_freeze(evas_object_evas_get(it->wd->obj));
evas_object_resize(view, it->w, it->h);
evas_object_move(view, it->scrl_x, it->scrl_y);
evas_object_show(view);
+ evas_event_thaw(evas_object_evas_get(it->wd->obj));
+ evas_event_thaw_eval(evas_object_evas_get(it->wd->obj));
}
static void
Evas_Coord y = 0, ox, oy, ow, oh, cvx, cvy, cvw, cvh;
int vis;
+ evas_event_freeze(evas_object_evas_get(itb->wd->obj));
evas_object_geometry_get(itb->wd->pan_smart, &ox, &oy, &ow, &oh);
evas_output_viewport_get(evas_object_evas_get(itb->wd->obj), &cvx, &cvy,
&cvw, &cvh);
}
y += it->h;
}
+ evas_event_thaw(evas_object_evas_get(itb->wd->obj));
+ evas_event_thaw_eval(evas_object_evas_get(itb->wd->obj));
}
static void
Eina_List *l;
Elm_Genlist_Item *git;
+ evas_event_freeze(evas_object_evas_get(wd->obj));
EINA_LIST_FOREACH(wd->group_items, l, git)
{
if (git->want_realize)
_item_unrealize(git, EINA_FALSE);
}
}
+ evas_event_thaw(evas_object_evas_get(wd->obj));
+ evas_event_thaw_eval(evas_object_evas_get(wd->obj));
}
static Eina_Bool
if (wd->w != ow)
wd->w = ow;
+ evas_event_freeze(evas_object_evas_get(wd->obj));
EINA_INLIST_FOREACH(wd->blocks, itb)
{
Eina_Bool showme = EINA_FALSE;
}
wd->calc_job = NULL;
evas_object_smart_changed(wd->pan_smart);
+ evas_event_thaw(evas_object_evas_get(wd->obj));
+ evas_event_thaw_eval(evas_object_evas_get(wd->obj));
}
static void
if (!wd) return;
wd->update_job = NULL;
num = 0;
+
+ evas_event_freeze(evas_object_evas_get(wd->obj));
EINA_INLIST_FOREACH(wd->blocks, itb)
{
Evas_Coord itminw, itminh;
if (wd->calc_job) ecore_job_del(wd->calc_job);
wd->calc_job = ecore_job_add(_calc_job, wd);
}
+ evas_event_thaw(evas_object_evas_get(wd->obj));
+ evas_event_thaw_eval(evas_object_evas_get(wd->obj));
}
static void
Elm_Genlist_Item *git;
Eina_List *l;
+ evas_event_freeze(evas_object_evas_get(obj));
evas_object_geometry_get(obj, &ox, &oy, &ow, &oh);
evas_output_viewport_get(evas_object_evas_get(obj), &cvx, &cvy, &cvw, &cvh);
EINA_LIST_FOREACH(sd->wd->group_items, l, git)
in += itb->count;
}
_group_items_recalc(sd->wd);
+ evas_event_thaw(evas_object_evas_get(obj));
+ evas_event_thaw_eval(evas_object_evas_get(obj));
}
static void
if ((it->mode_view) || (it->delete_me)) return;
+ evas_event_freeze(evas_object_evas_get(it->wd->obj));
it->mode_view = edje_object_add(evas_object_evas_get(it->base.widget));
edje_object_scale_set(it->mode_view,
elm_widget_scale_get(it->base.widget) *
it->base.view);
it->want_unrealize = EINA_FALSE;
+ evas_event_thaw(evas_object_evas_get(it->wd->obj));
+ evas_event_thaw_eval(evas_object_evas_get(it->wd->obj));
}
static void
Evas_Object *icon;
if (!it->mode_view) return;
+ evas_event_freeze(evas_object_evas_get(it->wd->obj));
elm_widget_stringlist_free(it->mode_labels);
it->mode_labels = NULL;
elm_widget_stringlist_free(it->mode_icons);
if (wd->mode_item == it)
wd->mode_item = NULL;
+ evas_event_thaw(evas_object_evas_get(it->wd->obj));
+ evas_event_thaw_eval(evas_object_evas_get(it->wd->obj));
}
static void
elm_smart_scroller_hold_set(wd->scr, EINA_TRUE);
wd->scr_hold_timer = ecore_timer_add(0.1, _scr_hold_timer_cb, wd);
+ evas_event_freeze(evas_object_evas_get(it->wd->obj));
_mode_item_realize(it);
_item_position(it, it->mode_view);
+ evas_event_thaw(evas_object_evas_get(it->wd->obj));
+ evas_event_thaw_eval(evas_object_evas_get(it->wd->obj));
snprintf(buf, sizeof(buf), "elm,state,%s,active", wd->mode_type);
edje_object_signal_emit(it->mode_view, buf, "elm");
double t0, t;
t0 = ecore_time_get();
+ evas_event_freeze(evas_object_evas_get(wd->obj));
for (n = 0; (wd->queue) && (n < 128); n++)
{
Elm_Genlist_Item *it;
if ((t - t0) > (ecore_animator_frametime_get())) break;
}
}
+ evas_event_thaw(evas_object_evas_get(wd->obj));
+ evas_event_thaw_eval(evas_object_evas_get(wd->obj));
return n;
}
if (it->queued) return;
it->queued = EINA_TRUE;
wd->queue = eina_list_append(wd->queue, it);
+ evas_event_freeze(evas_object_evas_get(wd->obj));
while ((wd->queue) && ((!wd->blocks) || (!wd->blocks->next)))
{
if (wd->queue_idle_enterer)
}
_queue_process(wd);
}
+ evas_event_thaw(evas_object_evas_get(wd->obj));
+ evas_event_thaw_eval(evas_object_evas_get(wd->obj));
if (!wd->queue_idle_enterer)
wd->queue_idle_enterer = ecore_idle_enterer_add(_item_idle_enterer, wd);
}
}
return;
}
+ evas_event_freeze(evas_object_evas_get(wd->obj));
while (wd->items)
{
Elm_Genlist_Item *it = ELM_GENLIST_ITEM_FROM_INLIST(wd->items);
evas_object_smart_callback_call(wd->pan_smart, "changed", NULL);
}
_sizing_eval(obj);
+ evas_event_thaw(evas_object_evas_get(wd->obj));
+ evas_event_thaw_eval(evas_object_evas_get(wd->obj));
}
/**