Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_TooltipManagerEditorUIComponent.c File Reference

Go to the source code of this file.

Data Structures

class  SCR_TooltipManagerEditorUIComponent
 

Enumerations

enum  EEditorTooltip {
  DEFAULT, MODE, ENTITY, CONTEXT_ACTION,
  TOOLBAR_ACTION
}
 

Functions

void SetInfo (SCR_UIInfo info, EEditorTooltip type=0, Managed instance=null)
 
void ResetInfo (SCR_UIInfo info=null)
 
void RefreshInfo (SCR_UIInfo info, EEditorTooltip type=0, Managed instance=null)
 
protected void PlayAnimation ()
 
protected void ResetAnimation ()
 
protected void ShowEntityTooltip (SCR_EditableEntityComponent entity)
 
protected void OnHover (EEditableEntityState state, set< SCR_EditableEntityComponent > entitiesInsert, set< SCR_EditableEntityComponent > entitiesRemove)
 
protected void OnInputDeviceIsGamepad (bool isGamepad)
 
protected void OnRadialMenuToggle (IEntity owner, bool isOpened)
 
protected void OnContextMenuToggle (bool isOpened)
 
protected void OnMenuUpdate (float tDelta)
 
protected void OnMenuFocusLost ()
 
override void HandlerAttachedScripted (Widget w)
 
override void HandlerDeattached (Widget w)
 
SCR_TooltipManagerEditorUIComponent SCR_BaseEditorUIComponent SCR_BaseContainerCustomTitleEnum (EEditorTooltip, "m_TooltipType")
 

Variables

protected ref array< ref SCR_TooltipEditorEntry > m_Tooltips
 
protected float m_fDelay
 
protected float m_fFadeInSpeed
 
private float m_fInertiaStrength
 
protected bool m_bTrackHoverState
 
protected InputManager m_InputManager
 
protected SCR_LayersEditorComponent m_LayersManager
 
protected SCR_TooltipAreaEditorUIComponent m_TooltipArea
 
protected SCR_CursorEditorUIComponent m_Cursor
 
protected SCR_BaseTooltipEditorUIComponent m_Tooltip
 
protected SCR_BaseContextMenuEditorUIComponent m_ContextMenu
 
protected SCR_UIInfo m_Info
 
protected Managed m_InfoInstance
 
protected bool m_bTooltipShown
 
SCR_EditorPingInfoDisplay BaseContainerProps ()
 Class that saves the color data for specific ENotificationColor enums for the notification system. More...
 

Enumeration Type Documentation

◆ EEditorTooltip

Enumerator
DEFAULT 
MODE 
ENTITY 
CONTEXT_ACTION 
TOOLBAR_ACTION 

Definition at line 397 of file SCR_TooltipManagerEditorUIComponent.c.

Function Documentation

◆ HandlerAttachedScripted()

override void BaseContainerProps::HandlerAttachedScripted ( Widget  w)

Definition at line 293 of file SCR_TooltipManagerEditorUIComponent.c.

◆ HandlerDeattached()

override void BaseContainerProps::HandlerDeattached ( Widget  w)

Definition at line 341 of file SCR_TooltipManagerEditorUIComponent.c.

◆ OnContextMenuToggle()

protected void BaseContainerProps::OnContextMenuToggle ( bool  isOpened)

Definition at line 205 of file SCR_TooltipManagerEditorUIComponent.c.

◆ OnHover()

protected void BaseContainerProps::OnHover ( EEditableEntityState  state,
set< SCR_EditableEntityComponent entitiesInsert,
set< SCR_EditableEntityComponent entitiesRemove 
)

Definition at line 154 of file SCR_TooltipManagerEditorUIComponent.c.

◆ OnInputDeviceIsGamepad()

protected void BaseContainerProps::OnInputDeviceIsGamepad ( bool  isGamepad)

Definition at line 174 of file SCR_TooltipManagerEditorUIComponent.c.

◆ OnMenuFocusLost()

protected void BaseContainerProps::OnMenuFocusLost ( )

Definition at line 287 of file SCR_TooltipManagerEditorUIComponent.c.

◆ OnMenuUpdate()

protected void BaseContainerProps::OnMenuUpdate ( float  tDelta)

Definition at line 213 of file SCR_TooltipManagerEditorUIComponent.c.

◆ OnRadialMenuToggle()

protected void BaseContainerProps::OnRadialMenuToggle ( IEntity  owner,
bool  isOpened 
)

Definition at line 188 of file SCR_TooltipManagerEditorUIComponent.c.

◆ PlayAnimation()

protected void BaseContainerProps::PlayAnimation ( )

Definition at line 124 of file SCR_TooltipManagerEditorUIComponent.c.

◆ RefreshInfo()

void BaseContainerProps::RefreshInfo ( SCR_UIInfo  info,
EEditorTooltip  type = 0,
Managed  instance = null 
)

Refresh currently shown tooltip, in case it's UI info changed (e.g., action state was toggled).

Parameters
[in]info
[in]type
[in]instance

Definition at line 117 of file SCR_TooltipManagerEditorUIComponent.c.

◆ ResetAnimation()

protected void BaseContainerProps::ResetAnimation ( )

Definition at line 133 of file SCR_TooltipManagerEditorUIComponent.c.

◆ ResetInfo()

void BaseContainerProps::ResetInfo ( SCR_UIInfo  info = null)

Hide currently shown tooltip.

Parameters
[in]infoWhen not null, it will reset tooltip if this one is the current one

Definition at line 95 of file SCR_TooltipManagerEditorUIComponent.c.

◆ SCR_BaseContainerCustomTitleEnum()

◆ SetInfo()

void BaseContainerProps::SetInfo ( SCR_UIInfo  info,
EEditorTooltip  type = 0,
Managed  instance = null 
)

Show tooltip with given params.

Parameters
[in]infoUI info with all visual information
[in]typeTooltip type, influences which layout will be selected
[in]instanceInstance, e.g., entity, which can be accessed for more information

Definition at line 34 of file SCR_TooltipManagerEditorUIComponent.c.

◆ ShowEntityTooltip()

protected void BaseContainerProps::ShowEntityTooltip ( SCR_EditableEntityComponent  entity)

Definition at line 141 of file SCR_TooltipManagerEditorUIComponent.c.

Variable Documentation

◆ m_bTooltipShown

protected bool m_bTooltipShown

Definition at line 27 of file SCR_TooltipManagerEditorUIComponent.c.

◆ m_bTrackHoverState

protected bool m_bTrackHoverState

Definition at line 17 of file SCR_TooltipManagerEditorUIComponent.c.

◆ m_ContextMenu

protected SCR_BaseContextMenuEditorUIComponent m_ContextMenu

Definition at line 24 of file SCR_TooltipManagerEditorUIComponent.c.

◆ m_Cursor

protected SCR_CursorEditorUIComponent m_Cursor

Definition at line 22 of file SCR_TooltipManagerEditorUIComponent.c.

◆ m_fDelay

protected float m_fDelay

Definition at line 8 of file SCR_TooltipManagerEditorUIComponent.c.

◆ m_fFadeInSpeed

protected float m_fFadeInSpeed

Definition at line 11 of file SCR_TooltipManagerEditorUIComponent.c.

◆ m_fInertiaStrength

private float m_fInertiaStrength

Definition at line 14 of file SCR_TooltipManagerEditorUIComponent.c.

◆ m_Info

protected SCR_UIInfo m_Info

Definition at line 25 of file SCR_TooltipManagerEditorUIComponent.c.

◆ m_InfoInstance

protected Managed m_InfoInstance

Definition at line 26 of file SCR_TooltipManagerEditorUIComponent.c.

◆ m_InputManager

protected InputManager m_InputManager

Definition at line 19 of file SCR_TooltipManagerEditorUIComponent.c.

◆ m_LayersManager

protected SCR_LayersEditorComponent m_LayersManager

Definition at line 20 of file SCR_TooltipManagerEditorUIComponent.c.

◆ m_Tooltip

protected SCR_BaseTooltipEditorUIComponent m_Tooltip

Definition at line 23 of file SCR_TooltipManagerEditorUIComponent.c.

◆ m_TooltipArea

protected SCR_TooltipAreaEditorUIComponent m_TooltipArea

Definition at line 21 of file SCR_TooltipManagerEditorUIComponent.c.

◆ m_Tooltips

protected ref array<ref SCR_TooltipEditorEntry> m_Tooltips

Definition at line 5 of file SCR_TooltipManagerEditorUIComponent.c.