Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | List of all members
SCR_ServerDetailEntryComponent Interface Reference
Inheritance diagram for SCR_ServerDetailEntryComponent:
[legend]

Public Member Functions

override void HandlerAttached (Widget w)
 
void SetLabelText (string text)
 
void SetIconFromImageSet (string text, ResourceName imageSet=string.Empty)
 
void SetDataText (string text)
 
void SetElementsVisible (bool label, bool icon, bool data)
 
void SetBackroundVisible (bool visible)
 
- Public Member Functions inherited from SCR_WLibComponentBase
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 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)
 
- Public Member Functions inherited from SCR_ScriptedWidgetComponent
override void HandlerAttached (Widget w)
 
override bool OnClick (Widget w, int x, int y, int button)
 
Widget GetRootWidget ()
 
bool IsVisible ()
 

Static Public Attributes

const string WIDGET_LABEL = "Content"
 
const string WIDGET_ICON = "Icon"
 
const string WIDGET_DATA = "Data"
 
const string WIDGET_BACKGROUND = "Background"
 
- Static Public Attributes inherited from SCR_WLibComponentBase
static const float START_ANIMATION_RATE = 10001
 
static const float START_ANIMATION_PERIOD = 250
 

Protected Member Functions

void VisualSetup ()
 
- Protected Member Functions inherited from SCR_WLibComponentBase
void OnEnabled (bool animate)
 
void OnDisabled (bool animate)
 
bool IsChildWidget (Widget parent, Widget child)
 
void SetAnimationRate ()
 
void PlaySound (string sound)
 

Protected Attributes

bool m_bVisibleBackground
 
bool m_bVisibleIcon
 
bool m_bVisibleData
 
string m_sLabel
 
ResourceName m_ImageSetDefault
 
string m_sImage
 
TextWidget m_wTxtLabel
 
ImageWidget m_wImgIcon
 
TextWidget m_wTxtData
 
ImageWidget m_wImgBackground
 
- Protected Attributes inherited from SCR_WLibComponentBase
string m_sSoundHovered
 
string m_sSoundClicked
 
float m_fAnimationTime
 
bool m_bMouseOverToFocus
 
float m_fDisabledOpacity
 
float m_fAnimationRate
 
- Protected Attributes inherited from SCR_ScriptedWidgetComponent
Widget m_wRoot
 

Additional Inherited Members

- Static Public Member Functions inherited from SCR_WLibComponentBase
static bool SetTexture (ImageWidget widget, ResourceName texture, string image="")
 
- Static Public Member Functions inherited from SCR_ScriptedWidgetComponent
static SCR_ScriptedWidgetComponent GetComponent (TypeName componentType, string name, Widget parent, bool searchAllChildren=true)
 Base method for component lookup through the widget library.
 
- Public Attributes inherited from SCR_ScriptedWidgetComponent
ref ScriptInvoker m_OnClick = new ScriptInvoker
 

Member Function Documentation

◆ HandlerAttached()

override void SCR_ServerDetailEntryComponent.HandlerAttached ( Widget  w)

Implements SCR_WLibComponentBase.

◆ SetBackroundVisible()

void SCR_ServerDetailEntryComponent.SetBackroundVisible ( bool  visible)

◆ SetDataText()

void SCR_ServerDetailEntryComponent.SetDataText ( string  text)

◆ SetElementsVisible()

void SCR_ServerDetailEntryComponent.SetElementsVisible ( bool  label,
bool  icon,
bool  data 
)

◆ SetIconFromImageSet()

void SCR_ServerDetailEntryComponent.SetIconFromImageSet ( string  text,
ResourceName  imageSet = string::Empty 
)

◆ SetLabelText()

void SCR_ServerDetailEntryComponent.SetLabelText ( string  text)

◆ VisualSetup()

void SCR_ServerDetailEntryComponent.VisualSetup ( )
protected

Member Data Documentation

◆ m_bVisibleBackground

bool SCR_ServerDetailEntryComponent.m_bVisibleBackground
protected

◆ m_bVisibleData

bool SCR_ServerDetailEntryComponent.m_bVisibleData
protected

◆ m_bVisibleIcon

bool SCR_ServerDetailEntryComponent.m_bVisibleIcon
protected

◆ m_ImageSetDefault

ResourceName SCR_ServerDetailEntryComponent.m_ImageSetDefault
protected

◆ m_sImage

string SCR_ServerDetailEntryComponent.m_sImage
protected

◆ m_sLabel

string SCR_ServerDetailEntryComponent.m_sLabel
protected

◆ m_wImgBackground

ImageWidget SCR_ServerDetailEntryComponent.m_wImgBackground
protected

◆ m_wImgIcon

ImageWidget SCR_ServerDetailEntryComponent.m_wImgIcon
protected

◆ m_wTxtData

TextWidget SCR_ServerDetailEntryComponent.m_wTxtData
protected

◆ m_wTxtLabel

TextWidget SCR_ServerDetailEntryComponent.m_wTxtLabel
protected

◆ WIDGET_BACKGROUND

const string SCR_ServerDetailEntryComponent.WIDGET_BACKGROUND = "Background"
static

◆ WIDGET_DATA

const string SCR_ServerDetailEntryComponent.WIDGET_DATA = "Data"
static

◆ WIDGET_ICON

const string SCR_ServerDetailEntryComponent.WIDGET_ICON = "Icon"
static

◆ WIDGET_LABEL

const string SCR_ServerDetailEntryComponent.WIDGET_LABEL = "Content"
static

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