1 #ifndef __DALI_V8PLUGIN_ANIMATION_API_H__
2 #define __DALI_V8PLUGIN_ANIMATION_API_H__
5 * Copyright (c) 2015 Samsung Electronics Co., Ltd.
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
24 #include <dali/public-api/animation/animation.h>
33 namespace AnimationApi
38 Animation New( const v8::FunctionCallbackInfo< v8::Value >& args );
42 * Animation API see animation.h for a description
44 void SetDuration( const v8::FunctionCallbackInfo< v8::Value >& args );
45 void GetDuration( const v8::FunctionCallbackInfo< v8::Value >& args );
46 void SetLooping( const v8::FunctionCallbackInfo< v8::Value >& args );
47 void IsLooping( const v8::FunctionCallbackInfo< v8::Value >& args );
48 void SetEndAction( const v8::FunctionCallbackInfo< v8::Value >& args );
49 void GetEndAction( const v8::FunctionCallbackInfo< v8::Value >& args );
50 void SetDisconnectAction( const v8::FunctionCallbackInfo< v8::Value >& args );
51 void GetDisconnectAction( const v8::FunctionCallbackInfo< v8::Value >& args );
52 void SetDefaultAlphaFunction( const v8::FunctionCallbackInfo< v8::Value >& args );
53 void GetDefaultAlphaFunction( const v8::FunctionCallbackInfo< v8::Value >& args );
54 void GetCurrentProgress( const v8::FunctionCallbackInfo< v8::Value >& args );
55 void SetSpeedFactor( const v8::FunctionCallbackInfo< v8::Value >& args );
56 void GetSpeedFactor( const v8::FunctionCallbackInfo< v8::Value >& args );
57 void SetPlayRange( const v8::FunctionCallbackInfo< v8::Value >& args );
58 void GetPlayRange( const v8::FunctionCallbackInfo< v8::Value >& args );
59 void SetCurrentProgress( const v8::FunctionCallbackInfo< v8::Value >& args );
60 void PlayFrom( const v8::FunctionCallbackInfo< v8::Value >& args );
61 void Play( const v8::FunctionCallbackInfo< v8::Value >& args );
62 void Pause( const v8::FunctionCallbackInfo< v8::Value >& args );
63 void Stop( const v8::FunctionCallbackInfo< v8::Value >& args );
64 void Clear( const v8::FunctionCallbackInfo< v8::Value >& args );
65 void Animate( const v8::FunctionCallbackInfo< v8::Value >& args );
66 void AnimateBy( const v8::FunctionCallbackInfo< v8::Value >& args );
67 void AnimateTo( const v8::FunctionCallbackInfo< v8::Value >& args );
68 void AnimateBetween( const v8::FunctionCallbackInfo< v8::Value >& args );
69 void Show( const v8::FunctionCallbackInfo< v8::Value >& args );
70 void Hide( const v8::FunctionCallbackInfo< v8::Value >& args );
72 enum AnimationParameterType
78 }; // namespace AnimationApi
80 } // namespace V8Plugin
84 #endif // header __DALI_V8PLUGIN_ANIMATION_API_H__