Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_DownloadManagerListComponent.c File Reference

Go to the source code of this file.

Data Structures

class  SCR_DownloadManagerListComponent
 

Functions

SCR_DownloadManagerListComponent SCR_SubMenuBase BaseContainerProps (configRoot:true)
 
override void HandlerAttached (Widget w)
 
override void OnTabShow ()
 
override void OnTabCreate (Widget menuRoot, ResourceName buttonsLayout, int index)
 
Widget AddEntry (ResourceName entryPath, SCR_WorkshopItemActionDownload action)
 Add new widget in category based based on category type. More...
 
void ChangeEntryCategory (notnull Widget entry, EDownloadManagerActionState type)
 Change widget in category based based on category type. More...
 
void RemoveEntry (notnull SCR_DownloadManagerEntry entry)
 
SCR_DownloadManagerEntry DownloadActionLine (notnull SCR_WorkshopItemActionDownload action)
 Find line containing selected download action. More...
 
SCR_DownloadManagerEntry EntryWithItem (notnull SCR_WorkshopItem item)
 Find line containing selected item. More...
 
SCR_DownloadManagerEntry FocusedEntry ()
 Return addon preset line component of currently focused widget if has any. More...
 
void ScrollTop ()
 
void ShowPauseResumeAllButton (bool show)
 
void ShowFallbackText (bool show)
 
bool HasContent ()
 Return true if there are entries in list. More...
 
protected void OnEntryFocus ()
 
protected void OnEntryFocusLost ()
 
protected void UpdateNavButtons (SCR_DownloadManagerEntry entry)
 
protected void OnClickPauseResume ()
 
protected void OnClickCancel ()
 
protected void OnClickRetry ()
 
protected void OnClickPauseResumeAll ()
 
protected void EnablePauseResumeAll ()
 

Variables

protected string m_sList
 
protected string m_sFallbackTextWrapWidget
 
protected ref array< ref SCR_DownloadManagerListCategory > m_aCategories
 
protected ScrollLayoutWidget m_ScrollLayout
 
protected Widget m_wList
 
protected Widget m_wFallbackTextWrap
 
protected SCR_InputButtonComponent m_NavPauseResume
 
protected SCR_InputButtonComponent m_NavPauseResumeAll
 
protected SCR_InputButtonComponent m_NavCancel
 
protected SCR_InputButtonComponent m_NavRetry
 
protected ref array< ref SCR_DownloadManagerEntrym_aAddonLines = {}
 
protected bool m_bAllPaused = false
 
protected SCR_DownloadManagerEntry m_FocusedEntry
 

Function Documentation

◆ AddEntry()

Widget BaseContainerProps::AddEntry ( ResourceName  entryPath,
SCR_WorkshopItemActionDownload  action 
)

Add new widget in category based based on category type.

Definition at line 69 of file SCR_DownloadManagerListComponent.c.

◆ BaseContainerProps()

SCR_DownloadManagerListComponent SCR_SubMenuBase BaseContainerProps ( configRoot:true  )

Definition at line 337 of file SCR_DownloadManagerListComponent.c.

◆ ChangeEntryCategory()

void BaseContainerProps::ChangeEntryCategory ( notnull Widget  entry,
EDownloadManagerActionState  type 
)

Change widget in category based based on category type.

Definition at line 112 of file SCR_DownloadManagerListComponent.c.

◆ DownloadActionLine()

SCR_DownloadManagerEntry BaseContainerProps::DownloadActionLine ( notnull SCR_WorkshopItemActionDownload  action)

Find line containing selected download action.

Definition at line 146 of file SCR_DownloadManagerListComponent.c.

◆ EnablePauseResumeAll()

protected void BaseContainerProps::EnablePauseResumeAll ( )

Definition at line 325 of file SCR_DownloadManagerListComponent.c.

◆ EntryWithItem()

SCR_DownloadManagerEntry BaseContainerProps::EntryWithItem ( notnull SCR_WorkshopItem  item)

Find line containing selected item.

Definition at line 159 of file SCR_DownloadManagerListComponent.c.

◆ FocusedEntry()

SCR_DownloadManagerEntry BaseContainerProps::FocusedEntry ( )

Return addon preset line component of currently focused widget if has any.

Definition at line 172 of file SCR_DownloadManagerListComponent.c.

◆ HandlerAttached()

override void BaseContainerProps::HandlerAttached ( Widget  w)

Definition at line 27 of file SCR_DownloadManagerListComponent.c.

◆ HasContent()

bool BaseContainerProps::HasContent ( )

Return true if there are entries in list.

Definition at line 204 of file SCR_DownloadManagerListComponent.c.

◆ OnClickCancel()

protected void BaseContainerProps::OnClickCancel ( )

Definition at line 276 of file SCR_DownloadManagerListComponent.c.

◆ OnClickPauseResume()

protected void BaseContainerProps::OnClickPauseResume ( )

Definition at line 263 of file SCR_DownloadManagerListComponent.c.

◆ OnClickPauseResumeAll()

protected void BaseContainerProps::OnClickPauseResumeAll ( )

Definition at line 294 of file SCR_DownloadManagerListComponent.c.

◆ OnClickRetry()

protected void BaseContainerProps::OnClickRetry ( )

Definition at line 284 of file SCR_DownloadManagerListComponent.c.

◆ OnEntryFocus()

protected void BaseContainerProps::OnEntryFocus ( )

Definition at line 213 of file SCR_DownloadManagerListComponent.c.

◆ OnEntryFocusLost()

protected void BaseContainerProps::OnEntryFocusLost ( )

Definition at line 225 of file SCR_DownloadManagerListComponent.c.

◆ OnTabCreate()

override void BaseContainerProps::OnTabCreate ( Widget  menuRoot,
ResourceName  buttonsLayout,
int  index 
)

Definition at line 50 of file SCR_DownloadManagerListComponent.c.

◆ OnTabShow()

override void BaseContainerProps::OnTabShow ( )

Definition at line 37 of file SCR_DownloadManagerListComponent.c.

◆ RemoveEntry()

void BaseContainerProps::RemoveEntry ( notnull SCR_DownloadManagerEntry  entry)

Definition at line 138 of file SCR_DownloadManagerListComponent.c.

◆ ScrollTop()

void BaseContainerProps::ScrollTop ( )

Definition at line 182 of file SCR_DownloadManagerListComponent.c.

◆ ShowFallbackText()

void BaseContainerProps::ShowFallbackText ( bool  show)

Definition at line 196 of file SCR_DownloadManagerListComponent.c.

◆ ShowPauseResumeAllButton()

void BaseContainerProps::ShowPauseResumeAllButton ( bool  show)

Definition at line 189 of file SCR_DownloadManagerListComponent.c.

◆ UpdateNavButtons()

protected void BaseContainerProps::UpdateNavButtons ( SCR_DownloadManagerEntry  entry)

Definition at line 232 of file SCR_DownloadManagerListComponent.c.

Variable Documentation

◆ m_aAddonLines

protected ref array<ref SCR_DownloadManagerEntry> m_aAddonLines = {}

Definition at line 20 of file SCR_DownloadManagerListComponent.c.

◆ m_aCategories

protected ref array<ref SCR_DownloadManagerListCategory> m_aCategories

Definition at line 9 of file SCR_DownloadManagerListComponent.c.

◆ m_bAllPaused

protected bool m_bAllPaused = false

Definition at line 22 of file SCR_DownloadManagerListComponent.c.

◆ m_FocusedEntry

protected SCR_DownloadManagerEntry m_FocusedEntry

Definition at line 24 of file SCR_DownloadManagerListComponent.c.

◆ m_NavCancel

protected SCR_InputButtonComponent m_NavCancel

Definition at line 17 of file SCR_DownloadManagerListComponent.c.

◆ m_NavPauseResume

protected SCR_InputButtonComponent m_NavPauseResume

Definition at line 15 of file SCR_DownloadManagerListComponent.c.

◆ m_NavPauseResumeAll

protected SCR_InputButtonComponent m_NavPauseResumeAll

Definition at line 16 of file SCR_DownloadManagerListComponent.c.

◆ m_NavRetry

protected SCR_InputButtonComponent m_NavRetry

Definition at line 18 of file SCR_DownloadManagerListComponent.c.

◆ m_ScrollLayout

protected ScrollLayoutWidget m_ScrollLayout

Definition at line 11 of file SCR_DownloadManagerListComponent.c.

◆ m_sFallbackTextWrapWidget

protected string m_sFallbackTextWrapWidget

Definition at line 6 of file SCR_DownloadManagerListComponent.c.

◆ m_sList

protected string m_sList

Definition at line 3 of file SCR_DownloadManagerListComponent.c.

◆ m_wFallbackTextWrap

protected Widget m_wFallbackTextWrap

Definition at line 13 of file SCR_DownloadManagerListComponent.c.

◆ m_wList

protected Widget m_wList

Definition at line 12 of file SCR_DownloadManagerListComponent.c.