|
Blender V5.3
|
Classes | |
| struct | [struct].wl |
Public Attributes | |
| struct | wl |
| wl_fixed_t | xy [2] = {0, 0} |
| std::unordered_set< const GWL_Output * > | outputs |
| int | buffer_scale = 1 |
| uint32_t | serial = 0 |
| GHOST_Buttons | buttons = GHOST_Buttons() |
State of the pointing device (tablet or mouse).
Definition at line 726 of file GHOST_SystemWayland.cc.
| int GWL_SeatStatePointer::buffer_scale = 1 |
Definition at line 763 of file GHOST_SystemWayland.cc.
Referenced by gwl_seat_cursor_buffer_scale_calc(), and update_cursor_scale().
| GHOST_Buttons GWL_SeatStatePointer::buttons = GHOST_Buttons() |
Definition at line 772 of file GHOST_SystemWayland.cc.
Referenced by GHOST_SystemWayland::getButtons(), pointer_handle_frame(), tablet_tool_handle_frame(), and touch_seat_handle_frame().
| std::unordered_set<const GWL_Output *> GWL_SeatStatePointer::outputs |
Outputs on which the cursor is visible.
Definition at line 761 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 770 of file GHOST_SystemWayland.cc.
Referenced by GHOST_SystemWayland::cursor_shape_set(), gwl_seat_cursor_buffer_hide(), gwl_seat_cursor_buffer_set(), gwl_seat_cursor_buffer_show(), gwl_seat_state_pointer_active(), pointer_handle_enter(), tablet_tool_handle_proximity_in(), and touch_seat_handle_down().
| struct GWL_SeatStatePointer::[struct].wl GWL_SeatStatePointer::wl |
Referenced by cursor_shape_refresh_for_pointer(), GHOST_SystemWayland::getCursorPosition(), GHOST_SystemWayland::getCursorPositionClientRelative(), gwl_seat_state_pointer_surface_window_set(), pointer_handle_frame(), relative_pointer_handle_relative_motion(), GHOST_SystemWayland::setCursorPosition(), tablet_tool_handle_frame(), tablet_tool_handle_proximity_in(), touch_seat_handle_cancel(), touch_seat_handle_down(), touch_seat_handle_frame(), and GHOST_SystemWayland::window_surface_unref().
| 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 758 of file GHOST_SystemWayland.cc.
Referenced by getCursorPositionClientRelative_impl(), pointer_handle_enter(), pointer_handle_frame(), pointer_handle_motion(), relative_pointer_handle_relative_motion(), relative_pointer_handle_relative_motion_impl(), tablet_tool_handle_frame(), touch_seat_handle_down(), touch_seat_handle_frame(), touch_seat_handle_motion(), and GHOST_SystemWayland::window_cursor_grab_set().