Blender
V3.3
|
Public Attributes | |
wl_fixed_t | xy [2] = {0, 0} |
std::unordered_set< const output_t * > | outputs |
int | theme_scale = 1 |
uint32_t | serial = 0 |
struct wl_surface * | wl_surface = nullptr |
GHOST_Buttons | buttons = GHOST_Buttons() |
State of the pointing device (tablet or mouse).
Definition at line 215 of file GHOST_SystemWayland.cpp.
GHOST_Buttons input_state_pointer_t::buttons = GHOST_Buttons() |
Definition at line 245 of file GHOST_SystemWayland.cpp.
Referenced by GHOST_SystemWayland::getButtons().
std::unordered_set<const output_t *> input_state_pointer_t::outputs |
Outputs on which the cursor is visible.
Definition at line 232 of file GHOST_SystemWayland.cpp.
Referenced by cursor_surface_handle_enter(), cursor_surface_handle_leave(), and update_cursor_scale().
uint32_t input_state_pointer_t::serial = 0 |
The serial of the last used pointer or tablet.
Definition at line 237 of file GHOST_SystemWayland.cpp.
int input_state_pointer_t::theme_scale = 1 |
Definition at line 234 of file GHOST_SystemWayland.cpp.
Referenced by update_cursor_scale().
struct wl_surface* input_state_pointer_t::wl_surface = nullptr |
The surface last used with this pointing device (events with this pointing device will be sent here).
Definition at line 243 of file GHOST_SystemWayland.cpp.
Referenced by GHOST_SystemWayland::getCursorPosition(), and GHOST_SystemWayland::getCursorPositionClientRelative().
wl_fixed_t input_state_pointer_t::xy[2] = {0, 0} |
High precision coordinates.
Mapping to pixels requires the window scale. The following example converts these values to screen coordinates.
Definition at line 229 of file GHOST_SystemWayland.cpp.
Referenced by getCursorPositionClientRelative_impl().