29 #ifndef _CEGUIAnimation_h_
30 #define _CEGUIAnimation_h_
32 #include "CEGUI/String.h"
37 # pragma warning(push)
38 # pragma warning(disable : 4251)
92 const String& getName()
const;
98 void setReplayMode(ReplayMode mode);
104 ReplayMode getReplayMode()
const;
110 void setDuration(
float duration);
116 float getDuration()
const;
126 void setAutoStart(
bool autoStart);
135 bool getAutoStart()
const;
154 const String& interpolator);
160 void destroyAffector(
Affector* affector);
166 Affector* getAffectorAtIdx(
size_t index)
const;
172 size_t getNumAffectors(
void)
const;
199 void defineAutoSubscription(
const String& eventName,
const String& action);
208 void undefineAutoSubscription(
const String& eventName,
218 void undefineAllAutoSubscriptions();
278 ReplayMode d_replayMode;
287 CEGUI_VECTOR_ALLOC(
Affector*)> AffectorList;
289 AffectorList d_affectors;
291 typedef std::multimap<String, String, std::less<String>
297 SubscriptionMap d_autoSubscriptions;
302 #if defined(_MSC_VER)
303 # pragma warning(pop)
306 #endif // end of guard _CEGUIAnimation_h_
plays the animation just once, then stops
Definition: Animation.h:71
Definition: MemoryAllocatedObject.h:109
Main namespace for Crazy Eddie's GUI Library.
Definition: arch_overview.dox:1
Defines an 'animation' class.
Definition: Animation.h:64
Defines an 'affector' class.
Definition: Affector.h:55
ReplayMode
enumerates possible replay modes
Definition: Animation.h:68
Class used to create XML Document.
Definition: XMLSerializer.h:85
Defines an 'animation instance' class.
Definition: AnimationInstance.h:73
loops the animation infinitely
Definition: Animation.h:73
String class used within the GUI system.
Definition: String.h:62