|
| SViewSwitchAnimator (SStackView *pOwner) |
| Constructor for SViewSwitchAnimator.
|
|
IValueAnimator * | clone () SCONST OVERRIDE |
| Clones the animator.
|
|
void | onEvaluateValue (float fraction) OVERRIDE |
| Evaluates the value at a given fraction.
|
|
void | start (ITimelineHandlersMgr *pTimerlineMgr) OVERRIDE |
| Starts the animation.
|
|
void | SetFrom (int iChild) |
| Sets the starting child index.
|
|
int | GetFrom () const |
| Gets the starting child index.
|
|
void | SetTo (int iChild) |
| Sets the ending child index.
|
|
int | GetTo () const |
| Gets the ending child index.
|
|
void | OnOwnerResize () |
| Handles owner resize.
|
|
void | SetOwnerSizeRange (SIZE szFrom, SIZE szTo) |
| Sets the owner size range.
|
|
BOOL | IsOwnerResize () const |
| Checks if owner resize is enabled.
|
|
void | DisableOwnerResize () |
| Disables owner resize.
|
|
SIZE | GetOwnerSize () const |
| Gets the owner size.
|
|
StackViewAniStyle | GetAniStyle () const |
| Gets the animation style.
|
|
| TValueAnimator (float from, float to) |
| Constructor.
|
|
float | getValue () const |
| Gets the current animated value.
|
|
void | setRange (float from, float to) |
| Sets the range of the animation.
|
|
void | copy (const IValueAnimator *pSrc) OVERRIDE |
| Copies the properties of another animation to this animation.
|
|
virtual HRESULT | SetAttribute (const SNS::SStringW &strAttribName, const SNS::SStringW &strValue, BOOL bLoading=FALSE) |
| Defines the attributes for TValueAnimator.
|
|
| SValueAnimator () |
| Creates a new SValueAnimator object.
|
|
| ~SValueAnimator () |
| Destructor.
|
|
void | setDuration (long duration) OVERRIDE |
| Sets the length of the animation.
|
|
long | getDuration () SCONST OVERRIDE |
| Gets the length of the animation.
|
|
long | getTotalDuration () SCONST OVERRIDE |
| Gets the total duration of the animation, including any repetitions.
|
|
void | setCurrentPlayTime (long playTime) OVERRIDE |
| Sets the position of the animation to the specified point in time.
|
|
void | setCurrentFraction (float fraction) OVERRIDE |
| Sets the position of the animation to the specified fraction.
|
|
long | getCurrentPlayTime () OVERRIDE |
| Gets the current position of the animation in time.
|
|
long | getStartDelay () SCONST OVERRIDE |
| Gets the amount of time, in milliseconds, to delay starting the animation after start() is called.
|
|
void | setStartDelay (long startDelay) OVERRIDE |
| Sets the amount of time, in milliseconds, to delay starting the animation after start() is called.
|
|
void | setRepeatCount (int value) OVERRIDE |
| Sets how many times the animation should be repeated.
|
|
int | getRepeatCount () SCONST OVERRIDE |
| Defines how many times the animation should repeat.
|
|
void | setRepeatMode (RepeatMode value) OVERRIDE |
| Defines what this animation should do when it reaches the end.
|
|
RepeatMode | getRepeatMode () SCONST OVERRIDE |
| Defines what this animation should do when it reaches the end.
|
|
void | addUpdateListener (IAnimatorUpdateListener *listener) OVERRIDE |
| Adds a listener to the set of listeners that are sent update events through the life of an animation.
|
|
void | removeAllUpdateListeners () OVERRIDE |
| Removes all listeners from the set listening to frame updates for this animation.
|
|
void | removeUpdateListener (IAnimatorUpdateListener *listener) OVERRIDE |
| Removes a listener from the set listening to frame updates for this animation.
|
|
void | setInterpolator (IInterpolator *value) OVERRIDE |
| Sets the time interpolator used in calculating the elapsed fraction of this animation.
|
|
IInterpolator * | getInterpolator () SCONST OVERRIDE |
| Returns the timing interpolator that this SValueAnimator uses.
|
|
void | addListener (IAnimatorListener *p) OVERRIDE |
| Adds an animator listener.
|
|
void | removeListener (IAnimatorListener *p) OVERRIDE |
| Removes an animator listener.
|
|
void | start (ITimelineHandlersMgr *pContainer) OVERRIDE |
| Starts the animation playing.
|
|
void | end () OVERRIDE |
| Ends the animation.
|
|
BOOL | isRunning () SCONST OVERRIDE |
| Checks if the animation is running.
|
|
BOOL | isStarted () SCONST OVERRIDE |
| Checks if the animation has been started.
|
|
void | reverse () OVERRIDE |
| Plays the SValueAnimator in reverse.
|
|
IValueAnimator * | clone () SCONST OVERRIDE |
| Creates a clone of the current animation.
|
|
void | copy (const IValueAnimator *pSrc) OVERRIDE |
| Copies the properties of another animation to this animation.
|
|
void | commitAnimationFrame (long frameTime) OVERRIDE |
| Applies an adjustment to the animation to compensate for jank between when the animation first ran and when the frame was drawn.
|
|
float | getAnimatedFraction () SCONST OVERRIDE |
| Returns the current animation fraction.
|
|
void | OnNextFrame () OVERRIDE |
| Handles the next frame of 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.
|
|
Animator for switching views in SStackView.
This class handles the animation when switching between views in an SStackView.
Definition at line 29 of file SStackView.h.