Arma Reforger Script API
|
The Content Browser Window in the Content Browser Dialog. More...
Public Member Functions | |
void | OnCardLMB (Widget assetWidget) |
On Card click. | |
void | CloseContentBrowser () |
Close content browser menu from handler, helper function for e.g. | |
override void | ShowEntries (Widget contentWidget, int indexStart, int indexEnd) |
Function called when the page is refreshed. | |
override int | GetEntryCount () |
Return total number of entries. | |
Public Member Functions inherited from SCR_BasePaginationUIComponent | |
int | GetEntryCount () |
Return total number of entries. | |
int | GetRows () |
int | GetColumns () |
int | GetCurrentPage () |
int | GetEntryIndex (Widget w) |
ScriptInvoker | GetOnPageChanged () |
sealed bool | SetPage (int page, bool isRefresh=false) |
Set current page. | |
sealed bool | RefreshPage () |
Refresh the current page. | |
override bool | OnFocus (Widget w, int x, int y) |
override bool | OnMouseEnter (Widget w, int x, int y) |
override bool | OnMouseLeave (Widget w, Widget enterW, int x, int y) |
override void | HandlerAttached (Widget w) |
override void | HandlerDeattached (Widget w) |
Public Member Functions inherited from MenuRootSubComponent | |
Widget | GetWidget () |
Get widget to which the component belongs to. | |
MenuRootBase | GetMenu () |
Get menu of which the widget is part of. | |
MenuRootComponent | GetRootComponent () |
Get root component of this subcomponent,. | |
void | HandlerAttachedScripted (Widget w) |
Event called when subcomponent is initialized. | |
override void | HandlerAttached (Widget w) |
override void | HandlerDeattached (Widget w) |
Protected Member Functions | |
void | AnimateCardFadeIn (Widget cardWidget) |
void | ToggleBetweenCardsAndFilters () |
void | SwitchToAssetCards () |
void | GamepadToggleSelectButtonSwap () |
void | SwitchToFilters () |
void | GamePadSwitchToggleSearch () |
void | GamePadToggleSearch (bool toggle, bool forceToggle=true) |
void | ResetSearch () |
void | FilterEntries (bool resetPage=true, bool resetSearch=true, bool animateEntries=false) |
void | OnInputDeviceIsGamepadScripted (bool isGamepad) |
void | OnCardHover (Widget card, int prefabIndex, bool hover) |
void | OnCardFocus (Widget card, int prefabIndex, bool focus) |
void | OnSearchFocusChanged (SCR_EditBoxComponent editBoxComponent, EditBoxWidget editBoxWidget, bool focus) |
void | OnSearchConfirmed (SCR_EditBoxComponent editBox, string text) |
void | OnBrowserEntriesFiltered () |
void | OnMenuClosed () |
void | OnResetClicked () |
void | OnShowLoadingCircle (bool state=true) |
void | OnApplyLabelChanges () |
void | InitializeLabels () |
SCR_UIInfo | GetHighestOrderedLabelUIInfo (notnull array< EEditableEntityLabel > labels) |
override bool | IsUnique () |
Is the component to exist only in one instance? If so, it will be registered in the list of components and can be searched for. | |
override void | OnButtonPrev () |
override void | OnButtonNext () |
override void | HandlerAttachedScripted (Widget w) |
Event called when subcomponent is initialized. | |
override void | HandlerDeattached (Widget w) |
Protected Member Functions inherited from SCR_BasePaginationUIComponent | |
void | DisableArrowsSinglePage () |
Disable page change button if flag is true and number of pages is 1. | |
void | ShowEntries (Widget contentWidget, int indexStart, int indexEnd) |
Function called when the page is refreshed. | |
void | IterateIndex (out int row, out int column) |
void | EnablePageButton (Widget w, bool enable) |
void | OnButtonPrev () |
void | OnButtonNext () |
void | SetUnderCursor (bool newUnderCursor) |
void | OnInputDeviceIsGamepad (bool isGamepad) |
override bool | IsUnique () |
Is the component to exist only in one instance? If so, it will be registered in the list of components and can be searched for. | |
bool | IsUnique () |
Is the component to exist only in one instance? If so, it will be registered in the list of components and can be searched for. | |
The Content Browser Window in the Content Browser Dialog.
|
protected |
void SCR_ContentBrowserEditorUIComponent.CloseContentBrowser | ( | ) |
Close content browser menu from handler, helper function for e.g.
autotests
|
protected |
|
protected |
|
protected |
|
protected |
override int SCR_ContentBrowserEditorUIComponent.GetEntryCount | ( | ) |
Return total number of entries.
To be overridden by inherited classes.
Implements SCR_BasePaginationUIComponent.
|
protected |
|
protected |
Event called when subcomponent is initialized.
Called only after all other subcomponents were registered as well and can be searched for. To be overwritten by inherited classes.
Widget |
Implements MenuRootSubComponent.
|
protected |
Implements SCR_BasePaginationUIComponent.
|
protected |
|
protected |
Is the component to exist only in one instance? If so, it will be registered in the list of components and can be searched for.
To be overwritten by inherited classes.
Implements SCR_BasePaginationUIComponent.
|
protected |
|
protected |
|
protected |
Implements SCR_BasePaginationUIComponent.
|
protected |
Implements SCR_BasePaginationUIComponent.
|
protected |
|
protected |
void SCR_ContentBrowserEditorUIComponent.OnCardLMB | ( | Widget | assetWidget | ) |
On Card click.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
override void SCR_ContentBrowserEditorUIComponent.ShowEntries | ( | Widget | contentWidget, |
int | indexStart, | ||
int | indexEnd | ||
) |
Function called when the page is refreshed.
To be overridden by inherited classes.
contentWidget | Content widget |
indexStart | Index of the first displayed item |
indexEnd | Index of the last displayed item |
Implements SCR_BasePaginationUIComponent.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |