EINA_DEPRECATED EAPI void elm_icon_scale_get(const Evas_Object *obj, Eina_Bool *scale_up, Eina_Bool *scale_down);
/**
+ * Enable or disable preloading of the icon
+ *
+ * @param obj The icon object
+ * @param disable If EINA_TRUE, preloading will be disabled
+ * @deprecated Use elm_icon_preload_disabled_set() instead
+ * @ingroup Icon
+ */
+EINA_DEPRECATED EAPI void elm_icon_preload_set(Evas_Object *obj, Eina_Bool disable);
+
+/**
* Returns the last selected item, for a given index widget.
*
* @param obj The index object.
}
EAPI void
-elm_icon_preload_set(Evas_Object *obj, Eina_Bool disable)
+elm_icon_preload_disabled_set(Evas_Object *obj, Eina_Bool disable)
{
ELM_CHECK_WIDTYPE(obj, widtype);
Widget_Data *wd = elm_widget_data_get(obj);
_els_smart_icon_preload_set(wd->img, disable);
}
+EINA_DEPRECATED EAPI void
+elm_icon_preload_set(Evas_Object *obj, Eina_Bool disable)
+{
+ elm_icon_preload_disabled_set(obj, disable);
+}
+
EAPI void
elm_icon_aspect_fixed_set(Evas_Object *obj, Eina_Bool fixed)
{
* @param disable If EINA_TRUE, preloading will be disabled
* @ingroup Icon
*/
-EAPI void elm_icon_preload_set(Evas_Object *obj, Eina_Bool disable);
+EAPI void elm_icon_preload_disabled_set(Evas_Object *obj, Eina_Bool disable);
/**
* Get if the icon supports animation or not.