Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_InputButtonAnimations.c
Go to the documentation of this file.
2{
3 //------------------------------------------------------------------------------------------------
4 static SCR_InputButtonAlphaMaskAnimation ButtonAlphaMask(Widget w, float targetValue, float speed, bool resetOnComplete = false)
5 {
7 return null;
8
9 SCR_InputButtonAlphaMaskAnimation anim = new SCR_InputButtonAlphaMaskAnimation(w, speed, targetValue, resetOnComplete);
10 s_Instance.m_aAnimations.Insert(anim);
11 return anim;
12 }
13
14 //------------------------------------------------------------------------------------------------
15 static SCR_InputButtonColorAnimation ButtonColor(Widget widget, Color color, float speed)
16 {
18 return null;
19
20 SCR_InputButtonColorAnimation anim = new SCR_InputButtonColorAnimation(widget, speed, color);
21 s_Instance.m_aAnimations.Insert(anim);
22 return anim;
23 }
24}
static AnimateWidget s_Instance
static bool PrepareAnimation(Widget w, float speed, typename typeName)
Make sure that animation can be played, and animator is ready to run it.
static WidgetAnimationColor Color(Widget widget, Color color, float speed)