2 // Copyright (c) 2014 Samsung Electronics Co., Ltd.
4 // Licensed under the Flora License, Version 1.0 (the License);
5 // you may not use this file except in compliance with the License.
6 // You may obtain a copy of the License at
8 // http://floralicense.org/license/
10 // Unless required by applicable law or agreed to in writing, software
11 // distributed under the License is distributed on an AS IS BASIS,
12 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 // See the License for the specific language governing permissions and
14 // limitations under the License.
17 #include <dali-toolkit/public-api/controls/slider/slider.h>
18 #include <dali-toolkit/internal/controls/slider/slider-impl.h>
28 ///////////////////////////////////////////////////////////////////////////////////////////////////
30 ///////////////////////////////////////////////////////////////////////////////////////////////////
33 const char* const Slider::SIGNAL_VALUE_CHANGED = "value-changed";
34 const char* const Slider::SIGNAL_MARK = "mark";
40 Slider::Slider( const Slider& handle )
45 Slider& Slider::operator=( const Slider& handle )
49 Control::operator=( handle );
54 Slider::Slider(Internal::Slider& implementation)
55 : Control(implementation)
59 Slider::Slider( Dali::Internal::CustomActor* internal )
62 VerifyCustomActorPointer<Internal::Slider>(internal);
67 return Internal::Slider::New();
74 Slider::ValueChangedSignalType& Slider::ValueChangedSignal()
76 return GetImpl( *this ).ValueChangedSignal();
79 Slider::ValueChangedSignalType& Slider::SlidingFinishedSignal()
81 return GetImpl( *this ).SlidingFinishedSignal();
84 Slider::MarkSignalType& Slider::MarkSignal()
86 return GetImpl( *this ).MarkSignal();
89 Slider Slider::DownCast( BaseHandle handle )
91 return Control::DownCast<Slider, Internal::Slider>(handle);
96 } // namespace Toolkit