![]() |
Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Protected Member Functions | |
| void | SCR_FadeInOutAnimator (Widget w, float fadeInSpeed, float fadeOutSpeed, float fadeOutWaitTime, bool fadeOutSetVisibleFalse=false) |
| void | Update (float timeSlice) |
| void | FadeIn (bool fadeOut=true) |
| void | FadeOut () |
| void | FadeOutInstantly () |
| void | ForceVisible (bool force) |
| int | GetState () |
| Returns state. See STATE_ constants. | |
| bool | IsRunning () |
| Returns TRUE if animation is running. | |
| ScriptInvoker | GetOnStateChanged () |
Protected Attributes | |
| Widget | m_Widget |
| int | m_iState |
| float | m_fFadeOutWaitTime |
| float | m_fFadeInSpeed |
| float | m_fFadeOutSpeed |
| bool | m_bForceVisible |
| float | m_fTimer |
| bool | m_bFadeOutSetVisibleFalse |
| bool | m_bAutoFadeOut |
| const int | STATE_FADE_IN = 0 |
| const int | STATE_FADE_OUT_WAIT = 1 |
| const int | STATE_FADE_OUT = 2 |
| const int | STATE_FADING_DONE = 3 |
| ref ScriptInvoker< int, int > | m_OnStateChanged |
This class helps with managing fade in and fade out animations properly: You can call FadeIn() once and it will fade in Then it will stay for a fixed amount of time in this state Later it will start the fade out animation and stay in this state Or you can call ForceVisible(true/false) periodically and it will handle the transitions itself ! Remember to call Update() yourself ! It won't get called automatically.
Definition at line 8 of file SCR_FadeInOutAnimator.c.
|
inlineprotected |
Definition at line 32 of file SCR_FadeInOutAnimator.c.
Definition at line 133 of file SCR_FadeInOutAnimator.c.
|
inlineprotected |
Definition at line 143 of file SCR_FadeInOutAnimator.c.
|
inlineprotected |
Definition at line 152 of file SCR_FadeInOutAnimator.c.
|
inlineprotected |
Definition at line 163 of file SCR_FadeInOutAnimator.c.
|
inlineprotected |
Definition at line 182 of file SCR_FadeInOutAnimator.c.
|
inlineprotected |
Returns state. See STATE_ constants.
Definition at line 170 of file SCR_FadeInOutAnimator.c.
|
inlineprotected |
Returns TRUE if animation is running.
Definition at line 177 of file SCR_FadeInOutAnimator.c.
|
inlineprotected |
Definition at line 46 of file SCR_FadeInOutAnimator.c.
|
protected |
Definition at line 20 of file SCR_FadeInOutAnimator.c.
|
protected |
Definition at line 19 of file SCR_FadeInOutAnimator.c.
|
protected |
Definition at line 17 of file SCR_FadeInOutAnimator.c.
|
protected |
Definition at line 15 of file SCR_FadeInOutAnimator.c.
|
protected |
Definition at line 16 of file SCR_FadeInOutAnimator.c.
|
protected |
Definition at line 14 of file SCR_FadeInOutAnimator.c.
|
protected |
Definition at line 18 of file SCR_FadeInOutAnimator.c.
|
protected |
Definition at line 12 of file SCR_FadeInOutAnimator.c.
|
protected |
Definition at line 29 of file SCR_FadeInOutAnimator.c.
|
protected |
Definition at line 11 of file SCR_FadeInOutAnimator.c.
|
protected |
Definition at line 23 of file SCR_FadeInOutAnimator.c.
|
protected |
Definition at line 25 of file SCR_FadeInOutAnimator.c.
|
protected |
Definition at line 24 of file SCR_FadeInOutAnimator.c.
|
protected |
Definition at line 26 of file SCR_FadeInOutAnimator.c.