Remove obsolete and non functional SizeChanged signal from actor
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / public-api / controls / page-turn-view / page-turn-view.cpp
1 /*
2  * Copyright (c) 2014 Samsung Electronics Co., Ltd.
3  *
4  * Licensed under the Apache License, Version 2.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://www.apache.org/licenses/LICENSE-2.0
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
18 #include <dali-toolkit/public-api/controls/page-turn-view/page-turn-view.h>
19 #include <dali-toolkit/internal/controls/page-turn-view/page-turn-view-impl.h>
20
21 using namespace Dali;
22
23 namespace Dali
24 {
25
26 namespace Toolkit
27 {
28
29 PageTurnView::PageTurnView()
30 {
31 }
32
33 PageTurnView::PageTurnView( const PageTurnView& handle )
34 : Control( handle )
35 {
36 }
37
38 PageTurnView& PageTurnView::operator=( const PageTurnView& handle )
39 {
40   if( &handle != this )
41   {
42     Control::operator=( handle );
43   }
44   return *this;
45 }
46
47 PageTurnView::~PageTurnView()
48 {
49 }
50
51 PageTurnView PageTurnView::DownCast( BaseHandle handle )
52 {
53   return Control::DownCast<PageTurnView, Internal::PageTurnView>(handle);
54 }
55
56 PageTurnView::PageTurnView( Internal::PageTurnView& implementation )
57 : Control( implementation )
58 {
59 }
60
61 PageTurnView::PageTurnView( Dali::Internal::CustomActor* internal )
62 : Control( internal )
63 {
64   VerifyCustomActorPointer<Internal::PageTurnView>(internal);
65 }
66
67 void PageTurnView::SetSpineShadowParameter( const Vector2& spineShadowParameter )
68 {
69   Toolkit::GetImplementation( *this ).SetSpineShadowParameter( spineShadowParameter );
70 }
71
72 Vector2 PageTurnView::GetSpineShadowParameter()
73 {
74   return Toolkit::GetImplementation( *this ).GetSpineShadowParameter();
75 }
76
77 void PageTurnView::GoToPage( unsigned int pageId )
78 {
79   Toolkit::GetImplementation( *this ).GoToPage(pageId);
80 }
81
82 unsigned int PageTurnView::GetCurrentPage()
83 {
84   return Toolkit::GetImplementation( *this ).GetCurrentPage();
85 }
86
87 PageTurnView::PageTurnSignal& PageTurnView::PageTurnStartedSignal()
88 {
89   return Toolkit::GetImplementation( *this ).PageTurnStartedSignal();
90 }
91
92 PageTurnView::PageTurnSignal& PageTurnView::PageTurnFinishedSignal()
93 {
94   return Toolkit::GetImplementation( *this ).PageTurnFinishedSignal();
95 }
96
97 PageTurnView::PagePanSignal& PageTurnView::PagePanStartedSignal()
98 {
99   return Toolkit::GetImplementation( *this ).PagePanStartedSignal();
100 }
101
102 PageTurnView::PagePanSignal& PageTurnView::PagePanFinishedSignal()
103 {
104   return Toolkit::GetImplementation( *this ).PagePanFinishedSignal();
105 }
106
107 Actor PageTurnView::EnterEditMode()
108 {
109   return Toolkit::GetImplementation( *this ).EnterEditMode();
110 }
111
112 void PageTurnView::LeaveEditMode()
113 {
114   Toolkit::GetImplementation( *this ).LeaveEditMode();
115 }
116
117 Actor PageTurnView::GetHitActor( Vector2& screenCoordinates, Vector2& actorCoordinates )
118 {
119   return Toolkit::GetImplementation( *this ).GetHitActor( screenCoordinates, actorCoordinates );
120 }
121
122 void PageTurnView::RefreshAll()
123 {
124   Toolkit::GetImplementation( *this ).RefreshAll();
125 }
126
127 void PageTurnView::RefreshCurrentPage()
128 {
129   Toolkit::GetImplementation( *this ).RefreshCurrentPage();
130 }
131
132 } // namespace Toolkit
133
134 } // namespace Dali