Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_BasePaginationUIComponent Class Reference
Inheritance diagram for SCR_BasePaginationUIComponent:
MenuRootSubComponent SCR_ContentBrowserEditorUIComponent SCR_ExternalPaginationUIComponent

Protected Member Functions

void DisableArrowsSinglePage ()
 Disable page change button if flag is true and number of pages is 1.
void ShowEntries (Widget contentWidget, int indexStart, int indexEnd)
int GetEntryCount ()
int GetRows ()
int GetColumns ()
int GetCurrentPage ()
int GetEntryIndex (Widget w)
ScriptInvoker GetOnPageChanged ()
sealed bool SetPage (int page, bool isRefresh=false)
void FocusWidget (Widget w)
 Separated focus function for later call.
sealed bool RefreshPage ()
void IterateIndex (out int row, out int column)
void EnablePageButton (Widget w, bool enable)
void OnButtonPrev ()
void OnButtonNext ()
void SetUnderCursor (bool newUnderCursor)
void OnInputDeviceIsGamepad (bool isGamepad)
bool IsUnique ()
override bool OnFocus (Widget w, int x, int y)
override bool OnMouseEnter (Widget w, int x, int y)
override bool OnMouseLeave (Widget w, Widget enterW, int x, int y)
override void HandlerAttached (Widget w)
override void HandlerDeattached (Widget w)

Protected Attributes

int m_iRows
int m_iColumns
int m_iMinRows
int m_iMinColumns
string m_sContentName
string m_sButtonPrevName
string m_sButtonNextName
string m_sButtonPrevName_NoScrolling
string m_sButtonNextName_NoScrolling
string m_sFocusPrevName
string m_sFocusNextName
string m_sPageIndexVisualName
string m_sPageIndexVisualText
bool m_bMustHoverOverContent
ref array< ResourceNamem_aEmptyItemLayouts
bool m_bLoop
bool m_bHideArrowsIfDisabled
bool m_bIgnoreGamePadInput
bool m_bPlayAudioOnPageChange
bool m_bShowEmptyEntries
string m_sOnNextPageSfx
string m_sOnPrevPageSfx
bool m_bDisableArrowsSinglePage
int m_iCurrentPage
bool m_bUnderCursor
Widget m_ContentWidget
Widget m_ButtonPrevWidget
Widget m_ButtonNextWidget
Widget m_FocusPrevWidget
Widget m_FocusNextWidget
Widget m_ButtonPrevNoScrollWidget
Widget m_ButtonNextNoScrollWidget
TextWidget m_PageNumberWidget
ref ScriptInvoker m_OnPageChanged = new ScriptInvoker()
int m_FocusedIndex [2]

Detailed Description

Definition at line 1 of file SCR_BasePaginationUIComponent.c.

Member Function Documentation

◆ DisableArrowsSinglePage()

void SCR_BasePaginationUIComponent::DisableArrowsSinglePage ( )
inlineprotected

Disable page change button if flag is true and number of pages is 1.

Definition at line 81 of file SCR_BasePaginationUIComponent.c.

◆ EnablePageButton()

void SCR_BasePaginationUIComponent::EnablePageButton ( Widget w,
bool enable )
inlineprotected

Definition at line 332 of file SCR_BasePaginationUIComponent.c.

◆ FocusWidget()

void SCR_BasePaginationUIComponent::FocusWidget ( Widget w)
inlineprotected

Separated focus function for later call.

Definition at line 308 of file SCR_BasePaginationUIComponent.c.

◆ GetColumns()

int SCR_BasePaginationUIComponent::GetColumns ( )
inlineprotected
Returns
Number of Columns

Definition at line 122 of file SCR_BasePaginationUIComponent.c.

◆ GetCurrentPage()

int SCR_BasePaginationUIComponent::GetCurrentPage ( )
inlineprotected
Returns
Currently selected page

Definition at line 129 of file SCR_BasePaginationUIComponent.c.

◆ GetEntryCount()

int SCR_BasePaginationUIComponent::GetEntryCount ( )
protected

Return total number of entries. To be overridden by inherited classes.

Returns
Number of entries

◆ GetEntryIndex()

int SCR_BasePaginationUIComponent::GetEntryIndex ( Widget w)
inlineprotected
Parameters
wQueried widget
Returns
Index of entry represented by given widget

Definition at line 137 of file SCR_BasePaginationUIComponent.c.

◆ GetOnPageChanged()

ScriptInvoker SCR_BasePaginationUIComponent::GetOnPageChanged ( )
inlineprotected
Returns
Event called when current page changes.

Definition at line 146 of file SCR_BasePaginationUIComponent.c.

◆ GetRows()

int SCR_BasePaginationUIComponent::GetRows ( )
inlineprotected
Returns
Number of rows

Definition at line 115 of file SCR_BasePaginationUIComponent.c.

◆ HandlerAttached()

override void SCR_BasePaginationUIComponent::HandlerAttached ( Widget w)
inlineprotected

Definition at line 460 of file SCR_BasePaginationUIComponent.c.

◆ HandlerDeattached()

override void SCR_BasePaginationUIComponent::HandlerDeattached ( Widget w)
inlineprotected

Definition at line 535 of file SCR_BasePaginationUIComponent.c.

◆ IsUnique()

bool SCR_BasePaginationUIComponent::IsUnique ( )
inlineprotected

Definition at line 390 of file SCR_BasePaginationUIComponent.c.

◆ IterateIndex()

void SCR_BasePaginationUIComponent::IterateIndex ( out int row,
out int column )
inlineprotected

Definition at line 322 of file SCR_BasePaginationUIComponent.c.

◆ OnButtonNext()

void SCR_BasePaginationUIComponent::OnButtonNext ( )
inlineprotected

Definition at line 361 of file SCR_BasePaginationUIComponent.c.

◆ OnButtonPrev()

void SCR_BasePaginationUIComponent::OnButtonPrev ( )
inlineprotected

Definition at line 351 of file SCR_BasePaginationUIComponent.c.

◆ OnFocus()

override bool SCR_BasePaginationUIComponent::OnFocus ( Widget w,
int x,
int y )
inlineprotected

Definition at line 395 of file SCR_BasePaginationUIComponent.c.

◆ OnInputDeviceIsGamepad()

void SCR_BasePaginationUIComponent::OnInputDeviceIsGamepad ( bool isGamepad)
inlineprotected

Definition at line 384 of file SCR_BasePaginationUIComponent.c.

◆ OnMouseEnter()

override bool SCR_BasePaginationUIComponent::OnMouseEnter ( Widget w,
int x,
int y )
inlineprotected

Definition at line 425 of file SCR_BasePaginationUIComponent.c.

◆ OnMouseLeave()

override bool SCR_BasePaginationUIComponent::OnMouseLeave ( Widget w,
Widget enterW,
int x,
int y )
inlineprotected

Definition at line 454 of file SCR_BasePaginationUIComponent.c.

◆ RefreshPage()

sealed bool SCR_BasePaginationUIComponent::RefreshPage ( )
inlineprotected

Refresh the current page.

Returns
True if the page has any content

Definition at line 317 of file SCR_BasePaginationUIComponent.c.

◆ SetPage()

sealed bool SCR_BasePaginationUIComponent::SetPage ( int page,
bool isRefresh = false )
inlineprotected

Set current page.

Parameters
pagePage number
Returns
True if the page has any content

Definition at line 156 of file SCR_BasePaginationUIComponent.c.

◆ SetUnderCursor()

void SCR_BasePaginationUIComponent::SetUnderCursor ( bool newUnderCursor)
inlineprotected

Definition at line 370 of file SCR_BasePaginationUIComponent.c.

◆ ShowEntries()

void SCR_BasePaginationUIComponent::ShowEntries ( Widget contentWidget,
int indexStart,
int indexEnd )
protected

Function called when the page is refreshed. To be overridden by inherited classes.

Parameters
contentWidgetContent widget
indexStartIndex of the first displayed item
indexEndIndex of the last displayed item

Member Data Documentation

◆ m_aEmptyItemLayouts

ref array<ResourceName> SCR_BasePaginationUIComponent::m_aEmptyItemLayouts
protected

Definition at line 46 of file SCR_BasePaginationUIComponent.c.

◆ m_bDisableArrowsSinglePage

bool SCR_BasePaginationUIComponent::m_bDisableArrowsSinglePage
protected

Definition at line 70 of file SCR_BasePaginationUIComponent.c.

◆ m_bHideArrowsIfDisabled

bool SCR_BasePaginationUIComponent::m_bHideArrowsIfDisabled
protected

Definition at line 52 of file SCR_BasePaginationUIComponent.c.

◆ m_bIgnoreGamePadInput

bool SCR_BasePaginationUIComponent::m_bIgnoreGamePadInput
protected

Definition at line 55 of file SCR_BasePaginationUIComponent.c.

◆ m_bLoop

bool SCR_BasePaginationUIComponent::m_bLoop
protected

Definition at line 49 of file SCR_BasePaginationUIComponent.c.

◆ m_bMustHoverOverContent

bool SCR_BasePaginationUIComponent::m_bMustHoverOverContent
protected

Definition at line 43 of file SCR_BasePaginationUIComponent.c.

◆ m_bPlayAudioOnPageChange

bool SCR_BasePaginationUIComponent::m_bPlayAudioOnPageChange
protected

Definition at line 58 of file SCR_BasePaginationUIComponent.c.

◆ m_bShowEmptyEntries

bool SCR_BasePaginationUIComponent::m_bShowEmptyEntries
protected

Definition at line 61 of file SCR_BasePaginationUIComponent.c.

◆ m_bUnderCursor

bool SCR_BasePaginationUIComponent::m_bUnderCursor
protected

Definition at line 73 of file SCR_BasePaginationUIComponent.c.

◆ m_ButtonNextNoScrollWidget

Widget SCR_BasePaginationUIComponent::m_ButtonNextNoScrollWidget
protected

Definition at line 74 of file SCR_BasePaginationUIComponent.c.

◆ m_ButtonNextWidget

Widget SCR_BasePaginationUIComponent::m_ButtonNextWidget
protected

Definition at line 74 of file SCR_BasePaginationUIComponent.c.

◆ m_ButtonPrevNoScrollWidget

Widget SCR_BasePaginationUIComponent::m_ButtonPrevNoScrollWidget
protected

Definition at line 74 of file SCR_BasePaginationUIComponent.c.

◆ m_ButtonPrevWidget

Widget SCR_BasePaginationUIComponent::m_ButtonPrevWidget
protected

Definition at line 74 of file SCR_BasePaginationUIComponent.c.

◆ m_ContentWidget

Widget SCR_BasePaginationUIComponent::m_ContentWidget
protected

Definition at line 74 of file SCR_BasePaginationUIComponent.c.

◆ m_FocusedIndex

int SCR_BasePaginationUIComponent::m_FocusedIndex[2]
protected

Definition at line 77 of file SCR_BasePaginationUIComponent.c.

◆ m_FocusNextWidget

Widget SCR_BasePaginationUIComponent::m_FocusNextWidget
protected

Definition at line 74 of file SCR_BasePaginationUIComponent.c.

◆ m_FocusPrevWidget

Widget SCR_BasePaginationUIComponent::m_FocusPrevWidget
protected

Definition at line 74 of file SCR_BasePaginationUIComponent.c.

◆ m_iColumns

int SCR_BasePaginationUIComponent::m_iColumns
protected

Definition at line 7 of file SCR_BasePaginationUIComponent.c.

◆ m_iCurrentPage

int SCR_BasePaginationUIComponent::m_iCurrentPage
protected

Definition at line 72 of file SCR_BasePaginationUIComponent.c.

◆ m_iMinColumns

int SCR_BasePaginationUIComponent::m_iMinColumns
protected

Definition at line 13 of file SCR_BasePaginationUIComponent.c.

◆ m_iMinRows

int SCR_BasePaginationUIComponent::m_iMinRows
protected

Definition at line 10 of file SCR_BasePaginationUIComponent.c.

◆ m_iRows

int SCR_BasePaginationUIComponent::m_iRows
protected

Definition at line 4 of file SCR_BasePaginationUIComponent.c.

◆ m_OnPageChanged

ref ScriptInvoker SCR_BasePaginationUIComponent::m_OnPageChanged = new ScriptInvoker()
protected

Definition at line 76 of file SCR_BasePaginationUIComponent.c.

◆ m_PageNumberWidget

TextWidget SCR_BasePaginationUIComponent::m_PageNumberWidget
protected

Definition at line 75 of file SCR_BasePaginationUIComponent.c.

◆ m_sButtonNextName

string SCR_BasePaginationUIComponent::m_sButtonNextName
protected

Definition at line 22 of file SCR_BasePaginationUIComponent.c.

◆ m_sButtonNextName_NoScrolling

string SCR_BasePaginationUIComponent::m_sButtonNextName_NoScrolling
protected

Definition at line 28 of file SCR_BasePaginationUIComponent.c.

◆ m_sButtonPrevName

string SCR_BasePaginationUIComponent::m_sButtonPrevName
protected

Definition at line 19 of file SCR_BasePaginationUIComponent.c.

◆ m_sButtonPrevName_NoScrolling

string SCR_BasePaginationUIComponent::m_sButtonPrevName_NoScrolling
protected

Definition at line 25 of file SCR_BasePaginationUIComponent.c.

◆ m_sContentName

string SCR_BasePaginationUIComponent::m_sContentName
protected

Definition at line 16 of file SCR_BasePaginationUIComponent.c.

◆ m_sFocusNextName

string SCR_BasePaginationUIComponent::m_sFocusNextName
protected

Definition at line 34 of file SCR_BasePaginationUIComponent.c.

◆ m_sFocusPrevName

string SCR_BasePaginationUIComponent::m_sFocusPrevName
protected

Definition at line 31 of file SCR_BasePaginationUIComponent.c.

◆ m_sOnNextPageSfx

string SCR_BasePaginationUIComponent::m_sOnNextPageSfx
protected

Definition at line 64 of file SCR_BasePaginationUIComponent.c.

◆ m_sOnPrevPageSfx

string SCR_BasePaginationUIComponent::m_sOnPrevPageSfx
protected

Definition at line 67 of file SCR_BasePaginationUIComponent.c.

◆ m_sPageIndexVisualName

string SCR_BasePaginationUIComponent::m_sPageIndexVisualName
protected

Definition at line 37 of file SCR_BasePaginationUIComponent.c.

◆ m_sPageIndexVisualText

string SCR_BasePaginationUIComponent::m_sPageIndexVisualText
protected

Definition at line 40 of file SCR_BasePaginationUIComponent.c.


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