Remove obsolete and non functional SizeChanged signal from actor
[platform/core/uifw/dali-toolkit.git] / optional / dali-toolkit / public-api / transition-effects / cube-transition-effect.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 // CLASS HEADER
19 #include "cube-transition-effect.h"
20
21 //INTERNAL INCLUDES
22 #include <dali-toolkit/internal/transition-effects/cube-transition-effect-impl.h>
23
24 namespace Dali
25 {
26
27 namespace Toolkit
28 {
29
30 const char* const CubeTransitionEffect::SIGNAL_TRANSITION_COMPLETED = "transition-completed";
31
32 CubeTransitionEffect::CubeTransitionEffect()
33 {
34 }
35
36 CubeTransitionEffect::~CubeTransitionEffect()
37 {
38 }
39
40 CubeTransitionEffect::CubeTransitionEffect(Internal::CubeTransitionEffect* impl)
41 : BaseHandle(impl)
42 {
43 }
44
45 void CubeTransitionEffect::SetTransitionDuration( float duration )
46 {
47   GetImpl(*this).SetTransitionDuration( duration );
48 }
49
50 float CubeTransitionEffect::GetTransitionDuration() const
51 {
52   return GetImpl(*this).GetTransitionDuration();
53 }
54
55 void CubeTransitionEffect::SetCubeDisplacement( float displacement )
56 {
57   GetImpl(*this).SetCubeDisplacement( displacement );
58 }
59
60 float CubeTransitionEffect::GetCubeDisplacement() const
61 {
62   return GetImpl(*this).GetCubeDisplacement();
63 }
64
65 Actor CubeTransitionEffect::GetRoot()
66 {
67   return GetImpl(*this).GetRoot();
68 }
69
70 bool CubeTransitionEffect::IsTransiting()
71 {
72   return GetImpl(*this).IsTransiting();
73 }
74
75 void CubeTransitionEffect::SetCurrentImage(ImageActor imageActor)
76 {
77   GetImpl(*this).SetCurrentImage( imageActor );
78 }
79
80 void CubeTransitionEffect::SetTargetImage(ImageActor imageActor)
81 {
82   GetImpl(*this).SetTargetImage( imageActor );
83 }
84
85 void CubeTransitionEffect::StartTransition( bool toNextImage )
86 {
87   GetImpl(*this).StartTransition( toNextImage );
88 }
89
90 void CubeTransitionEffect::StartTransition( Vector2 panPosition, Vector2 panDisplacement )
91 {
92   GetImpl(*this).StartTransition( panPosition, panDisplacement );
93 }
94
95 void CubeTransitionEffect::PauseTransition()
96 {
97   GetImpl(*this).PauseTransition();
98 }
99
100 void CubeTransitionEffect::ResumeTransition()
101 {
102   GetImpl(*this).ResumeTransition();
103 }
104
105 void CubeTransitionEffect::StopTransition()
106 {
107   GetImpl(*this).StopTransition();
108 }
109
110 CubeTransitionEffect::TransitionCompletedSignalType& CubeTransitionEffect::TransitionCompletedSignal()
111 {
112   return GetImpl( *this ).TransitionCompletedSignal();
113 }
114
115 } // namespace Toolkit
116
117 } // namespace Dali