HikoGUI
A low latency retained GUI
|
#include <hikogui/GUI/gui_event.hpp>
Data Fields | |
hi::hitbox | hitbox = {} |
Information about which widget is underneath the mouse pointer. | |
point2 | position = {} |
The current position of the mouse pointer. | |
point2 | down_position = {} |
The position the last time a button was pressed. | |
vector2 | wheel_delta = {} |
Change in wheel rotation, in points (pt). | |
mouse_buttons | cause = {} |
Buttons which have caused this event. | |
mouse_buttons | down = {} |
Buttons that are also held down. | |
uint8_t | click_count = 0 |
Number of clicks from the last button clicked. | |
Information for a mouse event.
mouse_buttons hi::v1::mouse_event_data::cause = {} |
Buttons which have caused this event.
uint8_t hi::v1::mouse_event_data::click_count = 0 |
Number of clicks from the last button clicked.
mouse_buttons hi::v1::mouse_event_data::down = {} |
Buttons that are also held down.
point2 hi::v1::mouse_event_data::down_position = {} |
The position the last time a button was pressed.
This can be used as the position at the start of a drag event.
hi::hitbox hi::v1::mouse_event_data::hitbox = {} |
Information about which widget is underneath the mouse pointer.
point2 hi::v1::mouse_event_data::position = {} |
The current position of the mouse pointer.
vector2 hi::v1::mouse_event_data::wheel_delta = {} |
Change in wheel rotation, in points (pt).
Some mice have two dimensional mouse wheels.