Evas_Object *obj __UNUSED__,
void *event_info __UNUSED__)
{
- elm_slideshow_show(data);
+ elm_slideshow_item_show(data);
}
static void
Evas_Object *obj __UNUSED__,
void *event_info __UNUSED__)
{
- elm_slideshow_show(data);
+ elm_slideshow_item_show(data);
}
static void
EINA_DEPRECATED EAPI void elm_slideshow_item_del(Elm_Object_Item *it);
/**
+ * Display a given slideshow widget's item, programmatically.
+ *
+ * @param it The item to display on @p obj's viewport
+ *
+ * The change between the current item and @p item will use the
+ * transition @p obj is set to use (@see
+ * elm_slideshow_transition_set()).
+ *
+ * @deprecated use elm_slideshow_item_show() instead
+ * @ingroup Slideshow
+ */
+EINA_DEPRECATED EAPI void elm_slideshow_show(Elm_Object_Item *it);
+
+/**
* Get the toolbar object from an item.
*
* @param it The item.
{
l2 = eina_list_prev(l);
if (l2)
- elm_slideshow_show(eina_list_data_get(l2));
+ elm_slideshow_item_show(eina_list_data_get(l2));
}
else
- elm_slideshow_show(eina_list_data_get(l2));
+ elm_slideshow_item_show(eina_list_data_get(l2));
}
wd->items = eina_list_remove_list(wd->items, item->l);
wd->items = eina_list_merge(wd->items, item->l);
- if (!wd->current) elm_slideshow_show((Elm_Object_Item *) item);
+ if (!wd->current) elm_slideshow_item_show((Elm_Object_Item *) item);
return (Elm_Object_Item *) item;
}
wd->items = eina_list_sorted_merge(wd->items, item->l, func);
- if (!wd->current) elm_slideshow_show((Elm_Object_Item *) item);
+ if (!wd->current) elm_slideshow_item_show((Elm_Object_Item *) item);
return (Elm_Object_Item *) item;
}
EAPI void
-elm_slideshow_show(Elm_Object_Item *it)
+elm_slideshow_item_show(Elm_Object_Item *it)
{
ELM_OBJ_ITEM_CHECK_OR_RETURN(it);
evas_object_smart_callback_call(WIDGET(item), SIG_CHANGED, wd->current);
}
+EINA_DEPRECATED EAPI void
+elm_slideshow_show(Elm_Object_Item *it)
+{
+ elm_slideshow_item_show(it);
+}
+
EAPI void
elm_slideshow_next(Evas_Object *obj)
{