X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Fpublic-api%2Fcontrols%2Fbuttons%2Fpush-button.h;h=f0d2e29d8eba1680c3cbdae132f0e1ec93f3f590;hb=6c664b09beef66ee4e223cf30fb17ecdd6889bf7;hp=603601d6a8d9d1ee67a95dfa6f8735ea6f0735cb;hpb=938ea2d2a1a42930cf12c743d839aded892949ea;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/public-api/controls/buttons/push-button.h b/dali-toolkit/public-api/controls/buttons/push-button.h index 603601d..f0d2e29 100644 --- a/dali-toolkit/public-api/controls/buttons/push-button.h +++ b/dali-toolkit/public-api/controls/buttons/push-button.h @@ -105,11 +105,15 @@ public: */ struct Property { + /** + * @brief An enumeration of properties belonging to the PushButton class. + * @SINCE_1_0.0 + */ enum { - UNSELECTED_ICON = PROPERTY_START_INDEX, ///< Property, name "unselectedIcon", type std::string @SINCE_1_0.0 - SELECTED_ICON, ///< Property, name "selectedIcon", type std::string @SINCE_1_0.0 - ICON_ALIGNMENT, ///< Property, name "iconAlignment", type std::string @SINCE_1_0.0 + UNSELECTED_ICON = PROPERTY_START_INDEX, ///< Property, name "unselectedIcon", type std::string @SINCE_1_0.0 @DEPRECATED_1_2.XX Button::Property::UNSELECTED_VISUAL + SELECTED_ICON, ///< Property, name "selectedIcon", type std::string @SINCE_1_0.0 @DEPRECATED_1_2.XX Button::Property::SELECTED_VISUAL + ICON_ALIGNMENT, ///< Property, name "iconAlignment", type std::string @SINCE_1_0.0 @DEPRECATED_1_2.XX Use Button::Property::LABEL_RELATIVE_ALIGNMENT LABEL_PADDING, ///< Property, name "labelPadding", type Vector4 @SINCE_1_0.0 ICON_PADDING, ///< Property, name "iconPadding", type Vector4 @SINCE_1_0.0 }; @@ -128,12 +132,15 @@ public: /** * @brief Copy constructor. * @SINCE_1_0.0 + * @param[in] pushButton Handle to an object */ PushButton( const PushButton& pushButton ); /** * @brief Assignment operator. * @SINCE_1_0.0 + * @param[in] pushButton Handle to an object + * @return A reference to this */ PushButton& operator=( const PushButton& pushButton ); @@ -165,7 +172,7 @@ public: */ static PushButton DownCast( BaseHandle handle ); - + /////////////////////////////////////////////////////////////////////////// // Deprecated API using Button::SetButtonImage; @@ -178,7 +185,7 @@ public: * @SINCE_1_0.0 * @param[in] image The Actor to use. */ - void SetButtonImage( Actor image ); + void SetButtonImage( Actor image ) DALI_DEPRECATED_API; using Button::SetBackgroundImage; @@ -190,7 +197,7 @@ public: * @SINCE_1_0.0 * @param[in] image The Actor to use. */ - void SetBackgroundImage( Actor image ); + void SetBackgroundImage( Actor image ) DALI_DEPRECATED_API; using Button::SetSelectedImage; @@ -202,7 +209,7 @@ public: * @SINCE_1_0.0 * @param[in] image The Actor to use. */ - void SetSelectedImage( Actor image ); + void SetSelectedImage( Actor image ) DALI_DEPRECATED_API; using Button::SetSelectedBackgroundImage; @@ -214,7 +221,7 @@ public: * @SINCE_1_0.0 * @param[in] image The Actor to use. */ - void SetSelectedBackgroundImage( Actor image ); + void SetSelectedBackgroundImage( Actor image ) DALI_DEPRECATED_API; using Button::SetDisabledBackgroundImage; @@ -226,7 +233,7 @@ public: * @SINCE_1_0.0 * @param[in] image The Actor to use. */ - void SetDisabledBackgroundImage( Actor image ); + void SetDisabledBackgroundImage( Actor image ) DALI_DEPRECATED_API; using Button::SetDisabledImage; @@ -238,7 +245,7 @@ public: * @SINCE_1_0.0 * @param[in] image The Actor to use. */ - void SetDisabledImage( Actor image ); + void SetDisabledImage( Actor image ) DALI_DEPRECATED_API; using Button::SetDisabledSelectedImage; @@ -250,7 +257,7 @@ public: * @SINCE_1_0.0 * @param[in] image The Actor to use. */ - void SetDisabledSelectedImage( Actor image ); + void SetDisabledSelectedImage( Actor image ) DALI_DEPRECATED_API; public: // Not intended for application developers