|
Blender V4.3
|
Public Attributes | ||
| struct { | ||
| wl_surface * surface_cursor = nullptr | ||
| wl_buffer * buffer = nullptr | ||
| wl_cursor_image image = {0} | ||
| wl_cursor_theme * theme = nullptr | ||
| const wl_cursor * theme_cursor = nullptr | ||
| const char * theme_cursor_name = nullptr | ||
| } | 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 434 of file GHOST_SystemWayland.cc.
| GWL_Cursor_AnimHandle* GWL_Cursor::anim_handle = nullptr |
Use for animated cursors.
Definition at line 463 of file GHOST_SystemWayland.cc.
Referenced by gwl_seat_cursor_anim_begin().
| wl_buffer* GWL_Cursor::buffer = nullptr |
Definition at line 439 of file GHOST_SystemWayland.cc.
Referenced by gwl_seat_capability_pointer_enable().
| void* GWL_Cursor::custom_data = nullptr |
Definition at line 458 of file GHOST_SystemWayland.cc.
Referenced by gwl_registry_wl_seat_remove().
| size_t GWL_Cursor::custom_data_size = 0 |
The size of custom_data in bytes.
Definition at line 460 of file GHOST_SystemWayland.cc.
Referenced by gwl_registry_wl_seat_remove().
| int GWL_Cursor::custom_scale = 1 |
Definition at line 476 of file GHOST_SystemWayland.cc.
| wl_cursor_image GWL_Cursor::image = {0} |
Definition at line 440 of file GHOST_SystemWayland.cc.
| bool GWL_Cursor::is_custom = false |
When true, a custom image is used to display the cursor (stored in wl_image).
Definition at line 457 of file GHOST_SystemWayland.cc.
Referenced by gwl_seat_cursor_buffer_show().
| 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 455 of file GHOST_SystemWayland.cc.
Referenced by GHOST_SystemWayland::cursor_visibility_set(), and gwl_seat_cursor_visible_set().
| wl_surface* GWL_Cursor::surface_cursor = nullptr |
Definition at line 438 of file GHOST_SystemWayland.cc.
Referenced by gwl_seat_capability_pointer_disable(), gwl_seat_capability_pointer_enable(), and GHOST_SystemWayland::output_scale_update().
| wl_cursor_theme* GWL_Cursor::theme = nullptr |
Definition at line 441 of file GHOST_SystemWayland.cc.
Referenced by gwl_seat_capability_pointer_disable().
| const wl_cursor* GWL_Cursor::theme_cursor = nullptr |
Only set when the cursor is from the theme (it may be animated).
Definition at line 443 of file GHOST_SystemWayland.cc.
Referenced by gwl_seat_cursor_anim_begin(), and gwl_seat_cursor_anim_check().
| const char* GWL_Cursor::theme_cursor_name = nullptr |
Needed so changing the theme scale can reload 'theme_cursor' at a new scale.
Definition at line 445 of file GHOST_SystemWayland.cc.
| 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 469 of file GHOST_SystemWayland.cc.
Referenced by gwl_seat_capability_pointer_enable().
| 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 475 of file GHOST_SystemWayland.cc.
Referenced by gwl_seat_capability_pointer_enable().
| bool GWL_Cursor::visible = false |
Definition at line 448 of file GHOST_SystemWayland.cc.
Referenced by gwl_seat_capability_pointer_enable().
| struct { ... } GWL_Cursor::wl |
Wayland core types.
Referenced by gwl_seat_capability_pointer_disable(), gwl_seat_capability_pointer_enable(), gwl_seat_cursor_anim_begin(), gwl_seat_cursor_anim_check(), and GHOST_SystemWayland::output_scale_update().