X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Fpublic-api%2Fcontrols%2Fbuttons%2Fpush-button.h;h=dd3ffb6651cd2cf22cb80033674591298732921a;hb=7e39184222f78979e1d70fc1099e1ea12da222c8;hp=dfc3409f16b4de25294e06438bdf46a023402f8f;hpb=87f440c3d0367ca5a7027eef8d01d79b8703cf05;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 dfc3409..dd3ffb6 100644 --- a/dali-toolkit/public-api/controls/buttons/push-button.h +++ b/dali-toolkit/public-api/controls/buttons/push-button.h @@ -2,7 +2,7 @@ #define __DALI_TOOLKIT_PUSH_BUTTON_H__ /* - * Copyright (c) 2014 Samsung Electronics Co., Ltd. + * Copyright (c) 2015 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -129,7 +129,12 @@ public: void SetButtonImage( Image image ); /** - * @copydoc SetButtonImage( Image image ) + * @brief SetButtonImage + * + * @param[in] image The Actor to be used as the button image. + * + * The natural size of the button would be the size of this Actor + * if it's larger than the background and label */ void SetButtonImage( Actor image ); @@ -148,7 +153,12 @@ public: void SetBackgroundImage( Image image ); /** - * @copydoc SetBackgroundImage( Image image ) + * @brief SetBackgroundImage + * + * @param[in] image The Actor to be used as the background image. + * + * The natural size of the button would be the size of this Actor + * if it's larger than the button and label */ void SetBackgroundImage( Actor image ); @@ -179,6 +189,25 @@ public: Actor GetSelectedImage() const; /** + * @brief Sets the selected background image. + * + * @param[in] image The selected background image. + */ + void SetSelectedBackgroundImage( Image image ); + + /** + * @copydoc SetSelectedBackgroundImage( Image image ) + */ + void SetSelectedBackgroundImage( Actor image ); + + /** + * @brief Gets the selected background image. + * + * @return An actor with the selected background image. + */ + Actor GetSelectedBackgroundImage() const; + + /** * @brief Sets the disabled background image. * * @param[in] image The disabled background image.