Guiliani  Version 2.5 revision 7293 (documentation build 13)
GUIAnimationSize.h
1/*
2* Copyright (C) TES Electronic Solutions GmbH,
3* All Rights Reserved.
4* Contact: info@guiliani.de
5*
6* This file is part of the Guiliani HMI framework
7* for the development of graphical user interfaces on embedded systems.
8*/
9
10#if !defined GUIANIMATION_SIZE__H_
11#define GUIANIMATION_SIZE__H_
12
13#include "GUIAnimation.h"
14#include "GUIEasing.h"
15
49{
50public:
66 CGUIObject* pAnimatedObject,
67 CGUIEasing::EasingType_t eEasingWidth,
68 CGUIEasing::EasingType_t eEasingHeight,
69 eC_Value vStartWidth,
70 eC_Value vStartHeight,
71 eC_Value vTargetWidth,
72 eC_Value vTargetHeight,
73 eC_Bool bKeepCenterPosition,
74 eC_UInt uiDuration,
75 eC_UInt uiStepTime = 25);
76
77#if defined(GUILIANI_STREAM_GUI)
82#endif
83
91 void ApplyAnimation(eC_UInt uiElapsedTime);
92
93#if defined(GUILIANI_STREAM_GUI) || defined(GUILIANI_WRITE_GUI)
94 static const eC_UInt SIZE_ANIMATION_CLASS_VERSION;
97#endif
98
99#ifdef GUILIANI_STREAM_GUI
101#endif
102
103#ifdef GUILIANI_WRITE_GUI
104 void WriteToStream(const eC_Bool bWriteClassID = false);
105#endif
106
107protected:
109};
110
111#endif
Base class for modular Guiliani animations.
Definition: GUIAnimation.h:75
This animation resizes a CGUIObject from a start dimension to a target dimension.
Definition: GUIAnimationSize.h:49
static const eC_UInt SIZE_ANIMATION_CLASS_MIN_VERSION
The minimal class version allowed.
Definition: GUIAnimationSize.h:96
void WriteToStream(const eC_Bool bWriteClassID=false)
void ApplyAnimation(eC_UInt uiElapsedTime)
CGUIAnimationSize(CGUIObject *pAnimatedObject, CGUIEasing::EasingType_t eEasingWidth, CGUIEasing::EasingType_t eEasingHeight, eC_Value vStartWidth, eC_Value vStartHeight, eC_Value vTargetWidth, eC_Value vTargetHeight, eC_Bool bKeepCenterPosition, eC_UInt uiDuration, eC_UInt uiStepTime=25)
static const eC_UInt SIZE_ANIMATION_CLASS_VERSION
Definition: GUIAnimationSize.h:94
eC_Bool m_bKeepCenterPosition
Indicates if the object's center-point shall remain unchanged during animation.
Definition: GUIAnimationSize.h:108
EasingType_t
The differnet easing types.
Definition: GUIEasing.h:50
This is the Guiliani base class all controls are derived from.
Definition: GUIObject.h:79