Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_ComboBoxComponent Class Reference
Inheritance diagram for SCR_ComboBoxComponent:
SCR_SelectionWidgetComponent SCR_ComboBoxIconComponent

Protected Member Functions

override void HandlerAttached (Widget w)
override void HandlerDeattached (Widget w)
bool OnHandlerClicked ()
override bool OnFocus (Widget w, int x, int y)
override bool OnFocusLost (Widget w, int x, int y)
void OnHandlerFocus ()
void OnHandlerFocusLost ()
void OnHandlerHovered ()
void OnHandlerUnhovered ()
void OnMenuFocusLost (ChimeraMenuBase menu)
void OnEnabled (bool animate)
void OnDisabled (bool animate)
void UpdateName ()
override bool SetCurrentItem (int i, bool playSound=false, bool animate=false)
void CreateEntries ()
void CheckElementsInitialized ()
void OpenList ()
void OnCreateElement (Widget elementWidget, int index)
void CloseList ()
void OnMenuBack ()
override int AddItem (string item, bool last=false, Managed data=null)
override void ClearAll ()
override void RemoveItem (int item, bool last=false)
void SetElementWidgetEnabled (int index, bool enable, bool animate=true)

Protected Attributes

float m_fArrowDefaultAngle
bool m_bForceListWidth
float m_fListForcedWidth
float m_fListXOffset
string m_sSoundClosed
string m_sButton
ref Color m_BackgroundDefault
ref Color m_BackgroundInteracting
ref Color m_ArrowDefault
ref Color m_ArrowInteracting
ref Color m_ArrowFocused
bool m_bRotateArrow
InputManager m_InputManager
ref array< Widgetm_aElementWidgets = new array<Widget>()
Widget m_wButton
ImageWidget m_wArrowImage
TextWidget m_wText
VerticalLayoutWidget m_wContent
ScrollLayoutWidget m_wScrollLayout
Widget m_wElementsRoot
Widget m_wContentRoot
WorkspaceWidget m_Workspace
ref SCR_ComboModalHandler m_ModalHandler
bool m_bOpened
ref ScriptInvoker m_OnOpened = new ScriptInvoker()
ref ScriptInvoker m_OnClosed = new ScriptInvoker()
float posX
float posY
Widget m_wTextBackground
const int INITIALIZATION_CHECK_FREQUENCY = 10

Detailed Description

Definition at line 1 of file SCR_ComboBoxComponent.c.

Member Function Documentation

◆ AddItem()

override int SCR_ComboBoxComponent::AddItem ( string item,
bool last = false,
Managed data = null )
inlineprotected

Definition at line 504 of file SCR_ComboBoxComponent.c.

◆ CheckElementsInitialized()

void SCR_ComboBoxComponent::CheckElementsInitialized ( )
inlineprotected

Definition at line 303 of file SCR_ComboBoxComponent.c.

◆ ClearAll()

override void SCR_ComboBoxComponent::ClearAll ( )
inlineprotected

Definition at line 515 of file SCR_ComboBoxComponent.c.

◆ CloseList()

void SCR_ComboBoxComponent::CloseList ( )
inlineprotected

Definition at line 444 of file SCR_ComboBoxComponent.c.

◆ CreateEntries()

void SCR_ComboBoxComponent::CreateEntries ( )
inlineprotected

Definition at line 253 of file SCR_ComboBoxComponent.c.

◆ HandlerAttached()

override void SCR_ComboBoxComponent::HandlerAttached ( Widget w)
inlineprotected

Definition at line 84 of file SCR_ComboBoxComponent.c.

◆ HandlerDeattached()

override void SCR_ComboBoxComponent::HandlerDeattached ( Widget w)
inlineprotected

Definition at line 128 of file SCR_ComboBoxComponent.c.

◆ OnCreateElement()

void SCR_ComboBoxComponent::OnCreateElement ( Widget elementWidget,
int index )
inlineprotected

Definition at line 439 of file SCR_ComboBoxComponent.c.

◆ OnDisabled()

void SCR_ComboBoxComponent::OnDisabled ( bool animate)
inlineprotected

Definition at line 221 of file SCR_ComboBoxComponent.c.

◆ OnEnabled()

void SCR_ComboBoxComponent::OnEnabled ( bool animate)
inlineprotected

Definition at line 212 of file SCR_ComboBoxComponent.c.

◆ OnFocus()

override bool SCR_ComboBoxComponent::OnFocus ( Widget w,
int x,
int y )
inlineprotected

Definition at line 147 of file SCR_ComboBoxComponent.c.

◆ OnFocusLost()

override bool SCR_ComboBoxComponent::OnFocusLost ( Widget w,
int x,
int y )
inlineprotected

Definition at line 157 of file SCR_ComboBoxComponent.c.

◆ OnHandlerClicked()

bool SCR_ComboBoxComponent::OnHandlerClicked ( )
inlineprotected

Definition at line 137 of file SCR_ComboBoxComponent.c.

◆ OnHandlerFocus()

void SCR_ComboBoxComponent::OnHandlerFocus ( )
inlineprotected

Definition at line 164 of file SCR_ComboBoxComponent.c.

◆ OnHandlerFocusLost()

void SCR_ComboBoxComponent::OnHandlerFocusLost ( )
inlineprotected

Definition at line 174 of file SCR_ComboBoxComponent.c.

◆ OnHandlerHovered()

void SCR_ComboBoxComponent::OnHandlerHovered ( )
inlineprotected

Definition at line 184 of file SCR_ComboBoxComponent.c.

◆ OnHandlerUnhovered()

void SCR_ComboBoxComponent::OnHandlerUnhovered ( )
inlineprotected

Definition at line 191 of file SCR_ComboBoxComponent.c.

◆ OnMenuBack()

void SCR_ComboBoxComponent::OnMenuBack ( )
inlineprotected

Definition at line 497 of file SCR_ComboBoxComponent.c.

◆ OnMenuFocusLost()

void SCR_ComboBoxComponent::OnMenuFocusLost ( ChimeraMenuBase menu)
inlineprotected

Definition at line 205 of file SCR_ComboBoxComponent.c.

◆ OpenList()

void SCR_ComboBoxComponent::OpenList ( )
inlineprotected

Definition at line 334 of file SCR_ComboBoxComponent.c.

◆ RemoveItem()

override void SCR_ComboBoxComponent::RemoveItem ( int item,
bool last = false )
inlineprotected

Definition at line 524 of file SCR_ComboBoxComponent.c.

◆ SetCurrentItem()

override bool SCR_ComboBoxComponent::SetCurrentItem ( int i,
bool playSound = false,
bool animate = false )
inlineprotected

Definition at line 242 of file SCR_ComboBoxComponent.c.

◆ SetElementWidgetEnabled()

void SCR_ComboBoxComponent::SetElementWidgetEnabled ( int index,
bool enable,
bool animate = true )
inlineprotected

Set given element index as enabled or disabled

Parameters
[in]indexGiven index of element
[in]enableIf it should be enabled or disabled
[in]animateShould it animate on enabled/disabled changed?

Definition at line 537 of file SCR_ComboBoxComponent.c.

◆ UpdateName()

void SCR_ComboBoxComponent::UpdateName ( )
inlineprotected

Definition at line 230 of file SCR_ComboBoxComponent.c.

Member Data Documentation

◆ INITIALIZATION_CHECK_FREQUENCY

const int SCR_ComboBoxComponent::INITIALIZATION_CHECK_FREQUENCY = 10
protected

Definition at line 81 of file SCR_ComboBoxComponent.c.

◆ m_aElementWidgets

ref array<Widget> SCR_ComboBoxComponent::m_aElementWidgets = new array<Widget>()
protected

Definition at line 61 of file SCR_ComboBoxComponent.c.

◆ m_ArrowDefault

ref Color SCR_ComboBoxComponent::m_ArrowDefault
protected

Definition at line 49 of file SCR_ComboBoxComponent.c.

◆ m_ArrowFocused

ref Color SCR_ComboBoxComponent::m_ArrowFocused
protected

Definition at line 55 of file SCR_ComboBoxComponent.c.

◆ m_ArrowInteracting

ref Color SCR_ComboBoxComponent::m_ArrowInteracting
protected

Definition at line 52 of file SCR_ComboBoxComponent.c.

◆ m_BackgroundDefault

ref Color SCR_ComboBoxComponent::m_BackgroundDefault
protected

Definition at line 43 of file SCR_ComboBoxComponent.c.

◆ m_BackgroundInteracting

ref Color SCR_ComboBoxComponent::m_BackgroundInteracting
protected

Definition at line 46 of file SCR_ComboBoxComponent.c.

◆ m_bForceListWidth

bool SCR_ComboBoxComponent::m_bForceListWidth
protected

Definition at line 28 of file SCR_ComboBoxComponent.c.

◆ m_bOpened

bool SCR_ComboBoxComponent::m_bOpened
protected

Definition at line 71 of file SCR_ComboBoxComponent.c.

◆ m_bRotateArrow

bool SCR_ComboBoxComponent::m_bRotateArrow
protected

Definition at line 58 of file SCR_ComboBoxComponent.c.

◆ m_fArrowDefaultAngle

float SCR_ComboBoxComponent::m_fArrowDefaultAngle
protected

Definition at line 25 of file SCR_ComboBoxComponent.c.

◆ m_fListForcedWidth

float SCR_ComboBoxComponent::m_fListForcedWidth
protected

Definition at line 31 of file SCR_ComboBoxComponent.c.

◆ m_fListXOffset

float SCR_ComboBoxComponent::m_fListXOffset
protected

Definition at line 34 of file SCR_ComboBoxComponent.c.

◆ m_InputManager

InputManager SCR_ComboBoxComponent::m_InputManager
protected

Definition at line 60 of file SCR_ComboBoxComponent.c.

◆ m_ModalHandler

ref SCR_ComboModalHandler SCR_ComboBoxComponent::m_ModalHandler
protected

Definition at line 70 of file SCR_ComboBoxComponent.c.

◆ m_OnClosed

ref ScriptInvoker SCR_ComboBoxComponent::m_OnClosed = new ScriptInvoker()
protected

Definition at line 75 of file SCR_ComboBoxComponent.c.

◆ m_OnOpened

ref ScriptInvoker SCR_ComboBoxComponent::m_OnOpened = new ScriptInvoker()
protected

Definition at line 74 of file SCR_ComboBoxComponent.c.

◆ m_sButton

string SCR_ComboBoxComponent::m_sButton
protected

Definition at line 40 of file SCR_ComboBoxComponent.c.

◆ m_sSoundClosed

string SCR_ComboBoxComponent::m_sSoundClosed
protected

Definition at line 37 of file SCR_ComboBoxComponent.c.

◆ m_wArrowImage

ImageWidget SCR_ComboBoxComponent::m_wArrowImage
protected

Definition at line 63 of file SCR_ComboBoxComponent.c.

◆ m_wButton

Widget SCR_ComboBoxComponent::m_wButton
protected

Definition at line 62 of file SCR_ComboBoxComponent.c.

◆ m_wContent

VerticalLayoutWidget SCR_ComboBoxComponent::m_wContent
protected

Definition at line 65 of file SCR_ComboBoxComponent.c.

◆ m_wContentRoot

Widget SCR_ComboBoxComponent::m_wContentRoot
protected

Definition at line 68 of file SCR_ComboBoxComponent.c.

◆ m_wElementsRoot

Widget SCR_ComboBoxComponent::m_wElementsRoot
protected

Definition at line 67 of file SCR_ComboBoxComponent.c.

◆ m_Workspace

WorkspaceWidget SCR_ComboBoxComponent::m_Workspace
protected

Definition at line 69 of file SCR_ComboBoxComponent.c.

◆ m_wScrollLayout

ScrollLayoutWidget SCR_ComboBoxComponent::m_wScrollLayout
protected

Definition at line 66 of file SCR_ComboBoxComponent.c.

◆ m_wText

TextWidget SCR_ComboBoxComponent::m_wText
protected

Definition at line 64 of file SCR_ComboBoxComponent.c.

◆ m_wTextBackground

Widget SCR_ComboBoxComponent::m_wTextBackground
protected

Definition at line 79 of file SCR_ComboBoxComponent.c.

◆ posX

float SCR_ComboBoxComponent::posX
protected

Definition at line 77 of file SCR_ComboBoxComponent.c.

◆ posY

float SCR_ComboBoxComponent::posY
protected

Definition at line 77 of file SCR_ComboBoxComponent.c.


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