![]() |
Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Protected Member Functions | |
| int | AddItem (string item, Managed data=null, ResourceName itemLayout=string.Empty) |
| int | AddItemAndIcon (string item, ResourceName imageOrImageset, string iconName, out SCR_ListBoxElementComponent outComp, Managed data=null, ResourceName itemLayout=string.Empty) |
| void | RemoveItem (int item) |
| Managed | GetItemData (int item) |
| int | GetItemCount () |
| int | FindItemWithData (Managed data) |
| Returns ID of item with same user data as propvided. Returns -1 if not found or null was passed. | |
| array< int > | GetSelectedItems (bool selected=true) |
| Returns IDs of selected items. | |
| int | GetSelectedItem () |
| Returns ID of currently selected item, if multiselection is disabled. Otherwise returns -1. | |
| SCR_ListBoxElementComponent | GetElementComponent (int item) |
| bool | IsItemSelected (int item) |
| Returns true if item with given ID is selected. | |
| Widget | AddSeparator (string text) |
| void | SetFocusOnFirstItem () |
| bool | GetFocused () |
| Returns true when any list entry is focused. | |
| void | Clear () |
| Removes all items and separators from the listbox. | |
| void | SetItemSelected (int item, bool selected, bool invokeOnChanged=true, bool instant=false) |
| void | SetAllItemsSelected (bool selected, bool invokeOnChanged=true) |
| void | SetItemText (int item, string text) |
| void | VisualizeSelection (int item, bool selected, bool instant=false) |
| override void | HandlerAttached (Widget w) |
| int | _AddItem (string item, Managed data, out SCR_ListBoxElementComponent compOut, ResourceName itemLayout=string.Empty) |
| void | _SetItemSelected (int item, bool selected, bool invokeOnChanged, bool instant=false) |
| string | GetUniqueWidgetName () |
| void | OnItemClick (SCR_ListBoxElementComponent comp) |
Protected Attributes | |
| ResourceName | m_sElementLayout |
| ResourceName | m_sSeparatorLayout |
| bool | m_bMultiSelection |
| VerticalLayoutWidget | m_wList |
| ref array< SCR_ListBoxElementComponent > | m_aElementComponents = {} |
| int | m_iCurrentItem = -1 |
| int | m_iWidgetNameNextId |
Listbox component which supports multi selection, custom element layouts.
!!! This is not entirely finished, use at own risk.
Definition at line 4 of file SCR_ListBoxComponent.c.
|
inlineprotected |
Definition at line 287 of file SCR_ListBoxComponent.c.
|
inlineprotected |
Definition at line 326 of file SCR_ListBoxComponent.c.
|
inlineprotected |
| [in] | item | |
| [in] | data | |
| [in] | itemLayout |
Definition at line 40 of file SCR_ListBoxComponent.c.
|
inlineprotected |
| [in] | item | |
| [in] | imageOrImageset | |
| [in] | iconName | |
| [in] | data | |
| [in] | itemLayout |
Definition at line 58 of file SCR_ListBoxComponent.c.
| [in] | text |
Definition at line 176 of file SCR_ListBoxComponent.c.
|
inlineprotected |
Removes all items and separators from the listbox.
Definition at line 217 of file SCR_ListBoxComponent.c.
|
inlineprotected |
Returns ID of item with same user data as propvided. Returns -1 if not found or null was passed.
Definition at line 106 of file SCR_ListBoxComponent.c.
|
inlineprotected |
Returns list box element with given ID Probably you want to use it in very rare cases...
Definition at line 155 of file SCR_ListBoxComponent.c.
|
inlineprotected |
Returns true when any list entry is focused.
Definition at line 199 of file SCR_ListBoxComponent.c.
|
inlineprotected |
Definition at line 99 of file SCR_ListBoxComponent.c.
|
inlineprotected |
|
inlineprotected |
Returns ID of currently selected item, if multiselection is disabled. Otherwise returns -1.
Definition at line 144 of file SCR_ListBoxComponent.c.
Returns IDs of selected items.
Definition at line 127 of file SCR_ListBoxComponent.c.
|
inlineprotected |
Definition at line 351 of file SCR_ListBoxComponent.c.
|
inlineprotected |
Definition at line 279 of file SCR_ListBoxComponent.c.
Returns true if item with given ID is selected.
Definition at line 165 of file SCR_ListBoxComponent.c.
|
inlineprotected |
Definition at line 359 of file SCR_ListBoxComponent.c.
|
inlineprotected |
| [in] | item |
Definition at line 75 of file SCR_ListBoxComponent.c.
|
inlineprotected |
| [in] | selected | |
| [in] | invokeOnChanged |
Definition at line 247 of file SCR_ListBoxComponent.c.
|
inlineprotected |
Definition at line 189 of file SCR_ListBoxComponent.c.
|
inlineprotected |
| [in] | item | |
| [in] | selected | |
| [in] | invokeOnChanged |
Definition at line 232 of file SCR_ListBoxComponent.c.
| [in] | item | |
| [in] | text |
Definition at line 260 of file SCR_ListBoxComponent.c.
|
inlineprotected |
Definition at line 273 of file SCR_ListBoxComponent.c.
|
protected |
Definition at line 24 of file SCR_ListBoxComponent.c.
|
protected |
Definition at line 19 of file SCR_ListBoxComponent.c.
|
protected |
Definition at line 27 of file SCR_ListBoxComponent.c.
|
protected |
Definition at line 30 of file SCR_ListBoxComponent.c.
|
protected |
Definition at line 13 of file SCR_ListBoxComponent.c.
|
protected |
Definition at line 16 of file SCR_ListBoxComponent.c.
|
protected |
Definition at line 21 of file SCR_ListBoxComponent.c.