2 * Copyright (c) 2016 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 "beat-control.h"
18 #include "beat-control-impl.h"
23 BeatControl::BeatControl()
27 BeatControl::BeatControl( const BeatControl& beatControl )
28 : Control( beatControl )
32 BeatControl& BeatControl::operator= ( const BeatControl& rhs )
36 Control::operator=( rhs );
41 BeatControl::~BeatControl()
45 BeatControl BeatControl::New()
47 BeatControl beatControl = Internal::BeatControl::New();
51 BeatControl BeatControl::New( const std::string& url )
53 BeatControl beatControl = Internal::BeatControl::New();
57 BeatControl BeatControl::DownCast( BaseHandle handle )
59 return Control::DownCast< BeatControl, Internal::BeatControl > ( handle );
62 void BeatControl::StartBounceAnimation()
64 GetImpl(*this).StartBounceAnimation();
67 void BeatControl::StartXAnimation()
69 GetImpl(*this).StartXAnimation();
71 void BeatControl::StartYAnimation()
73 GetImpl(*this).StartYAnimation();
75 void BeatControl::StartFadeAnimation()
77 GetImpl(*this).StartFadeAnimation();
80 BeatControl::BeatControl( Internal::BeatControl& implementation )
81 : Control( implementation )
85 BeatControl::BeatControl( Dali::Internal::CustomActor* internal )
88 VerifyCustomActorPointer< Internal::BeatControl >( internal ) ;