From: Enlightenment S. <no-...@en...> - 2012-02-15 12:33:27
|
Log: elm_image : reviewed API + documentation Author: woohyun Date: 2012-02-15 04:33:17 -0800 (Wed, 15 Feb 2012) New Revision: 67983 Trac: http://trac.enlightenment.org/e/changeset/67983 Modified: trunk/elementary/src/lib/Elementary.h.in trunk/elementary/src/lib/elm_image.h Modified: trunk/elementary/src/lib/Elementary.h.in =================================================================== --- trunk/elementary/src/lib/Elementary.h.in 2012-02-15 12:32:02 UTC (rev 67982) +++ trunk/elementary/src/lib/Elementary.h.in 2012-02-15 12:33:17 UTC (rev 67983) @@ -209,7 +209,7 @@ // Woohyun Jung #include <elm_hover.h> // OK -#include <elm_image.h> +#include <elm_image.h> // OK #include <elm_index.h> #include <elm_label.h> #include <elm_layout.h> Modified: trunk/elementary/src/lib/elm_image.h =================================================================== --- trunk/elementary/src/lib/elm_image.h 2012-02-15 12:32:02 UTC (rev 67982) +++ trunk/elementary/src/lib/elm_image.h 2012-02-15 12:33:17 UTC (rev 67983) @@ -134,8 +134,6 @@ * * This is the real size of the image, not the size of the object. * - * On error, neither w and h will be filled with 0. - * * @ingroup Image */ EAPI void elm_image_object_size_get(const Evas_Object *obj, int *w, int *h); @@ -189,6 +187,7 @@ * * @ingroup Image */ +//XXX: elm_image_scale_up_set + elm_image_scale_down_set may be better. how do you think ? EAPI void elm_image_scale_set(Evas_Object *obj, Eina_Bool scale_up, Eina_Bool scale_down); /** @@ -202,6 +201,7 @@ * * @ingroup Image */ +//XXX: elm_image_scale_up_get + elm_image_scale_down_get may be better. how do you think ? EAPI void elm_image_scale_get(const Evas_Object *obj, Eina_Bool *scale_up, Eina_Bool *scale_down); /** @@ -318,7 +318,7 @@ EAPI void elm_image_editable_set(Evas_Object *obj, Eina_Bool set); /** - * Check if the image 'editable'. + * Check if the image is 'editable'. * * @param obj Image object. * @return Editability. @@ -331,7 +331,7 @@ EAPI Eina_Bool elm_image_editable_get(const Evas_Object *obj); /** - * Get the basic Evas_Image object from this object (widget). + * Get the inlined image object of the image widget. * * @param obj The image object to get the inlined image from * @return The inlined image object, or NULL if none exists |