X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fcontrols%2Fbuttons%2Fpush-button-impl.h;h=d7e91d3af1357bd3cbfbf118eb3b02139a8e7adc;hb=b97b29c76acefabbae2c0a4e9ecc261bf9dd8036;hp=990acf0443a96ead88eddd8b3e946f56f80229b7;hpb=e5dbcae1f8ee31b14d675793ab86161eeeefb029;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/controls/buttons/push-button-impl.h b/dali-toolkit/internal/controls/buttons/push-button-impl.h index 990acf0..d7e91d3 100644 --- a/dali-toolkit/internal/controls/buttons/push-button-impl.h +++ b/dali-toolkit/internal/controls/buttons/push-button-impl.h @@ -1,8 +1,8 @@ -#ifndef __DALI_TOOLKIT_INTERNAL_PUSH_BUTTON_H__ -#define __DALI_TOOLKIT_INTERNAL_PUSH_BUTTON_H__ +#ifndef DALI_TOOLKIT_INTERNAL_PUSH_BUTTON_H +#define DALI_TOOLKIT_INTERNAL_PUSH_BUTTON_H /* - * Copyright (c) 2014 Samsung Electronics Co., Ltd. + * Copyright (c) 2019 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. @@ -93,33 +93,54 @@ public: */ static Property::Value GetProperty( BaseObject* object, Property::Index propertyIndex ); -private: // From Button + /** + * Deprecated API for Setting Pushbutton image using an Actor + * @param[in] image, Image Actor that has a url which can be used to create an image visual + */ + void SetButtonImage( Actor image ); /** - * @copydoc Toolkit::Internal::Button::OnInitialize + * Deprecated API for Setting Pushbutton image using an Actor + * @param[in] image, Image Actor that has a url which can be used to create an image visual */ - virtual void OnInitialize(); + void SetBackgroundImage( Actor image ); + + /** + * Deprecated API for Setting Pushbutton image using an Actor + * @param[in] image, Image Actor that has a url which can be used to create an image visual + */ + void SetSelectedImage( Actor image ); /** - * @copydoc Toolkit::Internal::Button::PrepareForTranstionIn( Actor actor ) + * Deprecated API for Setting Pushbutton image using an Actor + * @param[in] image, Image Actor that has a url which can be used to create an image visual */ - virtual void PrepareForTranstionIn( Actor actor ); + void SetSelectedBackgroundImage( Actor image ); /** - * @copydoc Toolkit::Internal::Button::PrepareForTranstionOut( Actor actor ) + * Deprecated API for Setting Pushbutton image using an Actor + * @param[in] image, Image Actor that has a url which can be used to create an image visual */ - virtual void PrepareForTranstionOut( Actor actor ); + void SetDisabledBackgroundImage( Actor image ); /** - * @copydoc Toolkit::Internal::Button::OnTransitionIn( Toolkit::Visual::Base& visual ) + * Deprecated API for Setting Pushbutton image using an Actor + * @param[in] image, Image Actor that has a url which can be used to create an image visual */ - virtual void OnTransitionIn( Actor actor ); + void SetDisabledImage( Actor image ); /** - * @copydoc Toolkit::Internal::Button::OnTransitionOut( Toolkit::Visual::Base& visual ) + * Deprecated API for Setting Pushbutton image using an Actor + * @param[in] image, Image Actor that has a url which can be used to create an image visual */ - virtual void OnTransitionOut( Actor actor ); + void SetDisabledSelectedImage( Actor image ); + +private: // From Button + /** + * @copydoc Toolkit::Internal::Button::OnInitialize + */ + virtual void OnInitialize(); private: @@ -176,4 +197,4 @@ inline const Toolkit::Internal::PushButton& GetImplementation( const Toolkit::Pu } // namespace Dali -#endif // __DALI_TOOLKIT_INTERNAL_PUSH_BUTTON_H__ +#endif // DALI_TOOLKIT_INTERNAL_PUSH_BUTTON_H