29 #ifndef _CEGUIAffector_h_
30 #define _CEGUIAffector_h_
32 #include "CEGUI/String.h"
33 #include "CEGUI/KeyFrame.h"
37 # pragma warning(push)
38 # pragma warning(disable : 4251)
99 size_t getIdxInParent()
const;
109 void setApplicationMethod(ApplicationMethod method);
118 ApplicationMethod getApplicationMethod()
const;
124 void setTargetProperty(
const String& target);
130 const String& getTargetProperty()
const;
148 void setInterpolator(
const String& name);
160 KeyFrame* createKeyFrame(
float position);
172 const String& sourceProperty =
"");
178 void destroyKeyFrame(
KeyFrame* keyframe);
184 KeyFrame* getKeyFrameAtPosition(
float position)
const;
190 bool hasKeyFrameAtPosition(
float position)
const;
196 KeyFrame* getKeyFrameAtIdx(
size_t index)
const;
202 size_t getNumKeyFrames()
const;
208 void moveKeyFrameToPosition(
KeyFrame* keyframe,
float newPosition);
214 void moveKeyFrameToPosition(
float oldPosition,
float newPosition);
254 ApplicationMethod d_applicationMethod;
260 typedef std::map<float, KeyFrame*, std::less<float>
261 CEGUI_MAP_ALLOC(
float,
KeyFrame*)> KeyFrameMap;
265 KeyFrameMap d_keyFrames;
270 #if defined(_MSC_VER)
271 # pragma warning(pop)
274 #endif // end of guard _CEGUIAffector_h_
applies values as absolutes
Definition: Affector.h:62
Progression
Definition: KeyFrame.h:56
Definition: Affector.h:67
Definition: MemoryAllocatedObject.h:109
Defines a 'key frame' class.
Definition: KeyFrame.h:49
Main namespace for Crazy Eddie's GUI Library.
Definition: arch_overview.dox:1
Defines an 'animation' class.
Definition: Animation.h:64
Animation * getParent() const
Retrieves the parent animation of this keyframe.
Definition: Affector.h:87
Defines an 'affector' class.
Definition: Affector.h:55
ApplicationMethod
enumerates the possible methods of application
Definition: Affector.h:59
Class used to create XML Document.
Definition: XMLSerializer.h:85
Defines a 'interpolator' class.
Definition: Interpolator.h:53
linear progression
Definition: KeyFrame.h:59
Defines an 'animation instance' class.
Definition: AnimationInstance.h:73
String class used within the GUI system.
Definition: String.h:62