Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
SCR_NavigationBarUI Interface Reference

UI Script Inventory navigation bar handler. More...

Inheritance diagram for SCR_NavigationBarUI:
[legend]

Public Member Functions

void Refresh ()
 
void SetButtonEnabled (string sButtonName, bool bEnable=true, string sName="")
 
void SetButtonActionName (string sButtonName, string sName)
 
void SetAllButtonEnabled (bool bEnable=true)
 
void FillFromConfig ()
 
override void HandlerAttached (Widget w)
 
- 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 ()
 

Public Attributes

ref array< ref NavigationButtonEntrym_aEntries
 
ResourceName m_sConfig
 
ref ScriptInvoker m_OnAction = new ScriptInvoker
 
- Public Attributes inherited from SCR_ScriptedWidgetComponent
ref ScriptInvoker m_OnClick = new ScriptInvoker
 

Protected Member Functions

SCR_InputButtonComponent GetButton (string name)
 
void OnNavigation (SCR_InputButtonComponent comp, string action)
 
void InitNavButtons ()
 

Protected Attributes

ResourceName m_Layout
 
- Protected Attributes inherited from SCR_ScriptedWidgetComponent
Widget m_wRoot
 

Additional Inherited Members

- 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.
 

Detailed Description

UI Script Inventory navigation bar handler.

Member Function Documentation

◆ FillFromConfig()

void SCR_NavigationBarUI.FillFromConfig ( )

◆ GetButton()

SCR_InputButtonComponent SCR_NavigationBarUI.GetButton ( string  name)
protected

◆ HandlerAttached()

override void SCR_NavigationBarUI.HandlerAttached ( Widget  w)

◆ InitNavButtons()

void SCR_NavigationBarUI.InitNavButtons ( )
protected

◆ OnNavigation()

void SCR_NavigationBarUI.OnNavigation ( SCR_InputButtonComponent  comp,
string  action 
)
protected

◆ Refresh()

void SCR_NavigationBarUI.Refresh ( )

◆ SetAllButtonEnabled()

void SCR_NavigationBarUI.SetAllButtonEnabled ( bool  bEnable = true)

◆ SetButtonActionName()

void SCR_NavigationBarUI.SetButtonActionName ( string  sButtonName,
string  sName 
)

◆ SetButtonEnabled()

void SCR_NavigationBarUI.SetButtonEnabled ( string  sButtonName,
bool  bEnable = true,
string  sName = "" 
)

Member Data Documentation

◆ m_aEntries

ref array<ref NavigationButtonEntry> SCR_NavigationBarUI.m_aEntries

◆ m_Layout

ResourceName SCR_NavigationBarUI.m_Layout
protected

◆ m_OnAction

ref ScriptInvoker SCR_NavigationBarUI.m_OnAction = new ScriptInvoker

◆ m_sConfig

ResourceName SCR_NavigationBarUI.m_sConfig

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