Arma Reforger Script API
Loading...
Searching...
No Matches
SCR_SimpleWarningComponent Interface Reference
Inheritance diagram for SCR_SimpleWarningComponent:
SCR_ScriptedWidgetComponent SCR_SimpleWarningOverlayComponent

Public Member Functions

override void HandlerAttached (Widget w)
 
void ResetWarning ()
 
void ResetWarningColor ()
 
void SetWarning (string text, string iconName, ResourceName imageset=string.Empty)
 
void SetWarningColor (Color color, Color textColor)
 
void SetWarningVisible (bool visible, bool preserveSpace=true)
 
void SetIconVisible (bool visible, bool preserveSpace=false)
 
- Public Member Functions inherited from SCR_ScriptedWidgetComponent
override bool OnClick (Widget w, int x, int y, int button)
 
Widget GetRootWidget ()
 
bool IsVisible ()
 

Static Public Member Functions

static SCR_SimpleWarningComponent FindComponentInHierarchy (notnull Widget root)
 
static SCR_SimpleWarningComponent FindComponent (notnull Widget w)
 
- 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.
 

Protected Attributes

string m_sWarning
 
string m_sIconName
 
ref Color m_Color
 
ref Color m_TextColor
 
TextWidget m_wWarning
 
Widget m_wWarningWrapper
 
ImageWidget m_wWarningImage
 
SizeLayoutWidget m_wWarningImageSize
 
- Protected Attributes inherited from SCR_ScriptedWidgetComponent
Widget m_wRoot
 

Additional Inherited Members

- Public Attributes inherited from SCR_ScriptedWidgetComponent
ref ScriptInvoker m_OnClick = new ScriptInvoker
 

Member Function Documentation

◆ FindComponent()

static SCR_SimpleWarningComponent SCR_SimpleWarningComponent.FindComponent ( notnull Widget w)
static

◆ FindComponentInHierarchy()

static SCR_SimpleWarningComponent SCR_SimpleWarningComponent.FindComponentInHierarchy ( notnull Widget root)
static

◆ HandlerAttached()

override void SCR_SimpleWarningComponent.HandlerAttached ( Widget w)

◆ ResetWarning()

void SCR_SimpleWarningComponent.ResetWarning ( )

◆ ResetWarningColor()

void SCR_SimpleWarningComponent.ResetWarningColor ( )

◆ SetIconVisible()

void SCR_SimpleWarningComponent.SetIconVisible ( bool visible,
bool preserveSpace = false )

◆ SetWarning()

void SCR_SimpleWarningComponent.SetWarning ( string text,
string iconName,
ResourceName imageset = string::Empty )

◆ SetWarningColor()

void SCR_SimpleWarningComponent.SetWarningColor ( Color color,
Color textColor )

◆ SetWarningVisible()

void SCR_SimpleWarningComponent.SetWarningVisible ( bool visible,
bool preserveSpace = true )

Member Data Documentation

◆ m_Color

ref Color SCR_SimpleWarningComponent.m_Color
protected

◆ m_sIconName

string SCR_SimpleWarningComponent.m_sIconName
protected

◆ m_sWarning

string SCR_SimpleWarningComponent.m_sWarning
protected

◆ m_TextColor

ref Color SCR_SimpleWarningComponent.m_TextColor
protected

◆ m_wWarning

TextWidget SCR_SimpleWarningComponent.m_wWarning
protected

◆ m_wWarningImage

ImageWidget SCR_SimpleWarningComponent.m_wWarningImage
protected

◆ m_wWarningImageSize

SizeLayoutWidget SCR_SimpleWarningComponent.m_wWarningImageSize
protected

◆ m_wWarningWrapper

Widget SCR_SimpleWarningComponent.m_wWarningWrapper
protected

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