X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=base%2Fdali-toolkit%2Fpublic-api%2Fcontrols%2Fdefault-controls%2Fpush-button-factory.h;h=8be96ddaf1c9bf0fb5bc9a12f5753f44ac18fa92;hp=21cab7c3add3ee092e186eae004233053b3c30c1;hb=88eec954ad7b59851b423be3b82a4af569f892dd;hpb=fba034a17645832eecc1ac8544de26add0745a39 diff --git a/base/dali-toolkit/public-api/controls/default-controls/push-button-factory.h b/base/dali-toolkit/public-api/controls/default-controls/push-button-factory.h index 21cab7c..8be96dd 100644 --- a/base/dali-toolkit/public-api/controls/default-controls/push-button-factory.h +++ b/base/dali-toolkit/public-api/controls/default-controls/push-button-factory.h @@ -19,10 +19,9 @@ */ // INTERNAL INCLUDES -#include #include -namespace Dali DALI_IMPORT_API +namespace Dali { namespace Toolkit @@ -34,15 +33,15 @@ namespace Toolkit * @note Images won't be scaled to fill the whole button size. * @note If an image path is empty, this image is not set to the button. * - * @param[in] releasedImagePath Image path to be shown when the button is released. - * @param[in] pressedImagePath Image path to be shown when the button is pressed. - * @param[in] backgroundImagePath Image path to be shown as button background. - * @param[in] dimmedReleasedImagePath Image path to be shown when the button is released and dimmed. - * @param[in] dimmedBackgroundImagePath Image path to be shown as button background when the button is dimmed. + * @param[in] unselectedImagePath Image path to be shown when the button is unselected. + * @param[in] selectedImagePath Image path to be shown when the button is selected. + * @param[in] backgroundImagePath Image path to be shown as button background. + * @param[in] disabledUnselectedImagePath Image path to be shown when the button is unselected and disabled. + * @param[in] disabledBackgroundImagePath Image path to be shown as button background when the button is disabled. * @return A handle to the new push button */ -PushButton CreatePushButton( const std::string& releasedImagePath, const std::string& pressedImagePath, const std::string& backgroundImagePath, - const std::string& dimmedReleasedImagePath, const std::string& dimmedBackgroundImagePath ); +DALI_IMPORT_API PushButton CreatePushButton( const std::string& unselectedImagePath, const std::string& selectedImagePath, const std::string& backgroundImagePath, + const std::string& disabledUnselectedImagePath, const std::string& disabledBackgroundImagePath ); /** * @brief Creates a push button with the given images. @@ -51,15 +50,15 @@ PushButton CreatePushButton( const std::string& releasedImagePath, const std::st * @note Images won't be scaled to fill the whole button size. * @note If an image is an empty handle, this image is not set to the button. * - * @param[in] releasedImageActor Image to be shown when the button is released. - * @param[in] pressedImageActor Image to be shown when the button is pressed. - * @param[in] backgroundImageActor Image to be shown as button background. - * @param[in] dimmedReleasedImageActor Image to be shown when the button is released and dimmed. - * @param[in] dimmedBackgroundImageActor Image to be shown as button background when the button is dimmed. + * @param[in] unselectedImageActor Image to be shown when the button is unselected. + * @param[in] selectedImageActor Image to be shown when the button is pressed. + * @param[in] backgroundImageActor Image to be shown as button background. + * @param[in] disabledUnselectedImageActor Image to be shown when the button is unselected and disabled. + * @param[in] disabledBackgroundImageActor Image to be shown as button background when the button is disabled. * @return A handle to the new pushbutton */ -PushButton CreatePushButton( Actor releasedImageActor, Actor pressedImageActor, Actor backgroundImageActor, - Actor dimmedReleasedImageActor, Actor dimmedBackgroundImageActor ); +DALI_IMPORT_API PushButton CreatePushButton( Actor unselectedImageActor, Actor selectedImageActor, Actor backgroundImageActor, + Actor disabledUnselectedImageActor, Actor disabledBackgroundImageActor ); /** * @brief Creates a push button with the given background image. @@ -70,7 +69,7 @@ PushButton CreatePushButton( Actor releasedImageActor, Actor pressedImageActor, * @param[in] backgroundImagePath Image path to be shown as button background. * @return a handle to the new push button */ -PushButton CreatePushButton( const std::string& backgroundImagePath ); +DALI_IMPORT_API PushButton CreatePushButton( const std::string& backgroundImagePath ); /** * @brief Creates a push button with the given background image. @@ -81,7 +80,7 @@ PushButton CreatePushButton( const std::string& backgroundImagePath ); * @param[in] backgroundImageActor Image to be shown as button background. * @return a handle to the new push button */ -PushButton CreatePushButton( Actor backgroundImageActor ); +DALI_IMPORT_API PushButton CreatePushButton( Actor backgroundImageActor ); } // namespace Toolkit