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_PlayMenuComponent Interface Reference
Inheritance diagram for SCR_PlayMenuComponent:
[legend]

Public Member Functions

override void HandlerAttached (Widget w)
 
void OnItemFocused (Widget w)
 
void SetFocusedItem (int index)
 
array< Widget > GetWidgets ()
 

Static Public Member Functions

static SCR_PlayMenuComponent GetComponent (string name, Widget parent, bool searchAllChildren=true)
 Static method to easily find component by providing name and parent.
 

Protected Member Functions

void CreateWidgets (int columns, int rows)
 
Widget CreateWidget (int column, int row)
 
void SetAnimationRate ()
 

Protected Attributes

int m_iColumns
 
int m_iRows
 
int m_iItems
 
int m_iSelectedItem
 
int m_iPaddingHorizontal
 
int m_iPaddingVertical
 
ResourceName m_sItemLayout
 
float m_fAnimationTime
 
ref array< Widget > m_aWidgets = {}
 
GridLayoutWidget m_wContentRoot
 
Widget m_wRoot
 
float m_fAnimationRate = SCR_WLibComponentBase.START_ANIMATION_RATE
 

Member Function Documentation

◆ CreateWidget()

Widget SCR_PlayMenuComponent.CreateWidget ( int  column,
int  row 
)
protected

◆ CreateWidgets()

void SCR_PlayMenuComponent.CreateWidgets ( int  columns,
int  rows 
)
protected

◆ GetComponent()

static SCR_PlayMenuComponent SCR_PlayMenuComponent.GetComponent ( string  name,
Widget  parent,
bool  searchAllChildren = true 
)
static

Static method to easily find component by providing name and parent.

Searching all children will go through whole hierarchy, instead of immediate chidren

◆ GetWidgets()

array< Widget > SCR_PlayMenuComponent.GetWidgets ( )

◆ HandlerAttached()

override void SCR_PlayMenuComponent.HandlerAttached ( Widget  w)

◆ OnItemFocused()

void SCR_PlayMenuComponent.OnItemFocused ( Widget  w)

◆ SetAnimationRate()

void SCR_PlayMenuComponent.SetAnimationRate ( )
protected

◆ SetFocusedItem()

void SCR_PlayMenuComponent.SetFocusedItem ( int  index)

Member Data Documentation

◆ m_aWidgets

ref array<Widget> SCR_PlayMenuComponent.m_aWidgets = {}
protected

◆ m_fAnimationRate

float SCR_PlayMenuComponent.m_fAnimationRate = SCR_WLibComponentBase.START_ANIMATION_RATE
protected

◆ m_fAnimationTime

float SCR_PlayMenuComponent.m_fAnimationTime
protected

◆ m_iColumns

int SCR_PlayMenuComponent.m_iColumns
protected

◆ m_iItems

int SCR_PlayMenuComponent.m_iItems
protected

◆ m_iPaddingHorizontal

int SCR_PlayMenuComponent.m_iPaddingHorizontal
protected

◆ m_iPaddingVertical

int SCR_PlayMenuComponent.m_iPaddingVertical
protected

◆ m_iRows

int SCR_PlayMenuComponent.m_iRows
protected

◆ m_iSelectedItem

int SCR_PlayMenuComponent.m_iSelectedItem
protected

◆ m_sItemLayout

ResourceName SCR_PlayMenuComponent.m_sItemLayout
protected

◆ m_wContentRoot

GridLayoutWidget SCR_PlayMenuComponent.m_wContentRoot
protected

◆ m_wRoot

Widget SCR_PlayMenuComponent.m_wRoot
protected

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