X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Fpublic-api%2Fcontrols%2Fbuttons%2Fbutton.h;h=abb119fb4d2aa167a6ad805bb646f5fac77d8ef9;hp=9ba534817479cbc5a45683c4630803b8a29d0514;hb=615572d21ca43c37388d9de980a8d1265e8c21fd;hpb=06e563f8a982e25a0efe2d91c794657dc8e4bc4a diff --git a/dali-toolkit/public-api/controls/buttons/button.h b/dali-toolkit/public-api/controls/buttons/button.h index 9ba5348..abb119f 100644 --- a/dali-toolkit/public-api/controls/buttons/button.h +++ b/dali-toolkit/public-api/controls/buttons/button.h @@ -31,6 +31,10 @@ namespace Internal DALI_INTERNAL { class Button; } +/** + * @addtogroup dali_toolkit_controls_buttons + * @{ + */ /** * @brief Button is a base class for different kind of buttons. @@ -106,8 +110,11 @@ public: UNSELECTED_STATE_IMAGE, ///< name "unselected-state-image", @see SetUnselectedImage(), type std::string SELECTED_STATE_IMAGE, ///< name "selected-state-image", @see SetSelectedImage(), type std::string DISABLED_STATE_IMAGE, ///< name "disabled-state-image", @see SetDisabledImage(), type std::string - UNSELECTED_COLOR, ///< name "unselected-color", @see SetUnselectedColor(), type Vector4 - SELECTED_COLOR, ///< name "selected-color", @see SetSelectedColor(), type Vector4 + UNSELECTED_COLOR, ///< name "unselected-color", type Vector4 + SELECTED_COLOR, ///< name "selected-color", type Vector4 + LABEL, ///< name "label", type Property::Map + + // Deprecated properties: LABEL_TEXT, ///< name "label-text", @see SetLabelText(), type std::string }; }; @@ -319,31 +326,46 @@ public: // Deprecated API /** - * @deprecated Sets the label with an actor. + * @deprecated DALi 1.0.50 + * + * @brief Sets the label with an actor. + * * @param[in] label The actor to use as a label */ void SetLabel( Actor label ); /** - * @deprecated Sets the button image. + * @deprecated DALi 1.0.50 + * + * @brief Sets the button image. + * * @param[in] image The button image. */ void SetButtonImage( Image image ); /** - * @deprecated Sets the selected image. + * @deprecated DALi 1.0.50 + * + * @brief Sets the selected image. + * * @param[in] image The selected image. */ void SetSelectedImage( Image image ); /** - * @deprecated Gets the button image. + * @deprecated DALi 1.0.50 + * + * @brief Gets the button image. + * * @return An actor with the button image. */ Actor GetButtonImage() const; /** - * @deprecated Gets the selected image. + * @deprecated DALi 1.0.50 + * + * @brief Gets the selected image. + * * @return An actor with the selected image. */ Actor GetSelectedImage() const; @@ -417,6 +439,9 @@ public: // Not intended for application developers DALI_INTERNAL Button( Dali::Internal::CustomActor* internal ); }; +/** + * @} + */ } // namespace Toolkit } // namespace Dali