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

Public Member Functions

override void HandlerAttached (Widget w)
 
override void ResetWarningColor ()
 
override void SetWarning (string text, string iconName, ResourceName imageset=string.Empty)
 
void SetIconButtonEnabled (bool enabled)
 
void SetBlurUnderneath (bool blur)
 
ScriptInvokerScriptedWidgetComponent GetOnWarningIconButtonClicked ()
 
- Public Member Functions inherited from SCR_SimpleWarningComponent
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 void HandlerAttached (Widget w)
 
override bool OnClick (Widget w, int x, int y, int button)
 
Widget GetRootWidget ()
 
bool IsVisible ()
 

Static Public Member Functions

static override SCR_SimpleWarningOverlayComponent FindComponentInHierarchy (notnull Widget root)
 
static override SCR_SimpleWarningOverlayComponent FindComponent (notnull Widget w)
 
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 Member Functions

void OnWarningIconButtonClicked ()
 

Protected Attributes

bool m_bShowTextBackground
 
int m_iNakedTextTopPadding
 
ref Color m_NakedTextColor
 
bool m_bShowDarkeningBackground
 
bool m_bShowIconGlow
 
bool m_bEnableIconButton
 
float m_fIconSize
 
float m_fIconSizeHoveredMultiplier
 
vector m_vWarningPositionOffset
 
bool m_bBlurBackground
 
SmartPanelWidget m_wTextBackground
 
ImageWidget m_wWarningImageGlow
 
ImageWidget m_wWarningOuterBackground
 
BlurWidget m_wWarningOuterBlur
 
SizeLayoutWidget m_wWarningTextSize
 
Widget m_wWarningImageOverlay
 
Widget m_wWarningVerticalLayout
 
SCR_ModularButtonComponent m_WarningIconButton
 
ref ScriptInvokerScriptedWidgetComponent m_OnWarningIconButtonClicked = new ScriptInvokerScriptedWidgetComponent()
 
- Protected Attributes inherited from SCR_SimpleWarningComponent
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 override SCR_SimpleWarningOverlayComponent SCR_SimpleWarningOverlayComponent.FindComponent ( notnull Widget  w)
static

◆ FindComponentInHierarchy()

static override SCR_SimpleWarningOverlayComponent SCR_SimpleWarningOverlayComponent.FindComponentInHierarchy ( notnull Widget  root)
static

◆ GetOnWarningIconButtonClicked()

ScriptInvokerScriptedWidgetComponent SCR_SimpleWarningOverlayComponent.GetOnWarningIconButtonClicked ( )

◆ HandlerAttached()

override void SCR_SimpleWarningOverlayComponent.HandlerAttached ( Widget  w)

◆ OnWarningIconButtonClicked()

void SCR_SimpleWarningOverlayComponent.OnWarningIconButtonClicked ( )
protected

◆ ResetWarningColor()

override void SCR_SimpleWarningOverlayComponent.ResetWarningColor ( )

◆ SetBlurUnderneath()

void SCR_SimpleWarningOverlayComponent.SetBlurUnderneath ( bool  blur)

◆ SetIconButtonEnabled()

void SCR_SimpleWarningOverlayComponent.SetIconButtonEnabled ( bool  enabled)

◆ SetWarning()

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

Member Data Documentation

◆ m_bBlurBackground

bool SCR_SimpleWarningOverlayComponent.m_bBlurBackground
protected

◆ m_bEnableIconButton

bool SCR_SimpleWarningOverlayComponent.m_bEnableIconButton
protected

◆ m_bShowDarkeningBackground

bool SCR_SimpleWarningOverlayComponent.m_bShowDarkeningBackground
protected

◆ m_bShowIconGlow

bool SCR_SimpleWarningOverlayComponent.m_bShowIconGlow
protected

◆ m_bShowTextBackground

bool SCR_SimpleWarningOverlayComponent.m_bShowTextBackground
protected

◆ m_fIconSize

float SCR_SimpleWarningOverlayComponent.m_fIconSize
protected

◆ m_fIconSizeHoveredMultiplier

float SCR_SimpleWarningOverlayComponent.m_fIconSizeHoveredMultiplier
protected

◆ m_iNakedTextTopPadding

int SCR_SimpleWarningOverlayComponent.m_iNakedTextTopPadding
protected

◆ m_NakedTextColor

ref Color SCR_SimpleWarningOverlayComponent.m_NakedTextColor
protected

◆ m_OnWarningIconButtonClicked

ref ScriptInvokerScriptedWidgetComponent SCR_SimpleWarningOverlayComponent.m_OnWarningIconButtonClicked = new ScriptInvokerScriptedWidgetComponent()
protected

◆ m_vWarningPositionOffset

vector SCR_SimpleWarningOverlayComponent.m_vWarningPositionOffset
protected

◆ m_WarningIconButton

SCR_ModularButtonComponent SCR_SimpleWarningOverlayComponent.m_WarningIconButton
protected

◆ m_wTextBackground

SmartPanelWidget SCR_SimpleWarningOverlayComponent.m_wTextBackground
protected

◆ m_wWarningImageGlow

ImageWidget SCR_SimpleWarningOverlayComponent.m_wWarningImageGlow
protected

◆ m_wWarningImageOverlay

Widget SCR_SimpleWarningOverlayComponent.m_wWarningImageOverlay
protected

◆ m_wWarningOuterBackground

ImageWidget SCR_SimpleWarningOverlayComponent.m_wWarningOuterBackground
protected

◆ m_wWarningOuterBlur

BlurWidget SCR_SimpleWarningOverlayComponent.m_wWarningOuterBlur
protected

◆ m_wWarningTextSize

SizeLayoutWidget SCR_SimpleWarningOverlayComponent.m_wWarningTextSize
protected

◆ m_wWarningVerticalLayout

Widget SCR_SimpleWarningOverlayComponent.m_wWarningVerticalLayout
protected

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