Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
SCR_ContentBrowserDetails_GalleryComponent Interface Reference
Inheritance diagram for SCR_ContentBrowserDetails_GalleryComponent:
[legend]

Public Member Functions

override void HandlerAttached (Widget w)
 
override void HandlerDeattached (Widget w)
 
void SetImages (array< BackendImage > images)
 
override bool OnUpdate (Widget w)
 
- 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 Update ()
 
void UpdateAllWidgets ()
 
void UpdateTiles ()
 Updates images on tiles according to currently selected item.
 
void ShowImageOnTile (int id, BackendImage backendImage)
 Shows image on one of preview image boxes Preview image box is of this layout: {F7F8BD8128A6CEAF}UI/layouts/Menus/ContentBrowser/DetailsMenu/Gallery/ContentBrowser_Gallery_ImageWithBackground.layout.
 
void OffsetCurrentItem (int offset)
 Offset - how much to move current item ID right/left.
 
void OnTileClick (SCR_ModularButtonComponent comp)
 Called when a tile is clicked.
 
void OnNextAction ()
 
void OnPrevAction ()
 
void OnNextButton ()
 
void OnPrevButton ()
 
void UpdateSize ()
 

Protected Attributes

ref array< string > m_aTileWidgetNames
 
ref array< Widget > m_aTiles = {}
 
ref array< SCR_BackendImageComponentm_aTileComponents = {}
 
ref array< BackendImage > m_aImages = {}
 
SCR_ContentBrowser_GalleryDialog m_GalleryDialog
 
ref SCR_ContentBrowser_GalleryWidgets m_Widgets = new SCR_ContentBrowser_GalleryWidgets()
 
int m_iCurrentItem
 
int m_iSelectedItem
 
- Protected Attributes inherited from SCR_ScriptedWidgetComponent
Widget m_wRoot
 

Static Protected Attributes

const int UPDATE_DELAY = 250
 

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
 

Member Function Documentation

◆ HandlerAttached()

override void SCR_ContentBrowserDetails_GalleryComponent.HandlerAttached ( Widget  w)

◆ HandlerDeattached()

override void SCR_ContentBrowserDetails_GalleryComponent.HandlerDeattached ( Widget  w)

◆ OffsetCurrentItem()

void SCR_ContentBrowserDetails_GalleryComponent.OffsetCurrentItem ( int  offset)
protected

Offset - how much to move current item ID right/left.

◆ OnNextAction()

void SCR_ContentBrowserDetails_GalleryComponent.OnNextAction ( )
protected

◆ OnNextButton()

void SCR_ContentBrowserDetails_GalleryComponent.OnNextButton ( )
protected

◆ OnPrevAction()

void SCR_ContentBrowserDetails_GalleryComponent.OnPrevAction ( )
protected

◆ OnPrevButton()

void SCR_ContentBrowserDetails_GalleryComponent.OnPrevButton ( )
protected

◆ OnTileClick()

void SCR_ContentBrowserDetails_GalleryComponent.OnTileClick ( SCR_ModularButtonComponent  comp)
protected

Called when a tile is clicked.

◆ OnUpdate()

override bool SCR_ContentBrowserDetails_GalleryComponent.OnUpdate ( Widget  w)

◆ SetImages()

void SCR_ContentBrowserDetails_GalleryComponent.SetImages ( array< BackendImage >  images)

◆ ShowImageOnTile()

void SCR_ContentBrowserDetails_GalleryComponent.ShowImageOnTile ( int  id,
BackendImage  backendImage 
)
protected

Shows image on one of preview image boxes Preview image box is of this layout: {F7F8BD8128A6CEAF}UI/layouts/Menus/ContentBrowser/DetailsMenu/Gallery/ContentBrowser_Gallery_ImageWithBackground.layout.

◆ Update()

void SCR_ContentBrowserDetails_GalleryComponent.Update ( )
protected

◆ UpdateAllWidgets()

void SCR_ContentBrowserDetails_GalleryComponent.UpdateAllWidgets ( )
protected

◆ UpdateSize()

void SCR_ContentBrowserDetails_GalleryComponent.UpdateSize ( )
protected

◆ UpdateTiles()

void SCR_ContentBrowserDetails_GalleryComponent.UpdateTiles ( )
protected

Updates images on tiles according to currently selected item.

Member Data Documentation

◆ m_aImages

ref array<BackendImage> SCR_ContentBrowserDetails_GalleryComponent.m_aImages = {}
protected

◆ m_aTileComponents

ref array<SCR_BackendImageComponent> SCR_ContentBrowserDetails_GalleryComponent.m_aTileComponents = {}
protected

◆ m_aTiles

ref array<Widget> SCR_ContentBrowserDetails_GalleryComponent.m_aTiles = {}
protected

◆ m_aTileWidgetNames

ref array<string> SCR_ContentBrowserDetails_GalleryComponent.m_aTileWidgetNames
protected

◆ m_GalleryDialog

SCR_ContentBrowser_GalleryDialog SCR_ContentBrowserDetails_GalleryComponent.m_GalleryDialog
protected

◆ m_iCurrentItem

int SCR_ContentBrowserDetails_GalleryComponent.m_iCurrentItem
protected

◆ m_iSelectedItem

int SCR_ContentBrowserDetails_GalleryComponent.m_iSelectedItem
protected

◆ m_Widgets

ref SCR_ContentBrowser_GalleryWidgets SCR_ContentBrowserDetails_GalleryComponent.m_Widgets = new SCR_ContentBrowser_GalleryWidgets()
protected

◆ UPDATE_DELAY

const int SCR_ContentBrowserDetails_GalleryComponent.UPDATE_DELAY = 250
staticprotected

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