NERvDN Library  0.2.0.20160420-0019
NERvLibrary - Nerve Gear Developer Network
NERvGear::UI::Animate Class Referenceabstract

Base class of animation. More...

#include <NERvGear/animate.h>

Inheritance diagram for NERvGear::UI::Animate:
NERvGear::UnknownImpl NERvGear::IUnknown NERvGear::UI::AnimateT< I, O, A, T >

Detailed Description

Base class of animation.

Public Types

enum  STATE { STOP, WAIT, PLAY }
 

Public Member Functions

unsigned long GetEnding () const
 
unsigned long GetDuration () const
 
unsigned long GetDelay () const
 
bool GetLoop () const
 
STATE GetState () const
 
void SetDuration (unsigned long msDuration)
 
void SetDelay (unsigned long msDelay)
 
void SetLoop (bool loop=true)
 
void SetState (STATE state)
 
virtual void *__stdcall GetObject () const =0
 
virtual ANIMATE::TYPE __stdcall GetAnimateType () const =0
 
virtual void __stdcall OnStart (unsigned long ms)=0
 
virtual void __stdcall OnFrame (unsigned long ms)=0
 
virtual void __stdcall OnStop (unsigned long ms)=0
 
 Animate (unsigned long msDuration, unsigned long msDelay, bool loop)
 
- Public Member Functions inherited from NERvGear::UnknownImpl
virtual unsigned long __stdcall AddRef ()
 
virtual unsigned long __stdcall Release ()
 
virtual long __stdcall QueryInterface (const UID &interfaceID, void **ppvObject)
 

Protected Attributes

unsigned long m_duration
 
unsigned long m_delay
 
bool m_loop
 
STATE m_state