}
/* externally accessible functions */
-E_API Evas_Object *
+EINTERN Evas_Object *
e_icon_add(Evas *evas)
{
_e_icon_smart_init();
return 1;
}
-E_API Eina_Bool
+EINTERN Eina_Bool
e_icon_file_set(Evas_Object *obj, const char *file)
{
E_Smart_Data *sd;
return EINA_TRUE;
}
-E_API Eina_Bool
+EINTERN Eina_Bool
e_icon_file_key_set(Evas_Object *obj, const char *file, const char *key)
{
E_Smart_Data *sd;
return EINA_TRUE;
}
-E_API void
+EINTERN void
e_icon_edje_object_set(Evas_Object *obj, Evas_Object *edje)
{
E_Smart_Data *sd;
_e_icon_smart_reconfigure(sd);
}
-E_API Evas_Object *
+EINTERN Evas_Object *
e_icon_edje_get(Evas_Object *obj)
{
E_Smart_Data *sd;
return sd->edje ? sd->obj : NULL;
}
-E_API Eina_Bool
+EINTERN Eina_Bool
e_icon_file_edje_set(Evas_Object *obj, const char *file, const char *part)
{
E_Smart_Data *sd;
return EINA_TRUE;
}
-E_API Eina_Bool
+EINTERN Eina_Bool
e_icon_fdo_icon_set(Evas_Object *obj, const char *icon)
{
E_Smart_Data *sd;
return EINA_FALSE;
}
-E_API void
+EINTERN void
e_icon_image_object_set(Evas_Object *obj, Evas_Object *o)
{
E_Smart_Data *sd;
_e_icon_smart_reconfigure(sd);
}
-E_API Eina_Bool
+EINTERN Eina_Bool
e_icon_file_get(const Evas_Object *obj, const char **file, const char **group)
{
E_Smart_Data *sd;
return file || group;
}
-E_API void
+EINTERN void
e_icon_smooth_scale_set(Evas_Object *obj, Eina_Bool smooth)
{
E_Smart_Data *sd;
evas_object_image_smooth_scale_set(sd->obj, smooth);
}
-E_API Eina_Bool
+EINTERN Eina_Bool
e_icon_smooth_scale_get(const Evas_Object *obj)
{
E_Smart_Data *sd;
return evas_object_image_smooth_scale_get(sd->obj);
}
-E_API void
+EINTERN void
e_icon_alpha_set(Evas_Object *obj, Eina_Bool alpha)
{
E_Smart_Data *sd;
evas_object_image_alpha_set(sd->obj, alpha);
}
-E_API Eina_Bool
+EINTERN Eina_Bool
e_icon_alpha_get(const Evas_Object *obj)
{
E_Smart_Data *sd;
return evas_object_image_alpha_get(sd->obj);
}
-E_API void
+EINTERN void
e_icon_preload_set(Evas_Object *obj, Eina_Bool preload)
{
E_Smart_Data *sd;
sd->preload = preload;
}
-E_API Eina_Bool
+EINTERN Eina_Bool
e_icon_preload_get(const Evas_Object *obj)
{
E_Smart_Data *sd;
return sd->preload;
}
-E_API void
+EINTERN void
e_icon_size_get(const Evas_Object *obj, int *w, int *h)
{
E_Smart_Data *sd;
evas_object_image_size_get(sd->obj, w, h);
}
-E_API Eina_Bool
+EINTERN Eina_Bool
e_icon_fill_inside_get(const Evas_Object *obj)
{
E_Smart_Data *sd;
return sd->fill_inside;
}
-E_API void
+EINTERN void
e_icon_fill_inside_set(Evas_Object *obj, Eina_Bool fill_inside)
{
E_Smart_Data *sd;
_e_icon_smart_reconfigure(sd);
}
-E_API Eina_Bool
+EINTERN Eina_Bool
e_icon_scale_up_get(const Evas_Object *obj)
{
E_Smart_Data *sd;
return sd->scale_up;
}
-E_API void
+EINTERN void
e_icon_scale_up_set(Evas_Object *obj, Eina_Bool scale_up)
{
E_Smart_Data *sd;
_e_icon_smart_reconfigure(sd);
}
-E_API void
+EINTERN void
e_icon_data_set(Evas_Object *obj, void *data, int w, int h)
{
E_Smart_Data *sd;
evas_object_image_data_copy_set(sd->obj, data);
}
-E_API void *
+EINTERN void *
e_icon_data_get(const Evas_Object *obj, int *w, int *h)
{
E_Smart_Data *sd;
return evas_object_image_data_get(sd->obj, 0);
}
-E_API void
+EINTERN void
e_icon_scale_size_set(Evas_Object *obj, int size)
{
E_Smart_Data *sd;
evas_object_image_load_size_set(sd->obj, sd->size, sd->size);
}
-E_API int
+EINTERN int
e_icon_scale_size_get(const Evas_Object *obj)
{
E_Smart_Data *sd;
return sd->size;
}
-E_API void
+EINTERN void
e_icon_selected_set(const Evas_Object *obj, Eina_Bool selected)
{
E_Smart_Data *sd;
EINTERN int e_icon_init(void);
EINTERN int e_icon_shutdown(void);
-E_API Evas_Object *e_icon_add (Evas *evas);
-E_API Eina_Bool e_icon_file_set (Evas_Object *obj, const char *file);
-E_API Eina_Bool e_icon_file_key_set (Evas_Object *obj, const char *file, const char *key);
-E_API Evas_Object *e_icon_edje_get(Evas_Object *obj);
-E_API Eina_Bool e_icon_file_edje_set (Evas_Object *obj, const char *file, const char *part);
-E_API Eina_Bool e_icon_fdo_icon_set (Evas_Object *obj, const char *icon);
-E_API void e_icon_edje_object_set(Evas_Object *obj, Evas_Object *edje);
-E_API void e_icon_image_object_set (Evas_Object *obj, Evas_Object *o);
-E_API Eina_Bool e_icon_file_get(const Evas_Object *obj, const char **file, const char **group);
-E_API void e_icon_smooth_scale_set (Evas_Object *obj, Eina_Bool smooth);
-E_API Eina_Bool e_icon_smooth_scale_get (const Evas_Object *obj);
-E_API void e_icon_alpha_set (Evas_Object *obj, Eina_Bool smooth);
-E_API Eina_Bool e_icon_alpha_get (const Evas_Object *obj);
-E_API void e_icon_preload_set (Evas_Object *obj, Eina_Bool preload);
-E_API Eina_Bool e_icon_preload_get (const Evas_Object *obj);
-E_API void e_icon_size_get (const Evas_Object *obj, int *w, int *h);
-E_API Eina_Bool e_icon_fill_inside_get (const Evas_Object *obj);
-E_API void e_icon_fill_inside_set (Evas_Object *obj, Eina_Bool fill_inside);
-E_API Eina_Bool e_icon_scale_up_get (const Evas_Object *obj);
-E_API void e_icon_scale_up_set (Evas_Object *obj, Eina_Bool scale_up);
-E_API void e_icon_data_set (Evas_Object *obj, void *data, int w, int h);
-E_API void *e_icon_data_get (const Evas_Object *obj, int *w, int *h);
-E_API void e_icon_scale_size_set (Evas_Object *obj, int size);
-E_API int e_icon_scale_size_get (const Evas_Object *obj);
-E_API void e_icon_selected_set (const Evas_Object *obj, Eina_Bool selected);
+EINTERN Evas_Object *e_icon_add (Evas *evas);
+EINTERN Eina_Bool e_icon_file_set (Evas_Object *obj, const char *file);
+EINTERN Eina_Bool e_icon_file_key_set (Evas_Object *obj, const char *file, const char *key);
+EINTERN Evas_Object *e_icon_edje_get(Evas_Object *obj);
+EINTERN Eina_Bool e_icon_file_edje_set (Evas_Object *obj, const char *file, const char *part);
+EINTERN Eina_Bool e_icon_fdo_icon_set (Evas_Object *obj, const char *icon);
+EINTERN void e_icon_edje_object_set(Evas_Object *obj, Evas_Object *edje);
+EINTERN void e_icon_image_object_set (Evas_Object *obj, Evas_Object *o);
+EINTERN Eina_Bool e_icon_file_get(const Evas_Object *obj, const char **file, const char **group);
+EINTERN void e_icon_smooth_scale_set (Evas_Object *obj, Eina_Bool smooth);
+EINTERN Eina_Bool e_icon_smooth_scale_get (const Evas_Object *obj);
+EINTERN void e_icon_alpha_set (Evas_Object *obj, Eina_Bool smooth);
+EINTERN Eina_Bool e_icon_alpha_get (const Evas_Object *obj);
+EINTERN void e_icon_preload_set (Evas_Object *obj, Eina_Bool preload);
+EINTERN Eina_Bool e_icon_preload_get (const Evas_Object *obj);
+EINTERN void e_icon_size_get (const Evas_Object *obj, int *w, int *h);
+EINTERN Eina_Bool e_icon_fill_inside_get (const Evas_Object *obj);
+EINTERN void e_icon_fill_inside_set (Evas_Object *obj, Eina_Bool fill_inside);
+EINTERN Eina_Bool e_icon_scale_up_get (const Evas_Object *obj);
+EINTERN void e_icon_scale_up_set (Evas_Object *obj, Eina_Bool scale_up);
+EINTERN void e_icon_data_set (Evas_Object *obj, void *data, int w, int h);
+EINTERN void *e_icon_data_get (const Evas_Object *obj, int *w, int *h);
+EINTERN void e_icon_scale_size_set (Evas_Object *obj, int size);
+EINTERN int e_icon_scale_size_get (const Evas_Object *obj);
+EINTERN void e_icon_selected_set (const Evas_Object *obj, Eina_Bool selected);
#endif
#endif