Arma Reforger Script API
Loading...
Searching...
No Matches
SCR_RadialMenuWidgetPairList Interface Reference

Wrapper around list of radial menu pairs (entry, widget) to provide easy way of handling entry-widget linking in the radial menu ValueType should inherit from Widget EntryType should inherit from BaseSelectionMenuEntry. More...

Public Member Functions

void Clear ()
 
int Count (bool recalculate=false)
 
void RemoveAt (int index)
 
void AddEntry (SCR_RadialMenuPair pair)
 
void AddEntry (Widget widget, BaseSelectionMenuEntry entry)
 
void RemoveByWidget (Widget widget)
 
void RemoveByEntry (BaseSelectionMenuEntry entry)
 
void SetEntryAt (int index, BaseSelectionMenuEntry entry)
 
void SetWidgetAt (int index, Widget value)
 
Widget GetWidgetAt (int index)
 
BaseSelectionMenuEntry GetEntryAt (int index)
 
ref SCR_RadialMenuPair GetAt (int index)
 
void SCR_RadialMenuWidgetPairList ()
 
void ~SCR_RadialMenuWidgetPairList ()
 

Protected Member Functions

void RecalculateCount ()
 

Protected Attributes

ref array< Widget > m_aWidgets
 
ref array< BaseSelectionMenuEntrym_aEntries
 
int m_iCount
 

Detailed Description

Wrapper around list of radial menu pairs (entry, widget) to provide easy way of handling entry-widget linking in the radial menu ValueType should inherit from Widget EntryType should inherit from BaseSelectionMenuEntry.

Constructor & Destructor Documentation

◆ SCR_RadialMenuWidgetPairList()

void SCR_RadialMenuWidgetPairList.SCR_RadialMenuWidgetPairList ( )

◆ ~SCR_RadialMenuWidgetPairList()

void SCR_RadialMenuWidgetPairList.~SCR_RadialMenuWidgetPairList ( )

Member Function Documentation

◆ AddEntry() [1/2]

void SCR_RadialMenuWidgetPairList.AddEntry ( SCR_RadialMenuPair pair)

◆ AddEntry() [2/2]

void SCR_RadialMenuWidgetPairList.AddEntry ( Widget widget,
BaseSelectionMenuEntry entry )

◆ Clear()

void SCR_RadialMenuWidgetPairList.Clear ( )

◆ Count()

int SCR_RadialMenuWidgetPairList.Count ( bool recalculate = false)

◆ GetAt()

ref SCR_RadialMenuPair SCR_RadialMenuWidgetPairList.GetAt ( int index)

◆ GetEntryAt()

BaseSelectionMenuEntry SCR_RadialMenuWidgetPairList.GetEntryAt ( int index)

◆ GetWidgetAt()

Widget SCR_RadialMenuWidgetPairList.GetWidgetAt ( int index)

◆ RecalculateCount()

void SCR_RadialMenuWidgetPairList.RecalculateCount ( )
protected

◆ RemoveAt()

void SCR_RadialMenuWidgetPairList.RemoveAt ( int index)

◆ RemoveByEntry()

void SCR_RadialMenuWidgetPairList.RemoveByEntry ( BaseSelectionMenuEntry entry)

◆ RemoveByWidget()

void SCR_RadialMenuWidgetPairList.RemoveByWidget ( Widget widget)

◆ SetEntryAt()

void SCR_RadialMenuWidgetPairList.SetEntryAt ( int index,
BaseSelectionMenuEntry entry )

◆ SetWidgetAt()

void SCR_RadialMenuWidgetPairList.SetWidgetAt ( int index,
Widget value )

Member Data Documentation

◆ m_aEntries

ref array<BaseSelectionMenuEntry> SCR_RadialMenuWidgetPairList.m_aEntries
protected

◆ m_aWidgets

ref array<Widget> SCR_RadialMenuWidgetPairList.m_aWidgets
protected

◆ m_iCount

int SCR_RadialMenuWidgetPairList.m_iCount
protected

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