30 #ifndef _CEGUIAffector_h_
31 #define _CEGUIAffector_h_
33 #include "CEGUIString.h"
34 #include "CEGUIKeyFrame.h"
38 # pragma warning(push)
39 # pragma warning(disable : 4251)
92 void setApplicationMethod(ApplicationMethod method);
101 ApplicationMethod getApplicationMethod()
const;
107 void setTargetProperty(
const String& target);
113 const String& getTargetProperty()
const;
131 void setInterpolator(
const String& name);
143 KeyFrame* createKeyFrame(
float position);
155 const String& sourceProperty =
"");
161 void destroyKeyFrame(
KeyFrame* keyframe);
167 KeyFrame* getKeyFrameAtPosition(
float position)
const;
173 KeyFrame* getKeyFrameAtIdx(
size_t index)
const;
179 size_t getNumKeyFrames()
const;
185 void moveKeyFrameToPosition(
KeyFrame* keyframe,
float newPosition);
191 void moveKeyFrameToPosition(
float oldPosition,
float newPosition);
222 ApplicationMethod d_applicationMethod;
228 typedef std::map<float, KeyFrame*> KeyFrameMap;
232 KeyFrameMap d_keyFrames;
237 #if defined(_MSC_VER)
238 # pragma warning(pop)
241 #endif // end of guard _CEGUIAffector_h_