Arma Reforger Script API
|
Download manager list that can group download entries into various sections. More...
Public Member Functions | |
override void | HandlerAttached (Widget w) |
override void | OnTabShow () |
override void | OnTabCreate (Widget menuRoot, ResourceName buttonsLayout, int index) |
override void | OnMenuFocusGained () |
Widget | AddEntry (ResourceName entryPath, SCR_WorkshopItemActionDownload action) |
Add new widget in category based based on category type. | |
void | ChangeEntryCategory (notnull Widget entry, EDownloadManagerActionState type) |
Change widget in category based based on category type. | |
void | RemoveEntry (notnull SCR_DownloadManagerEntry entry) |
SCR_DownloadManagerEntry | DownloadActionLine (notnull SCR_WorkshopItemActionDownload action) |
Find line containing selected download action. | |
SCR_DownloadManagerEntry | EntryWithItem (notnull SCR_WorkshopItem item) |
Find line containing selected item. | |
SCR_DownloadManagerEntry | FocusedEntry () |
Return addon preset line component of currently focused widget if has any. | |
void | ShowPauseResumeAllButton (bool show) |
void | ShowFallbackText (bool show) |
bool | HasContent () |
Return true if there are entries in list. | |
Public Member Functions inherited from SCR_SubMenuBase | |
void | OnMenuFocusGained () |
void | OnMenuFocusLost () |
void | OnMenuShow () |
void | OnMenuHide () |
void | OnMenuUpdate (float tDelta) |
void | OnTabCreate (Widget menuRoot, ResourceName buttonsLayout, int index) |
void | OnTabShow () |
void | OnTabHide () |
void | OnTabRemove () |
void | OnTabChange () |
bool | GetShown () |
int | GetIndex () |
ScriptInvokerVoid | GetOnRequestCloseMenu () |
ScriptInvokerInt2 | GetOnRequestTabChange () |
Public Member Functions inherited from SCR_ScriptedWidgetComponent | |
override void | HandlerAttached (Widget w) |
override bool | OnClick (Widget w, int x, int y, int button) |
Widget | GetRootWidget () |
bool | IsVisible () |
Protected Member Functions | |
void | OnEntryFocus () |
void | OnEntryFocusLost () |
void | UpdateNavButtons (SCR_DownloadManagerEntry entry) |
void | OnClickPauseResume () |
void | OnClickCancel () |
void | OnClickRetry () |
void | OnClickPauseResumeAll () |
void | EnablePauseResumeAll () |
void | FocusFirstLine () |
Protected Member Functions inherited from SCR_SubMenuBase | |
void | ShowNavigationButtons (bool show) |
void | FlagNavigationButtonVisibility (SCR_InputButtonComponent button, bool show) |
void | SetNavigationButtonVisibile (SCR_InputButtonComponent button, bool show, bool animate=false) |
SCR_InputButtonComponent | CreateNavigationButton (string actionName, string label, bool rightFooter=false, bool show=true) |
void | RequestCloseMenu () |
void | RequestTabChange (int newTabIndex) |
Additional Inherited Members | |
Static Public Member Functions inherited from SCR_ScriptedWidgetComponent | |
static SCR_ScriptedWidgetComponent | GetComponent (TypeName componentType, string name, Widget parent, bool searchAllChildren=true) |
Base method for component lookup through the widget library. | |
Public Attributes inherited from SCR_ScriptedWidgetComponent | |
ref ScriptInvoker | m_OnClick = new ScriptInvoker |
Download manager list that can group download entries into various sections.
Widget SCR_DownloadManagerListComponent.AddEntry | ( | ResourceName | entryPath, |
SCR_WorkshopItemActionDownload | action | ||
) |
Add new widget in category based based on category type.
void SCR_DownloadManagerListComponent.ChangeEntryCategory | ( | notnull Widget | entry, |
EDownloadManagerActionState | type | ||
) |
Change widget in category based based on category type.
SCR_DownloadManagerEntry SCR_DownloadManagerListComponent.DownloadActionLine | ( | notnull SCR_WorkshopItemActionDownload | action | ) |
Find line containing selected download action.
|
protected |
SCR_DownloadManagerEntry SCR_DownloadManagerListComponent.EntryWithItem | ( | notnull SCR_WorkshopItem | item | ) |
Find line containing selected item.
SCR_DownloadManagerEntry SCR_DownloadManagerListComponent.FocusedEntry | ( | ) |
Return addon preset line component of currently focused widget if has any.
|
protected |
override void SCR_DownloadManagerListComponent.HandlerAttached | ( | Widget | w | ) |
Implements SCR_ScriptedWidgetComponent.
bool SCR_DownloadManagerListComponent.HasContent | ( | ) |
Return true if there are entries in list.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
override void SCR_DownloadManagerListComponent.OnMenuFocusGained | ( | ) |
Implements SCR_SubMenuBase.
override void SCR_DownloadManagerListComponent.OnTabCreate | ( | Widget | menuRoot, |
ResourceName | buttonsLayout, | ||
int | index | ||
) |
Implements SCR_SubMenuBase.
override void SCR_DownloadManagerListComponent.OnTabShow | ( | ) |
Implements SCR_SubMenuBase.
void SCR_DownloadManagerListComponent.RemoveEntry | ( | notnull SCR_DownloadManagerEntry | entry | ) |
void SCR_DownloadManagerListComponent.ShowFallbackText | ( | bool | show | ) |
void SCR_DownloadManagerListComponent.ShowPauseResumeAllButton | ( | bool | show | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |