10#ifndef GUIANIMATIONHANDLER__H_
11#define GUIANIMATIONHANDLER__H_
13#include "GUIComponentManager.h"
15#define GETANIMATIONHDL CGUIComponentManager::GetInstance().GetAnimationHandler()
19#ifdef GUILIANI_ANIMATION_ACTIVE
22#include "GUIAnimation.h"
23#include "eC_TList_doubleLinked.h"
30const eC_Int ANIMATIONS_FILE_VERSION = 1;
263#ifdef GUILIANI_STREAM_GUI
275#ifdef GUILIANI_WRITE_GUI
312 eC_UInt GenerateAnimationId();
318 eC_UInt GenerateAnimationChainId();
364 void RemoveAllAnimations(
CGUIObject* pkAnimatedObject);
369 void RemoveAllAnimations();
374 void RemoveAllAnimationChains();
380 eC_UInt m_uiDefaultStepTime;
Helper Macros in Guiliani
AnimationHandle_t
List of animation resource ids.
Definition: GUIAnimationResource.h:49
An AnimationChain is a combination of several independent animations.
Definition: GUIAnimationChain.h:66
The AnimationHandler is the management class for animations.
Definition: GUIAnimationHandler.h:70
eC_Bool RemoveAnimation(const AnimationHandle_t &eAnimation)
void NotifyOfDestruction(CGUIObject *pkDeletedObject)
eC_Bool WriteAnimationsToFile(const eC_String &rkPath)
void StopAllAnimationChains()
void NotifyOfDestruction(CGUIAnimation *pkAnimation)
void SetID(CGUIAnimation *pkAnimation, const eC_UInt &uiID)
void AssignNewId(CGUIAnimationChain *pkAnimationChain)
DeletionPolicy_t GetDeletionPolicy() const
void NotifyOfDestruction(CGUIAnimationChain *pkAnimationChain)
void StartAnimationChain(const eC_UInt &uiID)
CGUIAnimationChain * GetAnimationChain(eC_UInt uiID) const
static void DeleteInstance()
void SetID(CGUIAnimationChain *pkAnimationChain, const eC_UInt &uiID)
static void CreateInstance()
void SetDefaultSteptime(const eC_UInt &uiDefaultStepTime)
CGUIAnimation * GetAnimation(eC_UInt uiID) const
AnimationPtrList GetAnimationsOfObject(const CGUIObject *pkObject)
void StopAllAnimations(CGUIObject *pkAnimatedObject)
AnimationPtrList GetAnimations(const CGUIObject *pkObjToCheck) const
void NotifyOfDestruction(CGUIAnimationObserver *pkObserver)
void SetDeletionPolicy(const DeletionPolicy_t &eDeletionPolicy)
DeletionPolicy_t
Definition: GUIAnimationHandler.h:80
@ DP_STOP
stop the animation
Definition: GUIAnimationHandler.h:81
@ DP_REMOVE
remove the animation
Definition: GUIAnimationHandler.h:82
eC_TListDoubleLinked< CGUIAnimation * > AnimationPtrList
The animation pointer list is a double-linked list of animation pointers.
Definition: GUIAnimationHandler.h:86
eC_UInt GetDefaultStepTime() const
void StartAllAnimationChains()
const AnimationChainPtrList * GetAnimationChains(void) const
void AssignNewId(CGUIAnimation *pkAnimation)
eC_TListDoubleLinked< CGUIAnimationChain * > AnimationChainPtrList
The animation chain pointer list is a double-linked list of animation chain pointers.
Definition: GUIAnimationHandler.h:89
eC_Bool ReadAnimationsFromFile(const eC_String &rkPath)
void StopAnimationChain(const eC_UInt &uiID)
eC_Bool ObjHasAnimations(const CGUIObject *pkObjToCheck) const
Base class for modular Guiliani animations.
Definition: GUIAnimation.h:75
This interface is used to observe the status of an animation.
Definition: GUIAnimationObserver.h:28
central component-manager
Definition: GUIComponentManager.h:62
Loads animations and animation chains from a file and deletes all existing ones.
Definition: GUILoadAnimationsCmd.h:30
This is the Guiliani base class all controls are derived from.
Definition: GUIObject.h:79