Blender  V3.3
Public Attributes | List of all members
cursor_t Struct Reference

Public Attributes

bool visible = false
 
bool is_hardware = true
 
bool is_custom = false
 
struct wl_surface * wl_surface = nullptr
 
struct wl_buffer * wl_buffer = nullptr
 
struct wl_cursor_image wl_image = {0}
 
struct wl_cursor_theme * wl_theme = nullptr
 
voidcustom_data = nullptr
 
size_t custom_data_size = 0
 
int size = 0
 
std::string theme_name
 
int custom_scale = 1
 

Detailed Description

Definition at line 131 of file GHOST_SystemWayland.cpp.

Member Data Documentation

◆ custom_data

void* cursor_t::custom_data = nullptr

◆ custom_data_size

size_t cursor_t::custom_data_size = 0

Definition at line 146 of file GHOST_SystemWayland.cpp.

Referenced by GHOST_SystemWayland::setCustomCursorShape().

◆ custom_scale

int cursor_t::custom_scale = 1

Definition at line 150 of file GHOST_SystemWayland.cpp.

Referenced by GHOST_SystemWayland::setCustomCursorShape().

◆ is_custom

bool cursor_t::is_custom = false

◆ is_hardware

bool cursor_t::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 139 of file GHOST_SystemWayland.cpp.

Referenced by cursor_visible_set().

◆ size

int cursor_t::size = 0

Definition at line 147 of file GHOST_SystemWayland.cpp.

Referenced by update_cursor_scale().

◆ theme_name

std::string cursor_t::theme_name

Definition at line 148 of file GHOST_SystemWayland.cpp.

Referenced by update_cursor_scale().

◆ visible

bool cursor_t::visible = false

◆ wl_buffer

struct wl_buffer* cursor_t::wl_buffer = nullptr

◆ wl_image

struct wl_cursor_image cursor_t::wl_image = {0}

◆ wl_surface

struct wl_surface* cursor_t::wl_surface = nullptr

Definition at line 141 of file GHOST_SystemWayland.cpp.

◆ wl_theme

struct wl_cursor_theme* cursor_t::wl_theme = nullptr

Definition at line 144 of file GHOST_SystemWayland.cpp.

Referenced by update_cursor_scale().


The documentation for this struct was generated from the following file: