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

Public Member Functions

override void OnRepeat ()
 
override bool OnClick (Widget w, int x, int y, int button)
 
override void HandlerAttachedScripted (Widget w)
 Event called when subcomponent is initialized.
 
override void HandlerDeattached (Widget w)
 
- Public Member Functions inherited from SCR_BaseToolbarEditorUIComponent
bool IsUnderCursor ()
 
void MarkForRefresh ()
 
override bool OnMouseEnter (Widget w, int x, int y)
 
override bool OnMouseLeave (Widget w, Widget enterW, int x, int y)
 
override void HandlerAttachedScripted (Widget w)
 Event called when subcomponent is initialized.
 
override void HandlerAttached (Widget w)
 
override void HandlerAttachedScripted (Widget w)
 Event called when subcomponent is initialized.
 
override void HandlerDeattached (Widget w)
 
- Public Member Functions inherited from MenuRootSubComponent
Widget GetWidget ()
 Get widget to which the component belongs to.
 
MenuRootBase GetMenu ()
 Get menu of which the widget is part of.
 
MenuRootComponent GetRootComponent ()
 Get root component of this subcomponent,.
 
void HandlerAttachedScripted (Widget w)
 Event called when subcomponent is initialized.
 
override void HandlerAttached (Widget w)
 
override void HandlerDeattached (Widget w)
 

Protected Member Functions

Widget CreateItem (SCR_EditorActionData actionData)
 
override void ShowEntries (Widget contentWidget, int indexStart, int indexEnd)
 
override void Refresh ()
 
void OnGlobalNightModeEnabledChanged (bool enabled)
 
- Protected Member Functions inherited from SCR_BaseToolbarEditorUIComponent
bool CreateItem (out Widget itemWidget, out SCR_BaseToolbarItemEditorUIComponent toolbarItem)
 
void DeleteAllItems ()
 
void SetToolbarVisible (bool show)
 
void ShowEntries (Widget contentWidget, int indexStart, int indexEnd)
 
void Refresh ()
 
void OnPageChanged (int page)
 
void CopyPage (SCR_DialogEditorUIComponent linkedComponent)
 
override bool CanOpenDialog ()
 
override void OnDialogOpened (SCR_DialogEditorUIComponent linkedComponent)
 
override void OnDialogClosed (SCR_DialogEditorUIComponent linkedComponent)
 
- Protected Member Functions inherited from SCR_DialogEditorUIComponent
void AllowFocus (Widget w)
 
void FocusWidget (Widget w)
 
void SetLinkedWidgetVisibility (bool show)
 
void OnInput (float value, EActionTrigger reason)
 
void OnRepeat ()
 
bool CanOpenDialog ()
 
void CloseDialog ()
 
void OnInputDeviceIsGamepad (bool isGamepad)
 
void OnMenuUpdate (float timeSlice)
 
void OnDialogOpened (SCR_DialogEditorUIComponent linkedComponent)
 
void OnDialogClosed (SCR_DialogEditorUIComponent linkedComponent)
 
- Protected Member Functions inherited from SCR_BaseEditorUIComponent
vector OnCancelDown ()
 
bool OnCancelUp ()
 
void OnCancelExpired ()
 
- Protected Member Functions inherited from MenuRootSubComponent
bool IsUnique ()
 Is the component to exist only in one instance? If so, it will be registered in the list of components and can be searched for.
 

Protected Attributes

ref array< ref SCR_ActionsToolbarItemEditorUIComponentm_aItemLayouts
 
ResourceName m_SeparatorLayout
 
SCR_ToolbarActionsEditorComponent m_EditorActionsComponent
 
ref array< ref SCR_EditorActionDatam_aActionData = {}
 
SCR_BaseEditorAction m_RepeatAction
 
int m_iActionFlags
 
ref map< Widget, SCR_BaseEditorActionm_Actions = new map<Widget, SCR_BaseEditorAction>()
 
- Protected Attributes inherited from SCR_BaseToolbarEditorUIComponent
ResourceName m_ItemLayout
 
int m_iHideParentIndexWhenEmpty
 
string m_sEmptyWidgetName
 
string m_sItemsWidgetName
 
SCR_ExternalPaginationUIComponent m_Pagination
 
Widget m_ItemsWidget
 
Widget m_HideWidget
 
int m_iFirstShownIndex
 
int m_iFocusedIndex
 
int m_iItemsCount
 
int m_iPage
 
bool m_bIsUnderCursor
 
- Protected Attributes inherited from SCR_DialogEditorUIComponent
string m_sToggleActionName
 
string m_sRepeatActionName
 
ChimeraMenuPreset m_DialogPreset
 
int m_iHideLinkedIndex
 
bool m_bIsInDialog
 
bool m_CanCloseWithToggleAction = true
 
EditorMenuBase m_EditorMenu
 
SCR_DialogEditorUIComponent m_LinkedComponent
 
- Protected Attributes inherited from SCR_BaseEditorUIComponent
vector m_vClickPosCancel
 

Additional Inherited Members

- Static Public Attributes inherited from SCR_BaseEditorUIComponent
const int CANCEL_CLICK_MAX_DIS = 5
 
const int CANCEL_CLICK_MAX_TIME = 500
 
- Static Protected Attributes inherited from SCR_BaseToolbarEditorUIComponent
static const int EMPTY_Z_ORDER = int.MAX
 

Member Function Documentation

◆ CreateItem()

Widget SCR_ActionsToolbarEditorUIComponent.CreateItem ( SCR_EditorActionData  actionData)
protected

◆ HandlerAttachedScripted()

override void SCR_ActionsToolbarEditorUIComponent.HandlerAttachedScripted ( Widget  w)

Event called when subcomponent is initialized.

Called only after all other subcomponents were registered as well and can be searched for. To be overwritten by inherited classes.

Parameters
Widget

Implements SCR_BaseToolbarEditorUIComponent.

◆ HandlerDeattached()

override void SCR_ActionsToolbarEditorUIComponent.HandlerDeattached ( Widget  w)

◆ OnClick()

override bool SCR_ActionsToolbarEditorUIComponent.OnClick ( Widget  w,
int  x,
int  y,
int  button 
)

◆ OnGlobalNightModeEnabledChanged()

void SCR_ActionsToolbarEditorUIComponent.OnGlobalNightModeEnabledChanged ( bool  enabled)
protected

◆ OnRepeat()

override void SCR_ActionsToolbarEditorUIComponent.OnRepeat ( )

◆ Refresh()

override void SCR_ActionsToolbarEditorUIComponent.Refresh ( )
protected

◆ ShowEntries()

override void SCR_ActionsToolbarEditorUIComponent.ShowEntries ( Widget  contentWidget,
int  indexStart,
int  indexEnd 
)
protected

Member Data Documentation

◆ m_aActionData

ref array<ref SCR_EditorActionData> SCR_ActionsToolbarEditorUIComponent.m_aActionData = {}
protected

◆ m_Actions

ref map<Widget, SCR_BaseEditorAction> SCR_ActionsToolbarEditorUIComponent.m_Actions = new map<Widget, SCR_BaseEditorAction>()
protected

◆ m_aItemLayouts

ref array<ref SCR_ActionsToolbarItemEditorUIComponent> SCR_ActionsToolbarEditorUIComponent.m_aItemLayouts
protected

◆ m_EditorActionsComponent

SCR_ToolbarActionsEditorComponent SCR_ActionsToolbarEditorUIComponent.m_EditorActionsComponent
protected

◆ m_iActionFlags

int SCR_ActionsToolbarEditorUIComponent.m_iActionFlags
protected

◆ m_RepeatAction

SCR_BaseEditorAction SCR_ActionsToolbarEditorUIComponent.m_RepeatAction
protected

◆ m_SeparatorLayout

ResourceName SCR_ActionsToolbarEditorUIComponent.m_SeparatorLayout
protected

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