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

Public Member Functions

void CloseContextMenu ()
 
ScriptInvoker GetOnContextMenuToggle ()
 
bool IsContextMenuOpen ()
 
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 OnInputDeviceIsGamepad (bool isGamepad)
 
void PopulateContextMenu (vector cursorWorldPosition)
 
void OpenContextMenu ()
 
vector GetCursorWorldPos ()
 
void RemoveButtonWidgets ()
 
void OnMouseLeftDown ()
 
void OnOpenActionsMenuDown ()
 
void OnContextMenuOptionClicked (Widget widget, float value, EActionTrigger reason)
 
void OnEditorModeChanged ()
 
- 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

ResourceName m_ButtonPath
 
string m_VLayoutWidgetName
 
string m_sBottomBarName
 
int m_ButtonPrefabSizeX
 
int m_ButtonPrefabSizeY
 
float m_fMenuMouseOffsetX
 
float m_fFadeDelayNextButton
 
float m_fButtonFadeSpeed
 
InputManager m_InputManager
 
WorkspaceWidget m_WorkSpace
 
Widget m_ContextMenu
 
Widget m_VLayout
 
SCR_FadeUIComponent m_BottomBarFadeUI
 
vector m_MouseDownScreenPos
 
vector m_MouseDownWorldPos
 
ref map< Widget, SCR_BaseEditorActionm_ButtonActions = new map<Widget, SCR_BaseEditorAction>
 
SCR_BaseActionsEditorComponent m_EditorActionsComponent
 
SCR_EditorManagerEntity m_EditorManager
 
SCR_CursorEditorUIComponent m_CursorComponent
 
SCR_MouseAreaEditorUIComponent m_MouseArea
 
int m_ActionFlagsOnOpen
 
ref ScriptInvoker m_OnContextMenuToggle = new ScriptInvoker()
 
- 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
 

Member Function Documentation

◆ CloseContextMenu()

void SCR_BaseContextMenuEditorUIComponent.CloseContextMenu ( )

◆ GetCursorWorldPos()

vector SCR_BaseContextMenuEditorUIComponent.GetCursorWorldPos ( )
protected

◆ GetOnContextMenuToggle()

ScriptInvoker SCR_BaseContextMenuEditorUIComponent.GetOnContextMenuToggle ( )

◆ HandlerAttachedScripted()

override void SCR_BaseContextMenuEditorUIComponent.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 MenuRootSubComponent.

Implemented in SCR_CommandActionsEditorUIComponent, and SCR_ContextMenuActionsEditorUIComponent.

◆ HandlerDeattached()

override void SCR_BaseContextMenuEditorUIComponent.HandlerDeattached ( Widget  w)

◆ IsContextMenuOpen()

bool SCR_BaseContextMenuEditorUIComponent.IsContextMenuOpen ( )

◆ OnContextMenuOptionClicked()

void SCR_BaseContextMenuEditorUIComponent.OnContextMenuOptionClicked ( Widget  widget,
float  value,
EActionTrigger  reason 
)
protected

◆ OnEditorModeChanged()

void SCR_BaseContextMenuEditorUIComponent.OnEditorModeChanged ( )
protected

◆ OnInputDeviceIsGamepad()

void SCR_BaseContextMenuEditorUIComponent.OnInputDeviceIsGamepad ( bool  isGamepad)
protected

◆ OnMouseLeftDown()

void SCR_BaseContextMenuEditorUIComponent.OnMouseLeftDown ( )
protected

◆ OnOpenActionsMenuDown()

void SCR_BaseContextMenuEditorUIComponent.OnOpenActionsMenuDown ( )
protected

◆ OpenContextMenu()

void SCR_BaseContextMenuEditorUIComponent.OpenContextMenu ( )
protected

◆ PopulateContextMenu()

void SCR_BaseContextMenuEditorUIComponent.PopulateContextMenu ( vector  cursorWorldPosition)
protected

◆ RemoveButtonWidgets()

void SCR_BaseContextMenuEditorUIComponent.RemoveButtonWidgets ( )
protected

Member Data Documentation

◆ m_ActionFlagsOnOpen

int SCR_BaseContextMenuEditorUIComponent.m_ActionFlagsOnOpen
protected

◆ m_BottomBarFadeUI

SCR_FadeUIComponent SCR_BaseContextMenuEditorUIComponent.m_BottomBarFadeUI
protected

◆ m_ButtonActions

ref map<Widget, SCR_BaseEditorAction> SCR_BaseContextMenuEditorUIComponent.m_ButtonActions = new map<Widget, SCR_BaseEditorAction>
protected

◆ m_ButtonPath

ResourceName SCR_BaseContextMenuEditorUIComponent.m_ButtonPath
protected

◆ m_ButtonPrefabSizeX

int SCR_BaseContextMenuEditorUIComponent.m_ButtonPrefabSizeX
protected

◆ m_ButtonPrefabSizeY

int SCR_BaseContextMenuEditorUIComponent.m_ButtonPrefabSizeY
protected

◆ m_ContextMenu

Widget SCR_BaseContextMenuEditorUIComponent.m_ContextMenu
protected

◆ m_CursorComponent

SCR_CursorEditorUIComponent SCR_BaseContextMenuEditorUIComponent.m_CursorComponent
protected

◆ m_EditorActionsComponent

SCR_BaseActionsEditorComponent SCR_BaseContextMenuEditorUIComponent.m_EditorActionsComponent
protected

◆ m_EditorManager

SCR_EditorManagerEntity SCR_BaseContextMenuEditorUIComponent.m_EditorManager
protected

◆ m_fButtonFadeSpeed

float SCR_BaseContextMenuEditorUIComponent.m_fButtonFadeSpeed
protected

◆ m_fFadeDelayNextButton

float SCR_BaseContextMenuEditorUIComponent.m_fFadeDelayNextButton
protected

◆ m_fMenuMouseOffsetX

float SCR_BaseContextMenuEditorUIComponent.m_fMenuMouseOffsetX
protected

◆ m_InputManager

InputManager SCR_BaseContextMenuEditorUIComponent.m_InputManager
protected

◆ m_MouseArea

SCR_MouseAreaEditorUIComponent SCR_BaseContextMenuEditorUIComponent.m_MouseArea
protected

◆ m_MouseDownScreenPos

vector SCR_BaseContextMenuEditorUIComponent.m_MouseDownScreenPos
protected

◆ m_MouseDownWorldPos

vector SCR_BaseContextMenuEditorUIComponent.m_MouseDownWorldPos
protected

◆ m_OnContextMenuToggle

ref ScriptInvoker SCR_BaseContextMenuEditorUIComponent.m_OnContextMenuToggle = new ScriptInvoker()
protected

◆ m_sBottomBarName

string SCR_BaseContextMenuEditorUIComponent.m_sBottomBarName
protected

◆ m_VLayout

Widget SCR_BaseContextMenuEditorUIComponent.m_VLayout
protected

◆ m_VLayoutWidgetName

string SCR_BaseContextMenuEditorUIComponent.m_VLayoutWidgetName
protected

◆ m_WorkSpace

WorkspaceWidget SCR_BaseContextMenuEditorUIComponent.m_WorkSpace
protected

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