2 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
4 // Licensed under the Flora License, Version 1.1 (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://floralicense.org/license/
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.
18 * @file GlProgressAnimation.h
19 * @brief This is the header file for GlProgressAnimation class.
22 #ifndef _GL_PROGRESS_ANIMATION_H_
23 #define _GL_PROGRESS_ANIMATION_H_
27 class ProgressAnimation
28 : public Tizen::Ui::Controls::Panel
31 ProgressAnimation(void);
32 virtual ~ProgressAnimation(void);
34 result Construct(Tizen::Graphics::Rectangle rect);
36 void AnimationStart(void);
37 void AnimationStop(void);
38 void ChangeOrientation(Tizen::Graphics::Rectangle rect);
41 static const int DURATION = 500;
42 static const int PROGRESS_COUNT = 30;
44 Tizen::Ui::Controls::Animation* __pAnimation;
45 Tizen::Base::Collection::ArrayList* __pAnimationFrameList;
48 #endif /* _GL_PROGRESS_ANIMATION_H_ */