2 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
4 // Licensed under the Flora License, Version 1.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://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 _GLPROGRESSANIMATION_H_
23 #define _GLPROGRESSANIMATION_H_
27 #include <FGraphics.h>
31 class ProgressAnimation
32 : public Tizen::Ui::Controls::Panel
35 ProgressAnimation(void);
36 virtual ~ProgressAnimation(void);
38 result Construct(Tizen::Graphics::Rectangle rect);
40 void AnimationStart(void);
41 void AnimationStop(void);
44 static const int DURATION = 500;
45 static const int PROGRESS_COUNT = 30;
47 Tizen::Ui::Controls::Animation* __pAnimation;
48 Tizen::Base::Collection::ArrayList* __pAnimationFrameList;
51 #endif // _GLPROGRESSANIMATION_H_