Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_WLibComponentBase Class Reference

Base class for all final Reforger interactive elements. More...

Inheritance diagram for SCR_WLibComponentBase:
SCR_ScriptedWidgetComponent SCR_AddonLinePresetComponent SCR_ButtonBaseComponent SCR_ButtonLegendComponent SCR_ButtonSpecializationProgressComponent SCR_ChangeableComponentBase SCR_ImageGalleryButtonComponent SCR_LoadingCircleComponent SCR_ScrollBarComponent SCR_ScrollBarHandleComponent SCR_ServerDetailEntryComponent SCR_SpinBoxPagingComponent SCR_WidgetHintComponent

Protected Member Functions

override void HandlerAttached (Widget w)
override bool OnClick (Widget w, int x, int y, int button)
override bool OnMouseEnter (Widget w, int x, int y)
override bool OnFocus (Widget w, int x, int y)
void OnEnabled (bool animate)
void OnDisabled (bool animate)
bool IsChildWidget (Widget parent, Widget child)
void SetAnimationRate ()
void PlaySound (string sound)
void SetHoverSound (string soundHover)
void SetClickedSound (string soundClicked)
string GetHoverSound ()
string GetClickedSound ()
void SetEnabled (bool enabled, bool animate=true)
void SetVisible (bool visible, bool animate=true)
bool IsEnabled ()
void SetMouseOverToFocus (bool mouseOverToFocus)
void SetDisabledOpacity (float newDisabledOpacity)
void SetData (Managed data)
Managed GetData ()

Static Protected Member Functions

static bool SetTexture (ImageWidget widget, ResourceName texture, string image="")

Protected Attributes

string m_sSoundHovered
string m_sSoundClicked
string m_sSoundContainerClosed
float m_fAnimationTime
bool m_bMouseOverToFocus
float m_fDisabledOpacity
float m_fAnimationRate
ref Managed m_UserData

Static Protected Attributes

static const float START_ANIMATION_RATE = 10001
static const float START_ANIMATION_PERIOD = 250

Detailed Description

Base class for all final Reforger interactive elements.

Definition at line 8 of file SCR_WLibComponentBase.c.

Member Function Documentation

◆ GetClickedSound()

string SCR_WLibComponentBase::GetClickedSound ( )
inlineprotected

Definition at line 171 of file SCR_WLibComponentBase.c.

◆ GetData()

Managed SCR_WLibComponentBase::GetData ( )
inlineprotected

Get stored data

Returns
data if set, null otherwise

Definition at line 234 of file SCR_WLibComponentBase.c.

◆ GetHoverSound()

string SCR_WLibComponentBase::GetHoverSound ( )
inlineprotected

Definition at line 165 of file SCR_WLibComponentBase.c.

◆ HandlerAttached()

override void SCR_WLibComponentBase::HandlerAttached ( Widget w)
inlineprotected

Definition at line 36 of file SCR_WLibComponentBase.c.

◆ IsChildWidget()

bool SCR_WLibComponentBase::IsChildWidget ( Widget parent,
Widget child )
inlineprotected

Definition at line 100 of file SCR_WLibComponentBase.c.

◆ IsEnabled()

bool SCR_WLibComponentBase::IsEnabled ( )
inlineprotected

Definition at line 203 of file SCR_WLibComponentBase.c.

◆ OnClick()

override bool SCR_WLibComponentBase::OnClick ( Widget w,
int x,
int y,
int button )
inlineprotected

Definition at line 49 of file SCR_WLibComponentBase.c.

◆ OnDisabled()

void SCR_WLibComponentBase::OnDisabled ( bool animate)
inlineprotected

Definition at line 91 of file SCR_WLibComponentBase.c.

◆ OnEnabled()

void SCR_WLibComponentBase::OnEnabled ( bool animate)
inlineprotected

Definition at line 82 of file SCR_WLibComponentBase.c.

◆ OnFocus()

override bool SCR_WLibComponentBase::OnFocus ( Widget w,
int x,
int y )
inlineprotected

Definition at line 75 of file SCR_WLibComponentBase.c.

◆ OnMouseEnter()

override bool SCR_WLibComponentBase::OnMouseEnter ( Widget w,
int x,
int y )
inlineprotected

Definition at line 60 of file SCR_WLibComponentBase.c.

◆ PlaySound()

void SCR_WLibComponentBase::PlaySound ( string sound)
inlineprotected

Definition at line 123 of file SCR_WLibComponentBase.c.

◆ SetAnimationRate()

void SCR_WLibComponentBase::SetAnimationRate ( )
inlineprotected

Definition at line 117 of file SCR_WLibComponentBase.c.

◆ SetClickedSound()

void SCR_WLibComponentBase::SetClickedSound ( string soundClicked)
inlineprotected

Definition at line 159 of file SCR_WLibComponentBase.c.

◆ SetData()

void SCR_WLibComponentBase::SetData ( Managed data)
inlineprotected

Store custom data

Parameters
[in]data

Definition at line 226 of file SCR_WLibComponentBase.c.

◆ SetDisabledOpacity()

void SCR_WLibComponentBase::SetDisabledOpacity ( float newDisabledOpacity)
inlineprotected

Definition at line 218 of file SCR_WLibComponentBase.c.

◆ SetEnabled()

void SCR_WLibComponentBase::SetEnabled ( bool enabled,
bool animate = true )
inlineprotected

Definition at line 178 of file SCR_WLibComponentBase.c.

◆ SetHoverSound()

void SCR_WLibComponentBase::SetHoverSound ( string soundHover)
inlineprotected

Definition at line 153 of file SCR_WLibComponentBase.c.

◆ SetMouseOverToFocus()

void SCR_WLibComponentBase::SetMouseOverToFocus ( bool mouseOverToFocus)
inlineprotected

Definition at line 212 of file SCR_WLibComponentBase.c.

◆ SetTexture()

bool SCR_WLibComponentBase::SetTexture ( ImageWidget widget,
ResourceName texture,
string image = "" )
inlinestaticprotected

Definition at line 130 of file SCR_WLibComponentBase.c.

◆ SetVisible()

void SCR_WLibComponentBase::SetVisible ( bool visible,
bool animate = true )
inlineprotected

Definition at line 191 of file SCR_WLibComponentBase.c.

Member Data Documentation

◆ m_bMouseOverToFocus

bool SCR_WLibComponentBase::m_bMouseOverToFocus
protected

Definition at line 23 of file SCR_WLibComponentBase.c.

◆ m_fAnimationRate

float SCR_WLibComponentBase::m_fAnimationRate
protected

Definition at line 28 of file SCR_WLibComponentBase.c.

◆ m_fAnimationTime

float SCR_WLibComponentBase::m_fAnimationTime
protected

Definition at line 20 of file SCR_WLibComponentBase.c.

◆ m_fDisabledOpacity

float SCR_WLibComponentBase::m_fDisabledOpacity
protected

Definition at line 26 of file SCR_WLibComponentBase.c.

◆ m_sSoundClicked

string SCR_WLibComponentBase::m_sSoundClicked
protected

Definition at line 14 of file SCR_WLibComponentBase.c.

◆ m_sSoundContainerClosed

string SCR_WLibComponentBase::m_sSoundContainerClosed
protected

Definition at line 17 of file SCR_WLibComponentBase.c.

◆ m_sSoundHovered

string SCR_WLibComponentBase::m_sSoundHovered
protected

Definition at line 11 of file SCR_WLibComponentBase.c.

◆ m_UserData

ref Managed SCR_WLibComponentBase::m_UserData
protected

Definition at line 30 of file SCR_WLibComponentBase.c.

◆ START_ANIMATION_PERIOD

const float SCR_WLibComponentBase::START_ANIMATION_PERIOD = 250
staticprotected

Definition at line 33 of file SCR_WLibComponentBase.c.

◆ START_ANIMATION_RATE

const float SCR_WLibComponentBase::START_ANIMATION_RATE = 10001
staticprotected

Definition at line 32 of file SCR_WLibComponentBase.c.


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