Guiliani  Version 2.6 revision 7293 (documentation build 12)
GUITransitionRotation.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#ifndef GUI_TRANSITION_ROTATION__H_
11#define GUI_TRANSITION_ROTATION__H_
12
13#include "GUITransitionBase.h"
14#include "GUIEasing.h"
15
17
36{
37public:
41 {
46 };
47
49
57 const eC_UInt& uiTransitionTime,
58 const RotationMode_t& eMode,
59 const CGUIEasing::EasingType_t& eEasingType = CGUIEasing::EASE_LINEAR,
60 const eC_Bool& bAutoDelete = true);
62
63protected:
66 void UpdateTransition(eC_Value vProgress);
67
68private:
69 RotationMode_t m_eMode;
70 CGUIEasing::EasingType_t m_eEasingType;
71 CGUIObject* m_pkRotatedObject;
72 eC_Value m_vRotationOffset;
73};
74
75#endif
EasingType_t
The differnet easing types.
Definition: GUIEasing.h:50
This is the Guiliani base class all controls are derived from.
Definition: GUIObject.h:81
Abstract base class to transit from a source dialog to a destination dialog.
Definition: GUITransitionBase.h:49
Class to compute a rotation transition from a source dialog to a destination dialog.
Definition: GUITransitionRotation.h:36
RotationMode_t
Definition: GUITransitionRotation.h:41
@ Y_AXIS_CW
Rotate clockwise at y-axis.
Definition: GUITransitionRotation.h:44
@ X_AXIS_CW
Rotate clockwise at x-axis.
Definition: GUITransitionRotation.h:42
@ Y_AXIS_CCW
Rotate counter clockwise at y-axis.
Definition: GUITransitionRotation.h:45
@ X_AXIS_CCW
Rotate counter clockwise at x-axis.
Definition: GUITransitionRotation.h:43
void EndTransition()
Cleans up a Transition.
void InitTransition()
Initializes a Transition.
void UpdateTransition(eC_Value vProgress)
Initializes a Transition.
CGUITransitionRotation(const eC_UInt &uiTransitionTime, const RotationMode_t &eMode, const CGUIEasing::EasingType_t &eEasingType=CGUIEasing::EASE_LINEAR, const eC_Bool &bAutoDelete=true)
Constructs a RotationTransition.