typedef void (*Elm_Imageslider_Cb)(void *data, Evas_Object *obj, void *event_info);
EAPI Evas_Object *elm_imageslider_add(Evas_Object *parent);
EAPI Elm_Imageslider_Item *elm_imageslider_item_append(Evas_Object *obj, const char *photo_file, Elm_Imageslider_Cb func, void *data);
- EAPI Elm_Imageslider_Item *elm_imageslider_item_append_relative(Evas_Object *obj, const char *photo_file, Elm_Imageslider_Cb func, unsigned int n, void *data);
+ EAPI Elm_Imageslider_Item *elm_imageslider_item_append_relative(Evas_Object *obj, const char *photo_file, Elm_Imageslider_Cb func, unsigned int index, void *data);
EAPI Elm_Imageslider_Item *elm_imageslider_item_prepend(Evas_Object *obj, const char *photo_file, Elm_Imageslider_Cb func, void *data);
EAPI void elm_imageslider_item_del(Elm_Imageslider_Item *it);
EAPI Elm_Imageslider_Item *elm_imageslider_selected_item_get(Evas_Object *obj);
* @ingroup Imageslider
*/
EAPI Elm_Imageslider_Item *
-elm_imageslider_item_append_relative(Evas_Object *obj, const char *photo_file, Elm_Imageslider_Cb func, unsigned int n, void *data)
+elm_imageslider_item_append_relative(Evas_Object *obj, const char *photo_file, Elm_Imageslider_Cb func, unsigned int index, void *data)
{
ELM_CHECK_WIDTYPE(obj, widtype) NULL;
Widget_Data *wd;
it->func = func;
it->data = data;
- wd->its = eina_list_append_relative(wd->its, it, eina_list_nth(wd->its, n-2));
+ wd->its = eina_list_append_relative(wd->its, it, eina_list_nth(wd->its, index-2));
if (!wd->cur) wd->cur = wd->its;