Guiliani  Version 2.6 revision 7293 (documentation build 12)
GUIAnimationBlinking.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_BLINKING__H_
11#define GUIANIMATION_BLINKING__H_
12
13#include "GUIAnimation.h"
14
41{
42public:
51 eC_UInt uiDuration,
52 eC_UInt uiOnTime,
53 eC_UInt uiOffTime = 0);
54
55#if defined(GUILIANI_STREAM_GUI)
60#endif
61
68 void ApplyAnimation(eC_UInt uiElapsedTime);
69
75
76#if defined(GUILIANI_STREAM_GUI) || defined(GUILIANI_WRITE_GUI)
79#endif
80
81#ifdef GUILIANI_STREAM_GUI
83#endif
84
85#ifdef GUILIANI_WRITE_GUI
86 void WriteToStream(const eC_Bool bWriteClassID = false);
87#endif
88
89private:
90 void Init();
91
92protected:
93 eC_UInt m_uiOnTime;
94 eC_UInt m_uiOffTime;
95};
96
97#endif
This animation implements a blinking effect.
Definition: GUIAnimationBlinking.h:41
CGUIAnimationBlinking(CGUIObject *pAnimatedObject, eC_UInt uiDuration, eC_UInt uiOnTime, eC_UInt uiOffTime=0)
void OnStatusChanged(AnimationStatus_t eStatus)
eC_UInt m_uiOffTime
The time for which the object shall be invisible in milliseconds.
Definition: GUIAnimationBlinking.h:94
static const eC_UInt BLINKING_ANIMATION_CLASS_VERSION
The class version of the implementation.
Definition: GUIAnimationBlinking.h:78
void ApplyAnimation(eC_UInt uiElapsedTime)
eC_UInt m_uiOnTime
The time for which the object shall be visible in milliseconds.
Definition: GUIAnimationBlinking.h:93
void WriteToStream(const eC_Bool bWriteClassID=false)
Base class for modular Guiliani animations.
Definition: GUIAnimation.h:75
AnimationStatus_t
Definition: GUIAnimation.h:83
This is the Guiliani base class all controls are derived from.
Definition: GUIObject.h:81