|
Blender V4.3
|
Public Attributes | ||
| struct { | ||
| wl_surface * surface_window = nullptr | ||
| } | wl | |
| wl_fixed_t | xy [2] = {0, 0} | |
| std::unordered_set< const GWL_Output * > | outputs | |
| int | theme_scale = 1 | |
| uint32_t | serial = 0 | |
| GHOST_Buttons | buttons = GHOST_Buttons() | |
State of the pointing device (tablet or mouse).
Definition at line 674 of file GHOST_SystemWayland.cc.
| GHOST_Buttons GWL_SeatStatePointer::buttons = GHOST_Buttons() |
Definition at line 708 of file GHOST_SystemWayland.cc.
Referenced by GHOST_SystemWayland::getButtons(), and tablet_tool_handle_frame().
| std::unordered_set<const GWL_Output *> GWL_SeatStatePointer::outputs |
Outputs on which the cursor is visible.
Definition at line 701 of file GHOST_SystemWayland.cc.
Referenced by cursor_surface_handle_enter(), cursor_surface_handle_leave(), GHOST_SystemWayland::output_scale_update(), GHOST_SystemWayland::output_unref(), and update_cursor_scale().
| uint32_t GWL_SeatStatePointer::serial = 0 |
The serial of the last used pointer or tablet.
Definition at line 706 of file GHOST_SystemWayland.cc.
Referenced by gwl_seat_cursor_buffer_hide(), gwl_seat_cursor_buffer_set(), gwl_seat_cursor_buffer_show(), gwl_seat_state_pointer_active(), and tablet_tool_handle_proximity_in().
| wl_surface* GWL_SeatStatePointer::surface_window = nullptr |
The wl_surface last used with this pointing device (events with this pointing device will be sent here).
Definition at line 682 of file GHOST_SystemWayland.cc.
Referenced by GHOST_SystemWayland::getCursorPosition(), GHOST_SystemWayland::getCursorPositionClientRelative(), tablet_tool_handle_frame(), tablet_tool_handle_proximity_in(), and GHOST_SystemWayland::window_surface_unref().
| int GWL_SeatStatePointer::theme_scale = 1 |
Definition at line 703 of file GHOST_SystemWayland.cc.
Referenced by gwl_seat_cursor_buffer_set(), gwl_seat_cursor_buffer_show(), and update_cursor_scale().
| struct { ... } GWL_SeatStatePointer::wl |
| wl_fixed_t GWL_SeatStatePointer::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 698 of file GHOST_SystemWayland.cc.
Referenced by getCursorPositionClientRelative_impl(), and tablet_tool_handle_frame().