evas_object_hide(item->o);
}
wd->previous = NULL;
-
+
item = wd->current;
if(!item || !item->o) return;
}
static void
-_item_build(Elm_Slideshow_Item *item)
+_item_realize(Elm_Slideshow_Item *item)
{
Elm_Slideshow_Item *_item;
Evas_Object *obj = item->obj;
wd->previous = wd->current;
wd->current = item;
- _item_build(item);
+ _item_realize(item);
_end(item->obj, item->obj, NULL, NULL);
}
if(wd->timeout>0)
wd->timer = ecore_timer_add(wd->timeout, _timer_cb, obj);
- _item_build(next);
+ _item_realize(next);
edje_object_part_swallow(wd->slideshow, "elm.swallow.2", next->o);
evas_object_show(next->o);
if(wd->timeout>0)
wd->timer = ecore_timer_add(wd->timeout, _timer_cb, obj);
- _item_build(prev);
+ _item_realize(prev);
edje_object_part_swallow(wd->slideshow, "elm.swallow.2", prev->o);
evas_object_show(prev->o);
item->itc->func.del((void*)item->data, wd->previous->o);
else if(item->o)
evas_object_del(item->o);
-
+
free(item);
}