G1R AngelScript
Scripting reference for the Gothic 1 Remake
Loading...
Searching...
No Matches
FViewItemWidget_MouseSettings Struct Reference

FViewItemWidget_MouseSettings. More...

Public Member Functions

Functions
FViewItemWidget_MouseSettings & opAssign (FViewItemWidget_MouseSettings Other)

Public Attributes

ViewItemWidget_MouseSettings
float m_ButtonPressTime
 If the mouse button is held down shorter than this threshold the click event is triggered.
float m_ButtonHoldTime
 If the mouse button is held down longer than this threshold the long-click (hold) event is triggered. The hold time only starts after the press time has elapsed.
int m_ButtonsWithLongClick
 Mouse buttons that can trigger long-click (hold) events.

Detailed Description

FViewItemWidget_MouseSettings.

Struct holding the settings for mouse interaction so it can be easily set from outside.

Member Function Documentation

◆ opAssign()

Member Data Documentation

◆ m_ButtonHoldTime

float m_ButtonHoldTime

If the mouse button is held down longer than this threshold the long-click (hold) event is triggered. The hold time only starts after the press time has elapsed.

◆ m_ButtonPressTime

float m_ButtonPressTime

If the mouse button is held down shorter than this threshold the click event is triggered.

◆ m_ButtonsWithLongClick

int m_ButtonsWithLongClick

Mouse buttons that can trigger long-click (hold) events.