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

Protected Member Functions

override void HandlerAttached (Widget w)
void OnInputDeviceIsGamepad (bool isGamepad)
void ShowPagingButtons (bool animate=true)
void UpdatePagingButtons ()
void SetupHints (int count, bool animate=true)
void CreateWidgets (int count)
Widget CreateWidget ()
void SetAnimationRate ()
void OnItemFocused (Widget w)
void OnCustomLeft ()
void OnCustomRight ()
void OnNavigationLeft ()
void OnNavigationRight ()
void OnNextItem ()
void OnPreviousItem ()
void SetFocusedItem (int index, bool force=false)
void ShowTiles (int startingIndex, bool animate=true)
int GetWidgets (out array< Widget > widgets)
Widget AddItem ()
int AddItem (Widget widget)
void ClearAll ()
void RemoveItem (int item)
void SetCurrentItem (int i, bool animate=false)

Static Protected Member Functions

static SCR_GalleryComponent GetGalleryComponent (string name, Widget parent, bool searchAllChildren=true)

Protected Attributes

int m_iInitialItemCount
int m_iSelectedItem
int m_iCountShownItems
bool m_bMovePerPage
float m_fSpacing
ResourceName m_sItemLayout
string m_sActionLeft
string m_sActionRight
bool m_bShowPagingHints
bool m_bCycleMode
float m_fAnimationTime
bool m_bShowNavigationArrows
string m_sHintName
string m_sContentName
ref array< Widgetm_aWidgets = {}
SCR_SelectionHintComponent m_Hint
SCR_PagingButtonComponent m_PagingLeft
SCR_PagingButtonComponent m_PagingRight
Widget m_wContentRoot
Widget m_wRoot
float m_fAnimationRate = SCR_WLibComponentBase.START_ANIMATION_RATE

Detailed Description

Definition at line 1 of file SCR_GalleryComponent.c.

Member Function Documentation

◆ AddItem() [1/2]

Widget SCR_GalleryComponent::AddItem ( )
inlineprotected

Definition at line 408 of file SCR_GalleryComponent.c.

◆ AddItem() [2/2]

int SCR_GalleryComponent::AddItem ( Widget widget)
inlineprotected

Definition at line 417 of file SCR_GalleryComponent.c.

◆ ClearAll()

void SCR_GalleryComponent::ClearAll ( )
inlineprotected

Definition at line 432 of file SCR_GalleryComponent.c.

◆ CreateWidget()

Widget SCR_GalleryComponent::CreateWidget ( )
inlineprotected

Definition at line 190 of file SCR_GalleryComponent.c.

◆ CreateWidgets()

void SCR_GalleryComponent::CreateWidgets ( int count)
inlineprotected

Definition at line 167 of file SCR_GalleryComponent.c.

◆ GetGalleryComponent()

SCR_GalleryComponent SCR_GalleryComponent::GetGalleryComponent ( string name,
Widget parent,
bool searchAllChildren = true )
inlinestaticprotected

Static method to easily find component by providing name and parent. Searching all children will go through whole hierarchy, instead of immediate chidren

Definition at line 460 of file SCR_GalleryComponent.c.

◆ GetWidgets()

int SCR_GalleryComponent::GetWidgets ( out array< Widget > widgets)
inlineprotected

Definition at line 399 of file SCR_GalleryComponent.c.

◆ HandlerAttached()

override void SCR_GalleryComponent::HandlerAttached ( Widget w)
inlineprotected

Definition at line 53 of file SCR_GalleryComponent.c.

◆ OnCustomLeft()

void SCR_GalleryComponent::OnCustomLeft ( )
inlineprotected

Definition at line 256 of file SCR_GalleryComponent.c.

◆ OnCustomRight()

void SCR_GalleryComponent::OnCustomRight ( )
inlineprotected

Definition at line 271 of file SCR_GalleryComponent.c.

◆ OnInputDeviceIsGamepad()

void SCR_GalleryComponent::OnInputDeviceIsGamepad ( bool isGamepad)
inlineprotected

Definition at line 94 of file SCR_GalleryComponent.c.

◆ OnItemFocused()

void SCR_GalleryComponent::OnItemFocused ( Widget w)
inlineprotected

Definition at line 242 of file SCR_GalleryComponent.c.

◆ OnNavigationLeft()

void SCR_GalleryComponent::OnNavigationLeft ( )
inlineprotected

Definition at line 286 of file SCR_GalleryComponent.c.

◆ OnNavigationRight()

void SCR_GalleryComponent::OnNavigationRight ( )
inlineprotected

Definition at line 295 of file SCR_GalleryComponent.c.

◆ OnNextItem()

void SCR_GalleryComponent::OnNextItem ( )
inlineprotected

Definition at line 304 of file SCR_GalleryComponent.c.

◆ OnPreviousItem()

void SCR_GalleryComponent::OnPreviousItem ( )
inlineprotected

Definition at line 318 of file SCR_GalleryComponent.c.

◆ RemoveItem()

void SCR_GalleryComponent::RemoveItem ( int item)
inlineprotected

Definition at line 439 of file SCR_GalleryComponent.c.

◆ SetAnimationRate()

void SCR_GalleryComponent::SetAnimationRate ( )
inlineprotected

Definition at line 233 of file SCR_GalleryComponent.c.

◆ SetCurrentItem()

void SCR_GalleryComponent::SetCurrentItem ( int i,
bool animate = false )
inlineprotected

Definition at line 452 of file SCR_GalleryComponent.c.

◆ SetFocusedItem()

void SCR_GalleryComponent::SetFocusedItem ( int index,
bool force = false )
inlineprotected

Definition at line 332 of file SCR_GalleryComponent.c.

◆ SetupHints()

void SCR_GalleryComponent::SetupHints ( int count,
bool animate = true )
inlineprotected

Definition at line 142 of file SCR_GalleryComponent.c.

◆ ShowPagingButtons()

void SCR_GalleryComponent::ShowPagingButtons ( bool animate = true)
inlineprotected

Definition at line 102 of file SCR_GalleryComponent.c.

◆ ShowTiles()

void SCR_GalleryComponent::ShowTiles ( int startingIndex,
bool animate = true )
inlineprotected

Definition at line 366 of file SCR_GalleryComponent.c.

◆ UpdatePagingButtons()

void SCR_GalleryComponent::UpdatePagingButtons ( )
inlineprotected

Definition at line 114 of file SCR_GalleryComponent.c.

Member Data Documentation

◆ m_aWidgets

ref array<Widget> SCR_GalleryComponent::m_aWidgets = {}
protected

Definition at line 44 of file SCR_GalleryComponent.c.

◆ m_bCycleMode

bool SCR_GalleryComponent::m_bCycleMode
protected

Definition at line 30 of file SCR_GalleryComponent.c.

◆ m_bMovePerPage

bool SCR_GalleryComponent::m_bMovePerPage
protected

Definition at line 12 of file SCR_GalleryComponent.c.

◆ m_bShowNavigationArrows

bool SCR_GalleryComponent::m_bShowNavigationArrows
protected

Definition at line 36 of file SCR_GalleryComponent.c.

◆ m_bShowPagingHints

bool SCR_GalleryComponent::m_bShowPagingHints
protected

Definition at line 27 of file SCR_GalleryComponent.c.

◆ m_fAnimationRate

float SCR_GalleryComponent::m_fAnimationRate = SCR_WLibComponentBase.START_ANIMATION_RATE
protected

Definition at line 50 of file SCR_GalleryComponent.c.

◆ m_fAnimationTime

float SCR_GalleryComponent::m_fAnimationTime
protected

Definition at line 33 of file SCR_GalleryComponent.c.

◆ m_fSpacing

float SCR_GalleryComponent::m_fSpacing
protected

Definition at line 15 of file SCR_GalleryComponent.c.

◆ m_Hint

SCR_SelectionHintComponent SCR_GalleryComponent::m_Hint
protected

Definition at line 45 of file SCR_GalleryComponent.c.

◆ m_iCountShownItems

int SCR_GalleryComponent::m_iCountShownItems
protected

Definition at line 9 of file SCR_GalleryComponent.c.

◆ m_iInitialItemCount

int SCR_GalleryComponent::m_iInitialItemCount
protected

Definition at line 4 of file SCR_GalleryComponent.c.

◆ m_iSelectedItem

int SCR_GalleryComponent::m_iSelectedItem
protected

Definition at line 6 of file SCR_GalleryComponent.c.

◆ m_PagingLeft

SCR_PagingButtonComponent SCR_GalleryComponent::m_PagingLeft
protected

Definition at line 46 of file SCR_GalleryComponent.c.

◆ m_PagingRight

SCR_PagingButtonComponent SCR_GalleryComponent::m_PagingRight
protected

Definition at line 47 of file SCR_GalleryComponent.c.

◆ m_sActionLeft

string SCR_GalleryComponent::m_sActionLeft
protected

Definition at line 21 of file SCR_GalleryComponent.c.

◆ m_sActionRight

string SCR_GalleryComponent::m_sActionRight
protected

Definition at line 24 of file SCR_GalleryComponent.c.

◆ m_sContentName

string SCR_GalleryComponent::m_sContentName
protected

Definition at line 42 of file SCR_GalleryComponent.c.

◆ m_sHintName

string SCR_GalleryComponent::m_sHintName
protected

Definition at line 39 of file SCR_GalleryComponent.c.

◆ m_sItemLayout

ResourceName SCR_GalleryComponent::m_sItemLayout
protected

Definition at line 18 of file SCR_GalleryComponent.c.

◆ m_wContentRoot

Widget SCR_GalleryComponent::m_wContentRoot
protected

Definition at line 48 of file SCR_GalleryComponent.c.

◆ m_wRoot

Widget SCR_GalleryComponent::m_wRoot
protected

Definition at line 49 of file SCR_GalleryComponent.c.


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