2 * Copyright (c) 2018 Samsung Electronics Co., Ltd.
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
8 * http://www.apache.org/licenses/LICENSE-2.0
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/devel-api/layouting/layout-transition-data.h>
18 #include <dali-toolkit/internal/layouting/layout-transition-data-impl.h>
25 LayoutTransitionData::LayoutTransitionData()
30 LayoutTransitionData::LayoutTransitionData( Internal::LayoutTransitionData* layoutAnimationData )
31 : BaseHandle( layoutAnimationData )
35 LayoutTransitionData LayoutTransitionData::New()
37 Internal::LayoutTransitionDataPtr layoutAnimationData = Internal::LayoutTransitionData::New();
38 return LayoutTransitionData( layoutAnimationData.Get() );
41 LayoutTransitionData LayoutTransitionData::DownCast( BaseHandle handle )
43 return LayoutTransitionData( dynamic_cast<Internal::LayoutTransitionData*>(handle.GetObjectPtr()) );
46 void LayoutTransitionData::AddPropertyAnimator( Actor actor, Property::Map map )
48 GetImplementation( *this ).AddPropertyAnimator( actor, map );
51 void LayoutTransitionData::AddPropertyAnimator( Actor actor, Property::Map map, KeyFrames keyFrames, Animation::Interpolation interpolation )
53 GetImplementation( *this ).AddPropertyAnimator( actor, map, keyFrames, interpolation );
56 void LayoutTransitionData::AddPropertyAnimator( Actor actor, Property::Map map, Path path, Vector3 forward )
58 GetImplementation( *this ).AddPropertyAnimator( actor, map, path, forward );
61 LayoutTransitionData::LayoutTransitionSignalType& LayoutTransitionData::FinishedSignal()
63 return GetImplementation(*this ).FinishedSignal();
66 } // namespace Toolkit