Blender
V3.3
|
Public Attributes | |
struct input_t * | input = nullptr |
struct wl_surface * | cursor_surface = nullptr |
bool | proximity = false |
GHOST_TabletData | data = GHOST_TABLET_DATA_NONE |
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 158 of file GHOST_SystemWayland.cpp.
struct wl_surface* tablet_tool_input_t::cursor_surface = nullptr |
Definition at line 160 of file GHOST_SystemWayland.cpp.
Referenced by cursor_buffer_set(), cursor_buffer_show(), tablet_seat_handle_tool_added(), and tablet_tool_handle_removed().
GHOST_TabletData tablet_tool_input_t::data = GHOST_TABLET_DATA_NONE |
Definition at line 164 of file GHOST_SystemWayland.cpp.
Referenced by tablet_tool_handle_button(), tablet_tool_handle_down(), tablet_tool_handle_frame(), tablet_tool_handle_pressure(), tablet_tool_handle_proximity_in(), tablet_tool_handle_tilt(), tablet_tool_handle_type(), and tablet_tool_handle_up().
struct input_t* tablet_tool_input_t::input = nullptr |
Definition at line 159 of file GHOST_SystemWayland.cpp.
Referenced by tablet_seat_handle_tool_added(), tablet_tool_handle_button(), tablet_tool_handle_down(), tablet_tool_handle_frame(), tablet_tool_handle_motion(), tablet_tool_handle_proximity_in(), tablet_tool_handle_removed(), tablet_tool_handle_up(), and tablet_tool_handle_wheel().
bool tablet_tool_input_t::proximity = false |
Used to delay clearing tablet focused surface until the frame is handled.
Definition at line 162 of file GHOST_SystemWayland.cpp.
Referenced by tablet_tool_handle_frame(), tablet_tool_handle_proximity_in(), and tablet_tool_handle_proximity_out().