On Mon, May 28, 2012 at 11:50 PM, Enlightenment SVN <no-re...@enlightenment.org> wrote: > Log: > [elm] Deprecate elm icon calls just wrapping elm > image equivalents.
please update the doc too, with @deprecated : http://www.stack.nl/~dimitri/doxygen/commands.html#cmddeprecated Vincent > > > > Author: glima > Date: 2012-05-28 14:50:03 -0700 (Mon, 28 May 2012) > New Revision: 71472 > Trac: http://trac.enlightenment.org/e/changeset/71472 > > Modified: > trunk/elementary/src/lib/elm_icon.h > > Modified: trunk/elementary/src/lib/elm_icon.h > =================================================================== > --- trunk/elementary/src/lib/elm_icon.h 2012-05-28 21:41:32 UTC (rev 71471) > +++ trunk/elementary/src/lib/elm_icon.h 2012-05-28 21:50:03 UTC (rev 71472) > @@ -153,7 +153,7 @@ > * > * @ingroup Icon > */ > -EAPI Eina_Bool elm_icon_file_set(Evas_Object *obj, const char > *file, const char *group); > +EINA_DEPRECATED EAPI Eina_Bool elm_icon_file_set(Evas_Object > *obj, const char *file, const char *group); > > /** > * Set a location in memory to be used as an icon > @@ -178,7 +178,7 @@ > * > * @ingroup Icon > */ > -EAPI Eina_Bool elm_icon_memfile_set(Evas_Object *obj, const void > *img, size_t size, const char *format, const char *key); > +EINA_DEPRECATED EAPI Eina_Bool elm_icon_memfile_set(Evas_Object > *obj, const void *img, size_t size, const char *format, const char *key); > > /** > * Get the file that will be used as icon. > @@ -193,7 +193,7 @@ > * > * @ingroup Icon > */ > -EAPI void elm_icon_file_get(const Evas_Object *obj, const > char **file, const char **group); > +EINA_DEPRECATED EAPI void elm_icon_file_get(const > Evas_Object *obj, const char **file, const char **group); > > /** > * Set the file that will be used, but use a generated thumbnail. > @@ -277,7 +277,7 @@ > * > * @ingroup Icon > */ > -EAPI void elm_icon_smooth_set(Evas_Object *obj, Eina_Bool > smooth); > +EINA_DEPRECATED EAPI void elm_icon_smooth_set(Evas_Object > *obj, Eina_Bool smooth); > > /** > * Get whether smooth scaling is enabled for an icon object. > @@ -291,7 +291,7 @@ > * > * @ingroup Icon > */ > -EAPI Eina_Bool elm_icon_smooth_get(const Evas_Object *obj); > +EINA_DEPRECATED EAPI Eina_Bool elm_icon_smooth_get(const > Evas_Object *obj); > > /** > * Disable scaling of this object. > @@ -313,7 +313,7 @@ > * > * @ingroup Icon > */ > -EAPI void elm_icon_no_scale_set(Evas_Object *obj, Eina_Bool > no_scale); > +EINA_DEPRECATED EAPI void elm_icon_no_scale_set(Evas_Object > *obj, Eina_Bool no_scale); > > /** > * Get whether scaling is disabled on the object. > @@ -327,7 +327,7 @@ > * > * @ingroup Icon > */ > -EAPI Eina_Bool elm_icon_no_scale_get(const Evas_Object *obj); > +EINA_DEPRECATED EAPI Eina_Bool elm_icon_no_scale_get(const > Evas_Object *obj); > > /** > * Set if the object is (up/down) resizable. > @@ -348,7 +348,7 @@ > * > * @ingroup Icon > */ > -EAPI void elm_icon_resizable_set(Evas_Object *obj, > Eina_Bool size_up, Eina_Bool size_down); > +EINA_DEPRECATED EAPI void > elm_icon_resizable_set(Evas_Object *obj, Eina_Bool size_up, Eina_Bool > size_down); > > /** > * Get if the object is (up/down) resizable. > @@ -363,7 +363,7 @@ > * > * @ingroup Icon > */ > -EAPI void elm_icon_resizable_get(const Evas_Object *obj, > Eina_Bool *size_up, Eina_Bool *size_down); > +EINA_DEPRECATED EAPI void elm_icon_resizable_get(const > Evas_Object *obj, Eina_Bool *size_up, Eina_Bool *size_down); > > /** > * Get the object's image size > @@ -376,7 +376,7 @@ > * > * @ingroup Icon > */ > -EAPI void elm_icon_size_get(const Evas_Object *obj, int *w, > int *h); > +EINA_DEPRECATED EAPI void elm_icon_size_get(const > Evas_Object *obj, int *w, int *h); > > /** > * Set if the icon fill the entire object area. > @@ -417,7 +417,7 @@ > * > * @ingroup Icon > */ > -EAPI Eina_Bool elm_icon_fill_outside_get(const Evas_Object *obj); > +EINA_DEPRECATED EAPI Eina_Bool elm_icon_fill_outside_get(const > Evas_Object *obj); > > /** > * Set the prescale size for the icon. > @@ -443,7 +443,7 @@ > * > * @ingroup Icon > */ > -EAPI void elm_icon_prescale_set(Evas_Object *obj, int size); > +EINA_DEPRECATED EAPI void elm_icon_prescale_set(Evas_Object > *obj, int size); > > /** > * Get the prescale size for the icon. > @@ -457,7 +457,7 @@ > * > * @ingroup Icon > */ > -EAPI int elm_icon_prescale_get(const Evas_Object *obj); > +EINA_DEPRECATED EAPI int elm_icon_prescale_get(const > Evas_Object *obj); > > /** > * Gets the image object of the icon. DO NOT MODIFY THIS. > @@ -469,7 +469,7 @@ > * > * @ingroup Icon > */ > -EAPI Evas_Object *elm_icon_object_get(Evas_Object *obj); > +EINA_DEPRECATED EAPI Evas_Object *elm_icon_object_get(Evas_Object > *obj); > > /** > * Sets the icon lookup order used by elm_icon_standard_set(). > @@ -509,7 +509,7 @@ > * @deprecated Use elm_image_preload_disabled_set() instead. > * > */ > -EAPI void elm_icon_preload_disabled_set(Evas_Object *obj, > Eina_Bool disabled); > +EINA_DEPRECATED EAPI void elm_icon_preload_disabled_set(Evas_Object *obj, > Eina_Bool disabled); > > /** > * Get if the icon supports animation or not. > @@ -526,7 +526,7 @@ > * @deprecated Use elm_image_animated_available_get() instead. > * > */ > -EAPI Eina_Bool elm_icon_animated_available_get(const Evas_Object > *obj); > +EINA_DEPRECATED EAPI Eina_Bool elm_icon_animated_available_get(const > Evas_Object *obj); > > /** > * Set animation mode of the icon. > @@ -545,7 +545,7 @@ > * @deprecated Use elm_image_animated_set() instead. > * > */ > -EAPI void elm_icon_animated_set(Evas_Object *obj, Eina_Bool > animated); > +EINA_DEPRECATED EAPI void elm_icon_animated_set(Evas_Object *obj, Eina_Bool > animated); > > /** > * Get animation mode of the icon. > @@ -558,7 +558,7 @@ > * @deprecated Use elm_image_animated_get() instead. > * > */ > -EAPI Eina_Bool elm_icon_animated_get(const Evas_Object *obj); > +EINA_DEPRECATED EAPI Eina_Bool elm_icon_animated_get(const Evas_Object *obj); > > /** > * Set animation play mode of the icon. > @@ -583,7 +583,7 @@ > * @deprecated Use elm_image_animated_play_set() instead. > * > */ > -EAPI void elm_icon_animated_play_set(Evas_Object *obj, > Eina_Bool play); > +EINA_DEPRECATED EAPI void elm_icon_animated_play_set(Evas_Object *obj, > Eina_Bool play); > > /** > * Get animation play mode of the icon. > @@ -597,7 +597,7 @@ > * @deprecated Use elm_image_animated_play_get() instead. > * > */ > -EAPI Eina_Bool elm_icon_animated_play_get(const Evas_Object > *obj); > +EINA_DEPRECATED EAPI Eina_Bool elm_icon_animated_play_get(const Evas_Object > *obj); > > /** > * Set whether the original aspect ratio of the icon should be kept on resize. > @@ -619,7 +619,7 @@ > * @deprecated Use elm_image_aspect_fixed_set() instead. > * > */ > -EAPI void elm_icon_aspect_fixed_set(Evas_Object *obj, > Eina_Bool fixed); > +EINA_DEPRECATED EAPI void elm_icon_aspect_fixed_set(Evas_Object *obj, > Eina_Bool fixed); > > /** > * Get if the object retains the original aspect ratio. > @@ -632,7 +632,7 @@ > * > * @ingroup Icon > */ > -EAPI Eina_Bool elm_icon_aspect_fixed_get(const Evas_Object *obj); > +EINA_DEPRECATED EAPI Eina_Bool elm_icon_aspect_fixed_get(const Evas_Object > *obj); > > /** > * @} > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > enlightenment-svn mailing list > enlightenment-...@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-svn ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel