1 #ifndef __DALI_TOOLKIT_INTERNAL_PUSH_BUTTON_PAINTER_H__
2 #define __DALI_TOOLKIT_INTERNAL_PUSH_BUTTON_PAINTER_H__
5 * Copyright (c) 2014 Samsung Electronics Co., Ltd.
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
22 #include "button-painter-impl.h"
27 // Forward declarations
34 // Forward declarations
41 // Forward declarations
43 class PushButtonPainter;
46 * PushButtonPainter methods should be implemented in a subclass.
48 class PushButtonPainter : public ButtonPainter
55 virtual ~PushButtonPainter() {}
57 /////////////////////////////////////////////////////////////////////////////
58 // ButtonPainter interface
59 /////////////////////////////////////////////////////////////////////////////
62 * @copydoc ButtonPainter::Initialize( Toolkit::Button& button )
64 virtual void Initialize( Toolkit::Button& button ) = 0;
67 * @copydoc ButtonPainter::SetSize( Toolkit::Button& button, const Vector3& size )
69 virtual void SetSize( Toolkit::Button& button, const Vector3& size ) = 0;
72 * @copydoc ButtonPainter::SetDisabled( Toolkit::Button& button, bool disabled )
74 virtual void SetDisabled( Toolkit::Button& button, bool disabled ) = 0;
77 * @copydoc ButtonPainter::SetAnimationTime()
79 virtual void SetAnimationTime( float animationTime ) = 0;
82 * @copydoc ButtonPainter::GetAnimationTime()
84 virtual float GetAnimationTime() const = 0;
87 } // namespace Internal
89 } // namespace Toolkit
93 #endif // __DALI_TOOLKIT_INTERNAL_PUSH_BUTTON_PAINTER_H__