Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_InputButtonAnimations.c
Go to the documentation of this file.
1 class SCR_InputButtonAnimations : AnimateWidget
2 {
3  //------------------------------------------------------------------------------------------------
4  static SCR_InputButtonAlphaMaskAnimation ButtonAlphaMask(Widget w, float targetValue, float speed, bool resetOnComplete = false)
5  {
6  if (!PrepareAnimation(w, speed, SCR_InputButtonAlphaMaskAnimation))
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  {
17  if (!PrepareAnimation(widget, speed, SCR_InputButtonColorAnimation))
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 }
SCR_InputButtonColorAnimation
Definition: SCR_InputButtonColorAnimation.c:1
s_Instance
SCR_SpawnerSlotManagerClass s_Instance
Class used for managing changes and removals of slots present in world.
SCR_InputButtonAlphaMaskAnimation
Definition: SCR_InputButtonAlphaMaskAnimation.c:1
SCR_InputButtonAnimations
Definition: SCR_InputButtonAnimations.c:1