Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_ContentBrowserDetails_GalleryComponent Class Reference
Inheritance diagram for SCR_ContentBrowserDetails_GalleryComponent:
SCR_ScriptedWidgetComponent

Protected Member Functions

override void HandlerAttached (Widget w)
override void HandlerDeattached (Widget w)
void SetImages (array< BackendImage > images)
void Update ()
void UpdateAllWidgets ()
void UpdateTiles ()
 Updates images on tiles according to currently selected item.
void ShowImageOnTile (int id, BackendImage backendImage)
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 ()
override bool OnUpdate (Widget w)
void UpdateSize ()

Protected Attributes

ref array< stringm_aTileWidgetNames
ref array< Widgetm_aTiles = {}
ref array< SCR_BackendImageComponentm_aTileComponents = {}
ref array< BackendImagem_aImages = {}
SCR_ContentBrowser_GalleryDialog m_GalleryDialog
ref SCR_ContentBrowser_GalleryWidgets m_Widgets = new SCR_ContentBrowser_GalleryWidgets()
int m_iCurrentItem
int m_iSelectedItem
const int UPDATE_DELAY = 250

Detailed Description

Definition at line 5 of file SCR_ContentBrowserDetails_GalleryComponent.c.

Member Function Documentation

◆ HandlerAttached()

override void SCR_ContentBrowserDetails_GalleryComponent::HandlerAttached ( Widget w)
inlineprotected

Definition at line 24 of file SCR_ContentBrowserDetails_GalleryComponent.c.

◆ HandlerDeattached()

override void SCR_ContentBrowserDetails_GalleryComponent::HandlerDeattached ( Widget w)
inlineprotected

Definition at line 63 of file SCR_ContentBrowserDetails_GalleryComponent.c.

◆ OffsetCurrentItem()

void SCR_ContentBrowserDetails_GalleryComponent::OffsetCurrentItem ( int offset)
inlineprotected

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

Definition at line 164 of file SCR_ContentBrowserDetails_GalleryComponent.c.

◆ OnNextAction()

void SCR_ContentBrowserDetails_GalleryComponent::OnNextAction ( )
inlineprotected

◆ OnNextButton()

void SCR_ContentBrowserDetails_GalleryComponent::OnNextButton ( )
inlineprotected

◆ OnPrevAction()

void SCR_ContentBrowserDetails_GalleryComponent::OnPrevAction ( )
inlineprotected

◆ OnPrevButton()

void SCR_ContentBrowserDetails_GalleryComponent::OnPrevButton ( )
inlineprotected

◆ OnTileClick()

void SCR_ContentBrowserDetails_GalleryComponent::OnTileClick ( SCR_ModularButtonComponent comp)
inlineprotected

Called when a tile is clicked.

Definition at line 176 of file SCR_ContentBrowserDetails_GalleryComponent.c.

◆ OnUpdate()

override bool SCR_ContentBrowserDetails_GalleryComponent::OnUpdate ( Widget w)
inlineprotected

◆ SetImages()

void SCR_ContentBrowserDetails_GalleryComponent::SetImages ( array< BackendImage > images)
inlineprotected

Definition at line 76 of file SCR_ContentBrowserDetails_GalleryComponent.c.

◆ ShowImageOnTile()

void SCR_ContentBrowserDetails_GalleryComponent::ShowImageOnTile ( int id,
BackendImage backendImage )
inlineprotected

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

Definition at line 146 of file SCR_ContentBrowserDetails_GalleryComponent.c.

◆ Update()

void SCR_ContentBrowserDetails_GalleryComponent::Update ( )
inlineprotected

Definition at line 96 of file SCR_ContentBrowserDetails_GalleryComponent.c.

◆ UpdateAllWidgets()

void SCR_ContentBrowserDetails_GalleryComponent::UpdateAllWidgets ( )
inlineprotected

◆ UpdateSize()

void SCR_ContentBrowserDetails_GalleryComponent::UpdateSize ( )
inlineprotected

◆ UpdateTiles()

void SCR_ContentBrowserDetails_GalleryComponent::UpdateTiles ( )
inlineprotected

Updates images on tiles according to currently selected item.

Definition at line 126 of file SCR_ContentBrowserDetails_GalleryComponent.c.

Member Data Documentation

◆ m_aImages

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

Definition at line 13 of file SCR_ContentBrowserDetails_GalleryComponent.c.

◆ m_aTileComponents

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

Definition at line 12 of file SCR_ContentBrowserDetails_GalleryComponent.c.

◆ m_aTiles

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

Definition at line 11 of file SCR_ContentBrowserDetails_GalleryComponent.c.

◆ m_aTileWidgetNames

ref array<string> SCR_ContentBrowserDetails_GalleryComponent::m_aTileWidgetNames
protected

Definition at line 8 of file SCR_ContentBrowserDetails_GalleryComponent.c.

◆ m_GalleryDialog

SCR_ContentBrowser_GalleryDialog SCR_ContentBrowserDetails_GalleryComponent::m_GalleryDialog
protected

Definition at line 14 of file SCR_ContentBrowserDetails_GalleryComponent.c.

◆ m_iCurrentItem

int SCR_ContentBrowserDetails_GalleryComponent::m_iCurrentItem
protected

Definition at line 18 of file SCR_ContentBrowserDetails_GalleryComponent.c.

◆ m_iSelectedItem

int SCR_ContentBrowserDetails_GalleryComponent::m_iSelectedItem
protected

Definition at line 19 of file SCR_ContentBrowserDetails_GalleryComponent.c.

◆ m_Widgets

ref SCR_ContentBrowser_GalleryWidgets SCR_ContentBrowserDetails_GalleryComponent::m_Widgets = new SCR_ContentBrowser_GalleryWidgets()
protected

Definition at line 16 of file SCR_ContentBrowserDetails_GalleryComponent.c.

◆ UPDATE_DELAY

const int SCR_ContentBrowserDetails_GalleryComponent::UPDATE_DELAY = 250
protected

Definition at line 21 of file SCR_ContentBrowserDetails_GalleryComponent.c.


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