|
Blender V4.5
|
Classes | |
| struct | [struct].wl |
Public Attributes | |
| struct | wl |
| bool | visible = false |
| bool | is_hardware = true |
| bool | is_custom = false |
| void * | custom_data = nullptr |
| size_t | custom_data_size = 0 |
| GWL_Cursor_AnimHandle * | anim_handle = nullptr |
| std::string | theme_name |
| int | theme_size = 0 |
| int | custom_scale = 1 |
Definition at line 448 of file GHOST_SystemWayland.cc.
| GWL_Cursor_AnimHandle* GWL_Cursor::anim_handle = nullptr |
Use for animated cursors.
Definition at line 477 of file GHOST_SystemWayland.cc.
Referenced by gwl_seat_cursor_anim_begin(), and gwl_seat_cursor_anim_end().
| void* GWL_Cursor::custom_data = nullptr |
Definition at line 472 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 474 of file GHOST_SystemWayland.cc.
Referenced by GHOST_SystemWayland::cursor_shape_custom_set(), and gwl_registry_wl_seat_remove().
| int GWL_Cursor::custom_scale = 1 |
Definition at line 490 of file GHOST_SystemWayland.cc.
Referenced by GHOST_SystemWayland::cursor_shape_custom_set(), gwl_seat_cursor_buffer_set(), 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 471 of file GHOST_SystemWayland.cc.
Referenced by GHOST_SystemWayland::cursor_bitmap_get(), GHOST_SystemWayland::cursor_shape_custom_set(), GHOST_SystemWayland::cursor_shape_set(), gwl_seat_cursor_buffer_set(), gwl_seat_cursor_buffer_show(), 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 469 of file GHOST_SystemWayland.cc.
Referenced by GHOST_SystemWayland::cursor_visibility_set(), gwl_seat_cursor_buffer_set(), and gwl_seat_cursor_visible_set().
| std::string GWL_Cursor::theme_name |
The name of the theme (set by an environment variable). When disabled, leave as an empty string and pass in nullptr to use the default theme.
Definition at line 483 of file GHOST_SystemWayland.cc.
Referenced by gwl_seat_capability_pointer_enable(), gwl_seat_cursor_find_from_shape(), and update_cursor_scale().
| int GWL_Cursor::theme_size = 0 |
The size of the cursor (when looking up a cursor theme). This must be scaled by the maximum output scale when passing to wl_cursor_theme_load. See #update_cursor_scale.
Definition at line 489 of file GHOST_SystemWayland.cc.
Referenced by GHOST_SystemWayland::cursor_shape_custom_set(), GHOST_SystemWayland::getCursorPreferredLogicalSize(), gwl_seat_capability_pointer_enable(), gwl_seat_cursor_find_from_shape(), and update_cursor_scale().
| bool GWL_Cursor::visible = false |
Definition at line 462 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::[struct].wl GWL_Cursor::wl |
Referenced by GHOST_SystemWayland::cursor_bitmap_get(), cursor_buffer_handle_release(), GHOST_SystemWayland::cursor_shape_custom_set(), GHOST_SystemWayland::cursor_shape_set(), gwl_seat_capability_pointer_disable(), gwl_seat_capability_pointer_enable(), gwl_seat_cursor_anim_begin(), gwl_seat_cursor_anim_check(), gwl_seat_cursor_buffer_set(), gwl_seat_cursor_buffer_set_current(), gwl_seat_cursor_buffer_show(), gwl_seat_cursor_find_from_shape(), GHOST_SystemWayland::output_scale_update(), and update_cursor_scale().