Lysa UI  0.0
Lysa UI —UI components for the Lysa Engine
UIEventMouseMove Struct Reference

Detailed Description

Parameters for UIEvent::OnMouseMove.

+ Inheritance diagram for UIEventMouseMove:

Public Attributes

uint32 buttonsState
 Mouse button states bitmask. More...
 
float x
 X coordinate. More...
 
float y
 Y coordinate. More...
 

Additional Inherited Members

- Static Public Attributes inherited from UIEvent
static const std::string OnCreate {"on_create"}
 Called after widget creation (all widgets) More...
 
static const std::string OnDestroy {"on_destroy"}
 Called before widget destruction (all widgets) More...
 
static const std::string OnKeyDown {"on_key_down"}
 Called when the user presses a key & the widget has the keyboard focus (all widgets) More...
 
static const std::string OnKeyUp {"on_key_up"}
 Called when the user releases a key & the widget has the keyboard focus (all widgets) More...
 
static const std::string OnMouseDown {"on_mouse_down"}
 The mouse button has been pressed above the widget or a child (all widgets) More...
 
static const std::string OnMouseUp {"on_mouse_up"}
 The mouse button has been released above the widget or a child (all widgets) More...
 
static const std::string OnMouseMove {"on_mouse_move"}
 The mouse has been moved above the widget (all widgets) More...
 
static const std::string OnGotFocus {"on_got_focus"}
 Widget acquires keyboard focus (all widgets) More...
 
static const std::string OnLostFocus {"on_lost_focus"}
 Widget lost keyboard focus (all widgets) More...
 
static const std::string OnShow {"on_show"}
 Called after visibility change to visible (all widgets) More...
 
static const std::string OnHide {"on_hide"}
 Called after visibility change to hidden (all widgets) More...
 
static const std::string OnEnable {"on_enable"}
 Called after state change to enabled (all widgets) More...
 
static const std::string OnDisable {"on_disable"}
 Called after state change to disabled (all widgets) More...
 
static const std::string OnTextChange {"on_text_change"}
 Text content of the widget has changed. More...
 
static const std::string OnTextInput {"on_text_input"}
 Text content from the user. More...
 
static const std::string OnClick {"on_click"}
 Called when the user clicks on the widget (buttons) More...
 
static const std::string OnStateChange {"on_state_change"}
 A CheckWidget state changed. More...
 
static const std::string OnValueChange {"on_value_change"}
 Value of a ValueSelect widget changed. More...
 
static const std::string OnRangeChange {"on_range_change"}
 Range of a ValueSelect widget changed. More...
 
static const std::string OnResize {"on_resize"}
 A Window size changed. More...
 
static const std::string OnMove {"on_move"}
 A Window position changed. More...
 

Member Data Documentation

uint32 buttonsState

Mouse button states bitmask.

float x

X coordinate.

float y

Y coordinate.