(TextInput) Removing deprecated Margin and Handle flip API
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / internal / controls / scroll-component / scroll-component.cpp
1 //
2 // Copyright (c) 2014 Samsung Electronics Co., Ltd.
3 //
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
7 //
8 //     http://floralicense.org/license/
9 //
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.
15 //
16
17 #include <dali-toolkit/internal/controls/scroll-component/scroll-component.h>
18 #include <dali-toolkit/internal/controls/scroll-component/scroll-component-impl.h>
19
20 namespace Dali
21 {
22
23 namespace Toolkit
24 {
25
26 ScrollComponent::ScrollComponent()
27 {
28 }
29
30 ScrollComponent::ScrollComponent(Internal::ScrollComponent& implementation)
31 : Control(implementation)
32 {
33 }
34
35 ScrollComponent::ScrollComponent( Dali::Internal::CustomActor* internal )
36 : Control( internal )
37 {
38   VerifyCustomActorPointer<Internal::ScrollComponent>(internal);
39 }
40
41 ScrollComponent::ScrollComponent( const ScrollComponent& scrollComponentNew )
42 : Control(scrollComponentNew)
43 {
44 }
45
46 ScrollComponent& ScrollComponent::operator=( const ScrollComponent& scrollComponentNew )
47 {
48   if( &scrollComponentNew != this )
49   {
50     Control::operator=( scrollComponentNew );
51   }
52   return *this;
53 }
54
55 ScrollComponent ScrollComponent::DownCast( BaseHandle handle )
56 {
57   return Control::DownCast<ScrollComponent, Internal::ScrollComponent>(handle);
58 }
59
60 ScrollComponent::~ScrollComponent()
61 {
62 }
63
64 } // namespace Toolkit
65
66 } // namespace Dali