Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
AnimateWidget Class Reference
Inheritance diagram for AnimateWidget:
SCR_InputButtonAnimations

Protected Member Functions

void UpdateAnimations (float timeSlice)
void AnimateWidget ()

Static Protected Member Functions

static sealed AnimateWidget GetInstance ()
static bool StopAnimation (Widget w, typename typeName)
static bool StopAnimation (WidgetAnimationBase anim)
static void StopAllAnimations (Widget w)
static bool IsAnimating (Widget w)
static bool IsAnimatingType (Widget w, typename type)
static WidgetAnimationBase GetAnimation (Widget w, typename type)
static bool IsActive ()
 Is.
static bool AddAnimation (notnull WidgetAnimationBase animation)
static WidgetAnimationBlurIntensity BlurIntensity (Widget widget, float targetValue, float speed)
static WidgetAnimationOpacity Opacity (Widget widget, float targetValue, float speed, bool toggleVisibility=false)
static WidgetAnimationImageSaturation Saturation (Widget widget, float targetValue, float speed)
static WidgetAnimationAlphaMask AlphaMask (Widget widget, float targetValue, float speed)
static WidgetAnimationColor Color (Widget widget, Color color, float speed)
static WidgetAnimationFrameSize Size (Widget widget, float size[2], float speed)
static WidgetAnimationPosition Position (Widget widget, float position[2], float speed)
static WidgetAnimationPadding Padding (Widget widget, float padding[4], float speed)
static WidgetAnimationLayoutFill LayoutFill (Widget widget, float targetValue, float speed)
static WidgetAnimationImageRotation Rotation (Widget widget, float targetValue, float speed)
static WidgetAnimationValue Value (float defaultValue, float targetValue, float speed)
static bool PrepareAnimation (Widget w, float speed, typename typeName)
 Make sure that animation can be played, and animator is ready to run it.

Protected Attributes

ref array< ref WidgetAnimationBasem_aAnimations = {}
ref ScriptInvoker m_OnAnimatingStarted = new ScriptInvoker()
ref ScriptInvoker m_OnAnimatingCompleted = new ScriptInvoker()

Static Protected Attributes

static AnimateWidget s_Instance

Detailed Description

Definition at line 2 of file AnimateWidget.c.

Constructor & Destructor Documentation

◆ AnimateWidget()

void AnimateWidget::AnimateWidget ( )
inlineprotected

Definition at line 340 of file AnimateWidget.c.

Member Function Documentation

◆ AddAnimation()

bool AnimateWidget::AddAnimation ( notnull WidgetAnimationBase animation)
inlinestaticprotected

Definition at line 141 of file AnimateWidget.c.

◆ AlphaMask()

WidgetAnimationAlphaMask AnimateWidget::AlphaMask ( Widget widget,
float targetValue,
float speed )
inlinestaticprotected

Definition at line 189 of file AnimateWidget.c.

◆ BlurIntensity()

WidgetAnimationBlurIntensity AnimateWidget::BlurIntensity ( Widget widget,
float targetValue,
float speed )
inlinestaticprotected

Definition at line 156 of file AnimateWidget.c.

◆ Color()

WidgetAnimationColor AnimateWidget::Color ( Widget widget,
Color color,
float speed )
inlinestaticprotected

Definition at line 200 of file AnimateWidget.c.

◆ GetAnimation()

WidgetAnimationBase AnimateWidget::GetAnimation ( Widget w,
typename type  )
inlinestaticprotected

Definition at line 116 of file AnimateWidget.c.

◆ GetInstance()

sealed AnimateWidget AnimateWidget::GetInstance ( )
inlinestaticprotected

Definition at line 17 of file AnimateWidget.c.

◆ IsActive()

bool AnimateWidget::IsActive ( )
inlinestaticprotected

Is.

Definition at line 132 of file AnimateWidget.c.

◆ IsAnimating()

bool AnimateWidget::IsAnimating ( Widget w)
inlinestaticprotected

Definition at line 86 of file AnimateWidget.c.

◆ IsAnimatingType()

bool AnimateWidget::IsAnimatingType ( Widget w,
typename type  )
inlinestaticprotected

Definition at line 101 of file AnimateWidget.c.

◆ LayoutFill()

WidgetAnimationLayoutFill AnimateWidget::LayoutFill ( Widget widget,
float targetValue,
float speed )
inlinestaticprotected

Definition at line 246 of file AnimateWidget.c.

◆ Opacity()

WidgetAnimationOpacity AnimateWidget::Opacity ( Widget widget,
float targetValue,
float speed,
bool toggleVisibility = false )
inlinestaticprotected

Definition at line 167 of file AnimateWidget.c.

◆ Padding()

WidgetAnimationPadding AnimateWidget::Padding ( Widget widget,
float padding[4],
float speed )
inlinestaticprotected

Definition at line 235 of file AnimateWidget.c.

◆ Position()

WidgetAnimationPosition AnimateWidget::Position ( Widget widget,
float position[2],
float speed )
inlinestaticprotected

Definition at line 224 of file AnimateWidget.c.

◆ PrepareAnimation()

bool AnimateWidget::PrepareAnimation ( Widget w,
float speed,
typename typeName  )
inlinestaticprotected

Make sure that animation can be played, and animator is ready to run it.

Definition at line 280 of file AnimateWidget.c.

◆ Rotation()

WidgetAnimationImageRotation AnimateWidget::Rotation ( Widget widget,
float targetValue,
float speed )
inlinestaticprotected

Definition at line 257 of file AnimateWidget.c.

◆ Saturation()

WidgetAnimationImageSaturation AnimateWidget::Saturation ( Widget widget,
float targetValue,
float speed )
inlinestaticprotected

Definition at line 178 of file AnimateWidget.c.

◆ Size()

WidgetAnimationFrameSize AnimateWidget::Size ( Widget widget,
float size[2],
float speed )
inlinestaticprotected

Definition at line 213 of file AnimateWidget.c.

◆ StopAllAnimations()

void AnimateWidget::StopAllAnimations ( Widget w)
inlinestaticprotected

Stop all animation on given widget.

Parameters
wTarget widget

Definition at line 73 of file AnimateWidget.c.

◆ StopAnimation() [1/2]

bool AnimateWidget::StopAnimation ( Widget w,
typename typeName  )
inlinestaticprotected

Stop either all animations on the widget, or an animation of a specific type

Definition at line 26 of file AnimateWidget.c.

◆ StopAnimation() [2/2]

bool AnimateWidget::StopAnimation ( WidgetAnimationBase anim)
inlinestaticprotected

Stop animation

Parameters
animAnimation class
Returns
True if the animation was removed

Definition at line 55 of file AnimateWidget.c.

◆ UpdateAnimations()

void AnimateWidget::UpdateAnimations ( float timeSlice)
inlineprotected

Definition at line 324 of file AnimateWidget.c.

◆ Value()

WidgetAnimationValue AnimateWidget::Value ( float defaultValue,
float targetValue,
float speed )
inlinestaticprotected

Definition at line 268 of file AnimateWidget.c.

Member Data Documentation

◆ m_aAnimations

ref array<ref WidgetAnimationBase> AnimateWidget::m_aAnimations = {}
protected

Definition at line 7 of file AnimateWidget.c.

◆ m_OnAnimatingCompleted

ref ScriptInvoker AnimateWidget::m_OnAnimatingCompleted = new ScriptInvoker()
protected

Definition at line 14 of file AnimateWidget.c.

◆ m_OnAnimatingStarted

ref ScriptInvoker AnimateWidget::m_OnAnimatingStarted = new ScriptInvoker()
protected

Definition at line 13 of file AnimateWidget.c.

◆ s_Instance

AnimateWidget AnimateWidget::s_Instance
staticprotected

Definition at line 11 of file AnimateWidget.c.


The documentation for this class was generated from the following file: