30 #ifndef _CEGUIAnimationInstance_h_
31 #define _CEGUIAnimationInstance_h_
33 #include "CEGUIEventArgs.h"
34 #include "CEGUIEvent.h"
39 # pragma warning(push)
40 # pragma warning(disable : 4251)
127 void setEventReceiver(
EventSet* receiver);
141 void setEventSender(
EventSet* sender);
154 void setTargetWindow(
Window* target);
161 void setPosition(
float position);
167 float getPosition()
const;
174 void setSpeed(
float speed);
180 float getSpeed()
const;
220 bool isRunning()
const;
226 void step(
float delta);
262 void savePropertyValue(
const String& propertyName);
267 void purgeSavedPropertyValues(
void);
272 const String& getSavedPropertyValue(
const String& propertyName);
290 void unsubscribeAutoConnections();
297 void onAnimationStarted();
299 void onAnimationStopped();
301 void onAnimationPaused();
303 void onAnimationUnpaused();
306 void onAnimationEnded();
308 void onAnimationLooped();
330 bool d_bounceBackwards;
334 typedef std::map<String, String> PropertyValueMap;
338 PropertyValueMap d_savedPropertyValues;
340 typedef std::vector<Event::Connection> ConnectionTracker;
342 ConnectionTracker d_autoConnections;
347 #if defined(_MSC_VER)
348 # pragma warning(pop)
351 #endif // end of guard _CEGUIAnimationInstance_h_