forked from enlightenment/efl
elemenatry/icon - elm_icon_preload_set -> elm_icon_preload_disabled_set
SVN revision: 68799
This commit is contained in:
parent
e962afdb0f
commit
60be2324a3
|
@ -4939,6 +4939,16 @@ EINA_DEPRECATED EAPI void elm_icon_scale_set(Evas_Object *obj,
|
|||
*/
|
||||
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.
|
||||
*
|
||||
|
|
|
@ -987,7 +987,7 @@ elm_icon_object_get(Evas_Object *obj)
|
|||
}
|
||||
|
||||
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);
|
||||
|
@ -996,6 +996,12 @@ elm_icon_preload_set(Evas_Object *obj, Eina_Bool disable)
|
|||
_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)
|
||||
{
|
||||
|
|
|
@ -455,7 +455,7 @@ EAPI Elm_Icon_Lookup_Order elm_icon_order_lookup_get(const Evas_Object *obj);
|
|||
* @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.
|
||||
|
|
Loading…
Reference in New Issue