|
Blender V5.0
|
Public Attributes | |
| struct { | |
| wl_surface * surface_cursor = nullptr | |
| wl_buffer * buffer = nullptr | |
| wl_cursor_image image = {0} | |
| } | wl |
| GWL_CursorShape | shape |
| bool | visible = false |
| bool | is_hardware = true |
| bool | is_custom = false |
| void * | custom_data = nullptr |
| size_t | custom_data_size = 0 |
| int | custom_cursor_scale = 0 |
| int | theme_size = 0 |
| bool | use_dark_theme = false |
Definition at line 449 of file GHOST_SystemWayland.cc.
| wl_buffer* GWL_Cursor::buffer = nullptr |
Definition at line 455 of file GHOST_SystemWayland.cc.
Referenced by cursor_buffer_handle_release(), GHOST_SystemWayland::cursor_shape_custom_set(), gwl_registry_wl_seat_remove(), gwl_seat_capability_pointer_enable(), and gwl_seat_cursor_buffer_set_current().
| int GWL_Cursor::custom_cursor_scale = 0 |
The current displayed size, use to check if the cursor need to be re-generated.
Definition at line 476 of file GHOST_SystemWayland.cc.
Referenced by update_cursor_scale().
| void* GWL_Cursor::custom_data = nullptr |
Definition at line 471 of file GHOST_SystemWayland.cc.
Referenced by GHOST_SystemWayland::cursor_bitmap_get(), GHOST_SystemWayland::cursor_shape_custom_set(), and gwl_registry_wl_seat_remove().
| size_t GWL_Cursor::custom_data_size = 0 |
The size of custom_data in bytes.
Definition at line 473 of file GHOST_SystemWayland.cc.
Referenced by GHOST_SystemWayland::cursor_shape_custom_set(), and gwl_registry_wl_seat_remove().
| wl_cursor_image GWL_Cursor::image = {0} |
Definition at line 456 of file GHOST_SystemWayland.cc.
Referenced by GHOST_SystemWayland::cursor_bitmap_get(), GHOST_SystemWayland::cursor_shape_custom_set(), gwl_seat_cursor_buffer_set_current(), and gwl_seat_cursor_buffer_show().
| bool GWL_Cursor::is_custom = false |
When true, a custom image is used to display the cursor (stored in wl_image).
Definition at line 470 of file GHOST_SystemWayland.cc.
Referenced by GHOST_SystemWayland::cursor_bitmap_get(), GHOST_SystemWayland::cursor_shape_custom_set(), GHOST_SystemWayland::cursor_shape_set(), and update_cursor_scale().
| bool GWL_Cursor::is_hardware = true |
When false, hide the hardware cursor, while the cursor is still considered to be visible, since the grab-mode determines the state of the software cursor, this may change - removing the need for a software cursor and in this case it's important the hardware cursor is used.
Definition at line 468 of file GHOST_SystemWayland.cc.
Referenced by GHOST_SystemWayland::cursor_shape_set(), GHOST_SystemWayland::cursor_visibility_set(), gwl_seat_cursor_buffer_set(), and gwl_seat_cursor_visible_set().
| GWL_CursorShape GWL_Cursor::shape |
Definition at line 459 of file GHOST_SystemWayland.cc.
Referenced by GHOST_SystemWayland::cursor_shape_custom_set(), GHOST_SystemWayland::cursor_shape_set(), gwl_seat_capability_pointer_disable(), and gwl_seat_cursor_buffer_show().
| wl_surface* GWL_Cursor::surface_cursor = nullptr |
Definition at line 454 of file GHOST_SystemWayland.cc.
Referenced by gwl_seat_capability_pointer_disable(), gwl_seat_capability_pointer_enable(), gwl_seat_cursor_buffer_set(), and gwl_seat_cursor_buffer_show().
| int GWL_Cursor::theme_size = 0 |
The size of the cursor in logical pixels. This must be scaled by the maximum output scale when calculating the physical pixels. See update_cursor_scale.
Definition at line 483 of file GHOST_SystemWayland.cc.
Referenced by GHOST_SystemWayland::cursor_shape_custom_set(), GHOST_SystemWayland::getCursorPreferredLogicalSize(), and gwl_seat_capability_pointer_enable().
| bool GWL_Cursor::use_dark_theme = false |
Prefer dark theme cursors where possible.
Definition at line 487 of file GHOST_SystemWayland.cc.
Referenced by GHOST_SystemWayland::cursor_shape_custom_set(), and gwl_seat_capability_pointer_enable().
| bool GWL_Cursor::visible = false |
Definition at line 461 of file GHOST_SystemWayland.cc.
Referenced by GHOST_SystemWayland::cursor_shape_custom_set(), GHOST_SystemWayland::cursor_shape_set(), gwl_seat_capability_pointer_enable(), gwl_seat_cursor_buffer_set(), and gwl_seat_cursor_visible_set().
| struct { ... } GWL_Cursor::wl |
Wayland core types.
Referenced by GHOST_SystemWayland::cursor_bitmap_get(), cursor_buffer_handle_release(), GHOST_SystemWayland::cursor_shape_custom_set(), gwl_registry_wl_seat_remove(), gwl_seat_capability_pointer_disable(), gwl_seat_capability_pointer_enable(), gwl_seat_cursor_buffer_set(), gwl_seat_cursor_buffer_set_current(), and gwl_seat_cursor_buffer_show().