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

Public Attributes

GHOST_WindowWaylandw = nullptr
 
struct wl_surface * wl_surface = nullptr
 
std::vector< output_t * > outputs
 
int scale = 0
 
uint32_t dpi = 0
 
struct xdg_surface * xdg_surface = nullptr
 
struct zxdg_toplevel_decoration_v1 * xdg_toplevel_decoration = nullptr
 
struct xdg_toplevel * xdg_toplevel = nullptr
 
enum zxdg_toplevel_decoration_v1_mode decoration_mode = (enum zxdg_toplevel_decoration_v1_mode)0
 
wl_egl_window * egl_window = nullptr
 
bool is_maximised = false
 
bool is_fullscreen = false
 
bool is_active = false
 
bool is_dialog = false
 
int32_t size [2] = {0, 0}
 
int32_t size_pending [2] = {0, 0}
 

Detailed Description

Definition at line 41 of file GHOST_WindowWayland.cpp.

Member Data Documentation

◆ decoration_mode

enum zxdg_toplevel_decoration_v1_mode window_t::decoration_mode = (enum zxdg_toplevel_decoration_v1_mode)0

Definition at line 68 of file GHOST_WindowWayland.cpp.

◆ dpi

uint32_t window_t::dpi = 0

The DPI, either:

  • scale * base_dpi
  • wl_fixed_to_int(scale_fractional * base_dpi) When fractional scaling is available.

Definition at line 60 of file GHOST_WindowWayland.cpp.

Referenced by GHOST_WindowWayland::outputs_changed_update_scale().

◆ egl_window

wl_egl_window* window_t::egl_window = nullptr

Definition at line 73 of file GHOST_WindowWayland.cpp.

Referenced by xdg_surface_handle_configure().

◆ is_active

bool window_t::is_active = false

◆ is_dialog

bool window_t::is_dialog = false

Definition at line 77 of file GHOST_WindowWayland.cpp.

◆ is_fullscreen

bool window_t::is_fullscreen = false

Definition at line 75 of file GHOST_WindowWayland.cpp.

Referenced by xdg_toplevel_handle_configure().

◆ is_maximised

bool window_t::is_maximised = false

Definition at line 74 of file GHOST_WindowWayland.cpp.

Referenced by xdg_toplevel_handle_configure().

◆ outputs

std::vector<output_t *> window_t::outputs

Outputs on which the window is currently shown on.

This is an ordered set (whoever adds to this is responsible for keeping members unique). In practice this is rarely manipulated and is limited by the number of physical displays.

Definition at line 50 of file GHOST_WindowWayland.cpp.

◆ scale

int window_t::scale = 0

The scale value written to #wl_surface_set_buffer_scale.

Definition at line 53 of file GHOST_WindowWayland.cpp.

Referenced by GHOST_WindowWayland::outputs_changed_update_scale(), and xdg_toplevel_handle_configure().

◆ size

int32_t window_t::size[2] = {0, 0}

Definition at line 79 of file GHOST_WindowWayland.cpp.

Referenced by xdg_surface_handle_configure().

◆ size_pending

int32_t window_t::size_pending[2] = {0, 0}

◆ w

GHOST_WindowWayland* window_t::w = nullptr

Definition at line 42 of file GHOST_WindowWayland.cpp.

Referenced by xdg_surface_handle_configure().

◆ wl_surface

struct wl_surface* window_t::wl_surface = nullptr

Definition at line 43 of file GHOST_WindowWayland.cpp.

◆ xdg_surface

struct xdg_surface* window_t::xdg_surface = nullptr

Definition at line 66 of file GHOST_WindowWayland.cpp.

Referenced by xdg_surface_handle_configure().

◆ xdg_toplevel

struct xdg_toplevel* window_t::xdg_toplevel = nullptr

Definition at line 68 of file GHOST_WindowWayland.cpp.

Referenced by GHOST_WindowWayland::GHOST_WindowWayland().

◆ xdg_toplevel_decoration

struct zxdg_toplevel_decoration_v1* window_t::xdg_toplevel_decoration = nullptr

Definition at line 67 of file GHOST_WindowWayland.cpp.


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