|
Blender V5.3
|
Classes | |
| struct | [struct].wl |
| struct | [struct].frame_pending |
Public Attributes | |
| struct | wl |
| GWL_CursorShape | shape |
| GWL_Seat * | seat = nullptr |
| uint32_t | serial = 0 |
| bool | proximity = false |
| GHOST_TabletData | data = GHOST_TABLET_DATA_NONE |
| int32_t | xy [2] = {0} |
| bool | has_xy = false |
| struct | frame_pending |
A single tablet can have multiple tools (pen, eraser, brush... etc). WAYLAND exposes tools via #zwp_tablet_tool_v2. Since are no API's to access properties of the tool, store the values here.
Definition at line 571 of file GHOST_SystemWayland.cc.
| GHOST_TabletData GWL_TabletTool::data = GHOST_TABLET_DATA_NONE |
Definition at line 592 of file GHOST_SystemWayland.cc.
Referenced by tablet_tool_handle_frame(), tablet_tool_handle_pressure(), tablet_tool_handle_proximity_in(), tablet_tool_handle_tilt(), and tablet_tool_handle_type().
| struct GWL_TabletTool::[struct].frame_pending GWL_TabletTool::frame_pending |
| bool GWL_TabletTool::has_xy = false |
Definition at line 596 of file GHOST_SystemWayland.cc.
Referenced by tablet_tool_handle_frame(), and tablet_tool_handle_motion().
| bool GWL_TabletTool::proximity = false |
Used to delay clearing tablet focused wl_surface until the frame is handled.
Definition at line 590 of file GHOST_SystemWayland.cc.
Referenced by tablet_tool_handle_frame(), tablet_tool_handle_proximity_in(), and tablet_tool_handle_proximity_out().
| GWL_Seat* GWL_TabletTool::seat = nullptr |
Definition at line 584 of file GHOST_SystemWayland.cc.
Referenced by tablet_seat_handle_tool_added(), tablet_tool_handle_button(), tablet_tool_handle_down(), tablet_tool_handle_frame(), tablet_tool_handle_proximity_in(), and tablet_tool_handle_removed().
| uint32_t GWL_TabletTool::serial = 0 |
The serial, set on proximity_in, cleared on proximity_out.
Definition at line 587 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(), tablet_tool_handle_proximity_in(), and tablet_tool_handle_proximity_out().
| GWL_CursorShape GWL_TabletTool::shape |
Definition at line 582 of file GHOST_SystemWayland.cc.
Referenced by GHOST_SystemWayland::cursor_shape_custom_set(), GHOST_SystemWayland::cursor_shape_set(), gwl_seat_cursor_buffer_show(), and tablet_tool_handle_removed().
| struct GWL_TabletTool::[struct].wl GWL_TabletTool::wl |
| int32_t GWL_TabletTool::xy[2] = {0} |
Motion.
Definition at line 595 of file GHOST_SystemWayland.cc.
Referenced by tablet_tool_handle_frame(), and tablet_tool_handle_motion().