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

Public Member Functions

override 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.
 
override void OnInputDeviceIsGamepad (bool isGamepad)
 
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

void CreateItem (SCR_EditorActionData actionData, int shortcutIndex)
 
void OnEditorQuickCommand (int index)
 
void OnEditorQuickCommand1 ()
 
void OnEditorQuickCommand2 ()
 
void OnEditorQuickCommand3 ()
 
void OnEditorQuickCommand4 ()
 
void OnEditorQuickCommand5 ()
 
void OnEditorQuickCommand6 ()
 
void OnEditorQuickCommand7 ()
 
void OnEditorQuickCommand8 ()
 
void OnEditorQuickCommand9 ()
 
void OnEditorQuickCommand10 ()
 
override void ShowEntries (Widget contentWidget, int indexStart, int indexEnd)
 
override void Refresh ()
 
void OnFilterChange (EEditableEntityState state, set< SCR_EditableEntityComponent > entitiesInsert, set< SCR_EditableEntityComponent > entitiesRemove)
 
- 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 ()
 
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< EEditorActionGroup > m_ActionGroups
 
ResourceName m_SeparatorLayout
 
SCR_CommandActionsEditorComponent m_EditorActionsComponent
 
SCR_BaseEditableEntityFilter m_Filter
 
ref array< ref SCR_EditorActionDatam_aActionData = {}
 
ref array< ref SCR_BaseEditorActionm_aShortcuts = {}
 
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()

void SCR_CommandToolbarEditorUIComponent.CreateItem ( SCR_EditorActionData  actionData,
int  shortcutIndex 
)
protected

◆ HandlerAttachedScripted()

override void SCR_CommandToolbarEditorUIComponent.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_CommandToolbarEditorUIComponent.HandlerDeattached ( Widget  w)

◆ IsUnique()

override bool SCR_CommandToolbarEditorUIComponent.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.

To be overwritten by inherited classes.

Returns
True if unique

Implements MenuRootSubComponent.

◆ OnClick()

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

◆ OnEditorQuickCommand()

void SCR_CommandToolbarEditorUIComponent.OnEditorQuickCommand ( int  index)
protected

◆ OnEditorQuickCommand1()

void SCR_CommandToolbarEditorUIComponent.OnEditorQuickCommand1 ( )
protected

◆ OnEditorQuickCommand10()

void SCR_CommandToolbarEditorUIComponent.OnEditorQuickCommand10 ( )
protected

◆ OnEditorQuickCommand2()

void SCR_CommandToolbarEditorUIComponent.OnEditorQuickCommand2 ( )
protected

◆ OnEditorQuickCommand3()

void SCR_CommandToolbarEditorUIComponent.OnEditorQuickCommand3 ( )
protected

◆ OnEditorQuickCommand4()

void SCR_CommandToolbarEditorUIComponent.OnEditorQuickCommand4 ( )
protected

◆ OnEditorQuickCommand5()

void SCR_CommandToolbarEditorUIComponent.OnEditorQuickCommand5 ( )
protected

◆ OnEditorQuickCommand6()

void SCR_CommandToolbarEditorUIComponent.OnEditorQuickCommand6 ( )
protected

◆ OnEditorQuickCommand7()

void SCR_CommandToolbarEditorUIComponent.OnEditorQuickCommand7 ( )
protected

◆ OnEditorQuickCommand8()

void SCR_CommandToolbarEditorUIComponent.OnEditorQuickCommand8 ( )
protected

◆ OnEditorQuickCommand9()

void SCR_CommandToolbarEditorUIComponent.OnEditorQuickCommand9 ( )
protected

◆ OnFilterChange()

void SCR_CommandToolbarEditorUIComponent.OnFilterChange ( EEditableEntityState  state,
set< SCR_EditableEntityComponent entitiesInsert,
set< SCR_EditableEntityComponent entitiesRemove 
)
protected
Parameters
[in]state
[in]entitiesInsert
[in]entitiesRemove

◆ OnInputDeviceIsGamepad()

override void SCR_CommandToolbarEditorUIComponent.OnInputDeviceIsGamepad ( bool  isGamepad)

◆ Refresh()

override void SCR_CommandToolbarEditorUIComponent.Refresh ( )
protected

◆ ShowEntries()

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

Member Data Documentation

◆ m_aActionData

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

◆ m_ActionGroups

ref array<EEditorActionGroup> SCR_CommandToolbarEditorUIComponent.m_ActionGroups
protected

◆ m_Actions

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

◆ m_aShortcuts

ref array<ref SCR_BaseEditorAction> SCR_CommandToolbarEditorUIComponent.m_aShortcuts = {}
protected

◆ m_EditorActionsComponent

SCR_CommandActionsEditorComponent SCR_CommandToolbarEditorUIComponent.m_EditorActionsComponent
protected

◆ m_Filter

SCR_BaseEditableEntityFilter SCR_CommandToolbarEditorUIComponent.m_Filter
protected

◆ m_SeparatorLayout

ResourceName SCR_CommandToolbarEditorUIComponent.m_SeparatorLayout
protected

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