Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
CAnimation Class Reference

#include <VisibleEffect.h>

Public Member Functions

 CAnimation ()
 
 CAnimation (const CAnimation &src)
 
virtual ~CAnimation ()
 
CAnimationoperator= (const CAnimation &src)
 
void Create (const TiXmlElement *node, const CRect &rect, int context)
 
void Animate (unsigned int time, bool startAnim)
 
void ResetAnimation ()
 
void ApplyAnimation ()
 
void RenderAnimation (TransformMatrix &matrix)
 
void RenderAnimation (TransformMatrix &matrix, const CPoint &center)
 
void QueueAnimation (ANIMATION_PROCESS process)
 
bool IsReversible () const
 
ANIMATION_TYPE GetType () const
 
ANIMATION_STATE GetState () const
 
ANIMATION_PROCESS GetProcess () const
 
ANIMATION_PROCESS GetQueuedProcess () const
 
bool CheckCondition ()
 
void UpdateCondition (const CGUIListItem *item=NULL)
 
void SetInitialCondition ()
 

Static Public Member Functions

static CAnimation CreateFader (float start, float end, unsigned int delay, unsigned int length, ANIMATION_TYPE type=ANIM_TYPE_NONE)
 

Constructor & Destructor Documentation

◆ CAnimation() [1/2]

CAnimation::CAnimation ( )

◆ CAnimation() [2/2]

CAnimation::CAnimation ( const CAnimation & src)

◆ ~CAnimation()

CAnimation::~CAnimation ( )
virtual

Member Function Documentation

◆ Animate()

void CAnimation::Animate ( unsigned int time,
bool startAnim )

◆ ApplyAnimation()

void CAnimation::ApplyAnimation ( )

◆ CheckCondition()

bool CAnimation::CheckCondition ( )

◆ Create()

void CAnimation::Create ( const TiXmlElement * node,
const CRect & rect,
int context )

◆ CreateFader()

CAnimation CAnimation::CreateFader ( float start,
float end,
unsigned int delay,
unsigned int length,
ANIMATION_TYPE type = ANIM_TYPE_NONE )
static

◆ GetProcess()

ANIMATION_PROCESS CAnimation::GetProcess ( ) const
inline

◆ GetQueuedProcess()

ANIMATION_PROCESS CAnimation::GetQueuedProcess ( ) const
inline

◆ GetState()

ANIMATION_STATE CAnimation::GetState ( ) const
inline

◆ GetType()

ANIMATION_TYPE CAnimation::GetType ( ) const
inline

◆ IsReversible()

bool CAnimation::IsReversible ( ) const
inline

◆ operator=()

CAnimation & CAnimation::operator= ( const CAnimation & src)

◆ QueueAnimation()

void CAnimation::QueueAnimation ( ANIMATION_PROCESS process)

◆ RenderAnimation() [1/2]

void CAnimation::RenderAnimation ( TransformMatrix & matrix)
inline

◆ RenderAnimation() [2/2]

void CAnimation::RenderAnimation ( TransformMatrix & matrix,
const CPoint & center )

◆ ResetAnimation()

void CAnimation::ResetAnimation ( )

◆ SetInitialCondition()

void CAnimation::SetInitialCondition ( )

◆ UpdateCondition()

void CAnimation::UpdateCondition ( const CGUIListItem * item = NULL)

The documentation for this class was generated from the following files: