X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Fpublic-api%2Fcontrols%2Fimage-view%2Fimage-view.h;h=4e98ccbb203c519bb738edab7916f84bb3294b34;hp=821a9812f409a7156991eb617575846c2a02bf60;hb=615572d21ca43c37388d9de980a8d1265e8c21fd;hpb=06e563f8a982e25a0efe2d91c794657dc8e4bc4a diff --git a/dali-toolkit/public-api/controls/image-view/image-view.h b/dali-toolkit/public-api/controls/image-view/image-view.h index 821a981..4e98ccb 100644 --- a/dali-toolkit/public-api/controls/image-view/image-view.h +++ b/dali-toolkit/public-api/controls/image-view/image-view.h @@ -31,6 +31,10 @@ namespace Internal DALI_INTERNAL { class ImageView; } +/** + * @addtogroup dali_toolkit_controls_image_view + * @{ + */ /** * @@ -55,7 +59,7 @@ public: { enum { - RESOURCE_URL = PROPERTY_START_INDEX, ///< name "resource-url", @see SetImage(), type string + IMAGE = PROPERTY_START_INDEX, ///< name "image", @see SetImage(), type string if it is a url, map otherwise }; }; @@ -133,7 +137,18 @@ public: void SetImage( Image image ); /** - * @brief Gets the Image + * @brief Sets this ImageView from an Image url + * + * If the handle is empty, ImageView will display nothing + * + * @since DALi 1.1.4 + * + * @param[in] url The Image resource to display. + */ + void SetImage( const std::string& url ); + + /** + * @deprecated Gets the Image * * @return The Image currently set to this ImageView */ @@ -157,6 +172,9 @@ public: // Not intended for application developers }; +/** + * @} + */ } // namespace Toolkit } // namespace Dali