Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_TooltipManagerEditorUIComponent.c File Reference

Go to the source code of this file.

Classes

class  SCR_TooltipManagerEditorUIComponent

Enumerations

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

Functions

SCR_TooltipManagerEditorUIComponent SCR_BaseEditorUIComponent BaseContainerProps ()
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)
void PlayAnimation ()
void ResetAnimation ()
void ShowEntityTooltip (SCR_EditableEntityComponent entity)
void OnHover (EEditableEntityState state, set< SCR_EditableEntityComponent > entitiesInsert, set< SCR_EditableEntityComponent > entitiesRemove)
void OnInputDeviceIsGamepad (bool isGamepad)
void OnRadialMenuToggle (IEntity owner, bool isOpened)
void OnContextMenuToggle (bool isOpened)
void OnMenuUpdate (float tDelta)
void OnMenuFocusLost ()
override void HandlerAttachedScripted (Widget w)
override void HandlerDeattached (Widget w)
SCR_TooltipManagerEditorUIComponent SCR_BaseEditorUIComponent SCR_BaseContainerCustomTitleEnum (EEditorTooltip, "m_TooltipType")

Variables

ref array< ref SCR_TooltipEditorEntry > m_Tooltips
float m_fDelay
float m_fFadeInSpeed
bool m_bTrackHoverState
InputManager m_InputManager
SCR_LayersEditorComponent m_LayersManager
SCR_TooltipAreaEditorUIComponent m_TooltipArea
SCR_CursorEditorUIComponent m_Cursor
SCR_BaseTooltipEditorUIComponent m_Tooltip
SCR_BaseContextMenuEditorUIComponent m_ContextMenu
SCR_UIInfo m_Info
Managed m_InfoInstance
bool m_bTooltipShown

Enumeration Type Documentation

◆ EEditorTooltip

Enumerator
DEFAULT 
MODE 
ENTITY 
CONTEXT_ACTION 
TOOLBAR_ACTION 

Definition at line 397 of file SCR_TooltipManagerEditorUIComponent.c.

Function Documentation

◆ BaseContainerProps()

◆ HandlerAttachedScripted()

override void BaseContainerProps::HandlerAttachedScripted ( Widget w)
protected

Definition at line 291 of file SCR_TooltipManagerEditorUIComponent.c.

◆ HandlerDeattached()

override void BaseContainerProps::HandlerDeattached ( Widget w)
protected

Definition at line 339 of file SCR_TooltipManagerEditorUIComponent.c.

◆ OnContextMenuToggle()

void BaseContainerProps::OnContextMenuToggle ( bool isOpened)
protected

Definition at line 203 of file SCR_TooltipManagerEditorUIComponent.c.

◆ OnHover()

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

Definition at line 152 of file SCR_TooltipManagerEditorUIComponent.c.

◆ OnInputDeviceIsGamepad()

void BaseContainerProps::OnInputDeviceIsGamepad ( bool isGamepad)
protected

Definition at line 172 of file SCR_TooltipManagerEditorUIComponent.c.

◆ OnMenuFocusLost()

void BaseContainerProps::OnMenuFocusLost ( )
protected

Definition at line 285 of file SCR_TooltipManagerEditorUIComponent.c.

◆ OnMenuUpdate()

void BaseContainerProps::OnMenuUpdate ( float tDelta)
protected

Definition at line 211 of file SCR_TooltipManagerEditorUIComponent.c.

◆ OnRadialMenuToggle()

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

Definition at line 186 of file SCR_TooltipManagerEditorUIComponent.c.

◆ PlayAnimation()

void BaseContainerProps::PlayAnimation ( )
protected

Definition at line 122 of file SCR_TooltipManagerEditorUIComponent.c.

◆ RefreshInfo()

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

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 115 of file SCR_TooltipManagerEditorUIComponent.c.

◆ ResetAnimation()

void BaseContainerProps::ResetAnimation ( )
protected

Definition at line 131 of file SCR_TooltipManagerEditorUIComponent.c.

◆ ResetInfo()

void BaseContainerProps::ResetInfo ( SCR_UIInfo info = null)
protected

Hide currently shown tooltip.

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

Definition at line 93 of file SCR_TooltipManagerEditorUIComponent.c.

◆ SCR_BaseContainerCustomTitleEnum()

SCR_TooltipManagerEditorUIComponent SCR_BaseEditorUIComponent SCR_BaseContainerCustomTitleEnum ( EEditorTooltip ,
"m_TooltipType"  )
Returns

Definition at line 373 of file SCR_TooltipManagerEditorUIComponent.c.

◆ SetInfo()

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

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 32 of file SCR_TooltipManagerEditorUIComponent.c.

◆ ShowEntityTooltip()

void BaseContainerProps::ShowEntityTooltip ( SCR_EditableEntityComponent entity)
protected

Definition at line 139 of file SCR_TooltipManagerEditorUIComponent.c.

Variable Documentation

◆ m_bTooltipShown

bool m_bTooltipShown
protected

Definition at line 25 of file SCR_TooltipManagerEditorUIComponent.c.

◆ m_bTrackHoverState

bool m_bTrackHoverState
protected

Definition at line 15 of file SCR_TooltipManagerEditorUIComponent.c.

◆ m_ContextMenu

SCR_BaseContextMenuEditorUIComponent m_ContextMenu
protected

Definition at line 22 of file SCR_TooltipManagerEditorUIComponent.c.

◆ m_Cursor

SCR_CursorEditorUIComponent m_Cursor
protected

Definition at line 20 of file SCR_TooltipManagerEditorUIComponent.c.

◆ m_fDelay

float m_fDelay
protected

Definition at line 6 of file SCR_TooltipManagerEditorUIComponent.c.

◆ m_fFadeInSpeed

float m_fFadeInSpeed
protected

Definition at line 9 of file SCR_TooltipManagerEditorUIComponent.c.

◆ m_Info

SCR_UIInfo m_Info
protected

Definition at line 23 of file SCR_TooltipManagerEditorUIComponent.c.

◆ m_InfoInstance

Managed m_InfoInstance
protected

Definition at line 24 of file SCR_TooltipManagerEditorUIComponent.c.

◆ m_InputManager

InputManager m_InputManager
protected

Definition at line 17 of file SCR_TooltipManagerEditorUIComponent.c.

◆ m_LayersManager

SCR_LayersEditorComponent m_LayersManager
protected

Definition at line 18 of file SCR_TooltipManagerEditorUIComponent.c.

◆ m_Tooltip

SCR_BaseTooltipEditorUIComponent m_Tooltip
protected

Definition at line 21 of file SCR_TooltipManagerEditorUIComponent.c.

◆ m_TooltipArea

SCR_TooltipAreaEditorUIComponent m_TooltipArea
protected

Definition at line 19 of file SCR_TooltipManagerEditorUIComponent.c.

◆ m_Tooltips

ref array<ref SCR_TooltipEditorEntry> m_Tooltips
protected

Definition at line 3 of file SCR_TooltipManagerEditorUIComponent.c.