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

Go to the source code of this file.

Data Structures

class  SCR_MapElementMoveComponent
 Attach this component to a widget in a map layout to configure interactions. More...
 

Typedefs

typedef func ScriptInvokerWidgetBool
 

Functions

void ScriptInvokerWidgetBool (Widget widget, bool state)
 
void DragWidget (Widget widget, SCR_MapCursorInfo cursorInfo)
 
override void OnMapOpen (MapConfiguration config)
 
override void OnMapClose (MapConfiguration config)
 
override void Update (float timeSlice)
 

Variables

SCR_MapElementMoveComponent HOLD_DRAG_EVENT_TIME = 0.2
 Component for interacting with map tools. More...
 
const protected float ROTATION_DEADZONE = 0.02
 
protected SCR_MapCursorModule m_CursorModule
 
protected SCR_MapCursorInfo m_CursorInfo
 

Typedef Documentation

◆ ScriptInvokerWidgetBool

Definition at line 2 of file SCR_MapToolInteractionUI.c.

Function Documentation

◆ DragWidget()

void DragWidget ( Widget  widget,
SCR_MapCursorInfo  cursorInfo 
)

Drag widget

Parameters
[in]widget
[in]cursorInfo

get widget size

get max screen size

Definition at line 199 of file SCR_MapToolInteractionUI.c.

◆ OnMapClose()

override void OnMapClose ( MapConfiguration  config)

Definition at line 301 of file SCR_MapToolInteractionUI.c.

◆ OnMapOpen()

override void OnMapOpen ( MapConfiguration  config)

Definition at line 292 of file SCR_MapToolInteractionUI.c.

◆ ScriptInvokerWidgetBool()

void ScriptInvokerWidgetBool ( Widget  widget,
bool  state 
)

◆ Update()

override void Update ( float  timeSlice)
Parameters
[in]timeSlice

Definition at line 316 of file SCR_MapToolInteractionUI.c.

Variable Documentation

◆ HOLD_DRAG_EVENT_TIME

SCR_MapElementMoveComponent HOLD_DRAG_EVENT_TIME = 0.2

Component for interacting with map tools.

◆ m_CursorInfo

protected SCR_MapCursorInfo m_CursorInfo

Definition at line 38 of file SCR_MapToolInteractionUI.c.

◆ m_CursorModule

protected SCR_MapCursorModule m_CursorModule

Definition at line 37 of file SCR_MapToolInteractionUI.c.

◆ ROTATION_DEADZONE

const protected float ROTATION_DEADZONE = 0.02

Definition at line 24 of file SCR_MapToolInteractionUI.c.