|
virtual LPCWSTR WINAPI | GetObjectClass () const |
|
virtual BOOL WINAPI | IsClass (LPCWSTR lpszName) const |
|
virtual HRESULT | SetAttribute (const SNS::SStringW &strAttribName, const SNS::SStringW &strValue, BOOL bLoading=FALSE) |
| Attributes for SAlphaAnimation.
|
|
| SAlphaAnimation () |
| Default constructor.
|
|
void | init (float fromAlpha=0.0f, float toAlpha=0.0f) |
| Initializes the alpha animation with specified start and end alpha values.
|
|
BOOL | hasAlpha () |
| Checks if the animation affects the alpha property.
|
|
| SAnimation () |
| Default constructor for SAnimation.
|
|
| ~SAnimation () |
| Destructor for SAnimation.
|
|
IAnimation * | clone () SCONST OVERRIDE |
| Creates a new animation with a duration of 0ms, the default interpolator, with fillBefore set to true and fillAfter set to false.
|
|
void | copy (const IAnimation *src) OVERRIDE |
| Copies the properties of another animation to this animation.
|
|
void | reset () OVERRIDE |
| Resets the animation to its initial state.
|
|
void | cancel () OVERRIDE |
| Cancels the animation.
|
|
void | setInterpolator (IInterpolator *i) OVERRIDE |
| Sets the interpolator used by the animation to smooth the movement.
|
|
void | setDuration (long durationMillis) OVERRIDE |
| Sets the duration of one animation cycle in milliseconds.
|
|
void | scaleCurrentDuration (float scale) OVERRIDE |
| Scales the current duration of the animation.
|
|
void | setFillBefore (BOOL bFill) OVERRIDE |
| Sets whether the animation transformation should be applied before the animation starts.
|
|
void | setFillAfter (BOOL bFill) OVERRIDE |
| Sets whether the animation transformation should be applied after the animation ends.
|
|
BOOL | getFillBefore () SCONST OVERRIDE |
| Gets whether the animation transformation should be applied before the animation starts.
|
|
BOOL | getFillAfter () SCONST OVERRIDE |
| Gets whether the animation transformation should be applied after the animation ends.
|
|
void | setStartOffset (long offset) OVERRIDE |
| Sets the delay in milliseconds after which the animation must start.
|
|
BOOL | isFillEnabled () SCONST OVERRIDE |
| Checks whether fillBefore should be taken into account.
|
|
void | setFillEnabled (BOOL fillEnabled) OVERRIDE |
| Sets whether fillBefore should be taken into account.
|
|
void | setStartTime (int64_t startTimeMillis) OVERRIDE |
| Sets the start time of the animation.
|
|
void | start () OVERRIDE |
| Starts the animation.
|
|
void | startNow () OVERRIDE |
| Starts the animation immediately.
|
|
void | setRepeatMode (RepeatMode repeatMode) OVERRIDE |
| Sets the repeat mode of the animation.
|
|
void | setRepeatCount (int repeatCount) OVERRIDE |
| Sets the number of times the animation must repeat.
|
|
void | setZAdjustment (ZAdjustment zAdjustment) OVERRIDE |
| Sets the desired Z order mode during animation.
|
|
IInterpolator * | getInterpolator () SCONST OVERRIDE |
| Gets the interpolator used by the animation.
|
|
int64_t | getStartTime () SCONST OVERRIDE |
| Gets the start time of the animation.
|
|
long | getDuration () SCONST OVERRIDE |
| Gets the duration of one animation cycle.
|
|
long | getStartOffset () SCONST OVERRIDE |
| Gets the delay in milliseconds after which the animation must start.
|
|
RepeatMode | getRepeatMode () SCONST OVERRIDE |
| Gets the repeat mode of the animation.
|
|
int | getRepeatCount () SCONST OVERRIDE |
| Gets the number of times the animation must repeat.
|
|
ZAdjustment | getZAdjustment () SCONST OVERRIDE |
| Gets the desired Z order mode during animation.
|
|
void | setAnimationListener (IAnimationListener *listener) OVERRIDE |
| Sets the animation listener to be notified when the animation starts, ends, or repeats.
|
|
long | computeDurationHint () SCONST OVERRIDE |
| Computes the duration hint for the animation.
|
|
BOOL | getTransformation2 (uint64_t currentTime, ITransformation *outTransformation, float scale) OVERRIDE |
| Gets the transformation at a specific time.
|
|
BOOL | getTransformation (uint64_t currentTime, ITransformation *outTransformation) OVERRIDE |
| Gets the transformation at a specific time.
|
|
BOOL | hasStarted () SCONST OVERRIDE |
| Checks whether the animation has started.
|
|
BOOL | hasEnded () SCONST OVERRIDE |
| Checks whether the animation has ended.
|
|
void | applyTransformation (float interpolatedTime, ITransformation *t) OVERRIDE |
| Applies the transformation at a specific interpolated time.
|
|
BOOL | hasAlpha () SCONST OVERRIDE |
| Checks whether the animation affects the alpha property.
|
|
void | initialize (int width, int height, int parentWidth, int parentHeight, int nScale) OVERRIDE |
| Initializes the animation with the dimensions of the object and its parent.
|
|
void | setUserData (ULONG_PTR data) OVERRIDE |
| Sets user data associated with the animation.
|
|
ULONG_PTR | getUserData () SCONST OVERRIDE |
| Gets user data associated with the animation.
|
|
void | pause () OVERRIDE |
| Pauses the animation.
|
|
void | resume () OVERRIDE |
| Resumes the animation.
|
|
| TObjRefImpl () |
| Constructor that initializes the reference count to 1.
|
|
virtual | ~TObjRefImpl () |
| Virtual destructor.
|
|
long | AddRef () override |
| Increments the reference count.
|
|
long | Release () override |
| Decrements the reference count and deletes the object if the count reaches zero.
|
|
void | OnFinalRelease () override |
| Deletes the object.
|
|
| SObjectImpl () |
| Constructor.
|
|
BOOL | InitFromXml (IXmlNode *pXmlNode) OVERRIDE |
| Initializes the object from an XML node.
|
|
LPCWSTR | GetName () SCONST OVERRIDE |
| Retrieves the object's name.
|
|
LPCSTR | GetNameA () SCONST OVERRIDE |
| Retrieves the object's name in ANSI format.
|
|
void | SetName (LPCWSTR pszName) OVERRIDE |
| Sets the object's name.
|
|
int | GetID () SCONST OVERRIDE |
| Retrieves the object's ID.
|
|
void | SetID (int nID) OVERRIDE |
| Sets the object's ID.
|
|
HRESULT | AfterAttribute (LPCWSTR strAttribName, LPCWSTR strValue, BOOL bLoading, HRESULT hr) OVERRIDE |
| Handles attribute processing after setting an attribute.
|
|
HRESULT | SetAttributeA (LPCSTR pszAttr, LPCSTR pszValue, BOOL bLoading) OVERRIDE |
| Sets an attribute using ANSI strings.
|
|
HRESULT | SetAttribute (LPCWSTR pszAttr, LPCWSTR pszValue, BOOL bLoading) OVERRIDE |
| Sets an attribute using wide strings.
|
|
virtual HRESULT | SetAttribute (const SStringW &strAttr, const SStringW &strValue, BOOL bLoading) |
| Sets an attribute using wide strings.
|
|
HRESULT | ISetAttribute (const IStringW *strAttr, const IStringW *strValue, BOOL bLoading) OVERRIDE |
| Sets an attribute using IStringW objects.
|
|
LPCWSTR | GetObjectClass () SCONST OVERRIDE |
| Retrieves the object's class name.
|
|
int | GetObjectType () SCONST OVERRIDE |
| Retrieves the object's type.
|
|
BOOL | IsClass (LPCWSTR lpszName) SCONST OVERRIDE |
| Checks if the object is of a specific class.
|
|
BOOL | GetAttribute (LPCWSTR strAttr, IStringW *pValue) SCONST OVERRIDE |
| Retrieves an attribute value.
|
|
void | OnInitFinished (IXmlNode *xmlNode) OVERRIDE |
| Handles initialization completion.
|
|
void | SetAttrHandler (FunAttrHandler attrHandler) OVERRIDE |
| Sets the attribute handler.
|
|
virtual HRESULT | DefAttributeProc (const SStringW &strAttr, const SStringW &strValue, BOOL bLoading) |
| Default attribute processing.
|
|
An animation that controls the alpha level of an object.
Useful for fading things in and out. This animation ends up changing the alpha property of a STransformation
.
Definition at line 14 of file SAlphaAnimation.h.