Blender
V3.3
|
Public Attributes | |
GHOST_WindowWayland * | w = 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} |
Definition at line 41 of file GHOST_WindowWayland.cpp.
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.
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().
wl_egl_window* window_t::egl_window = nullptr |
Definition at line 73 of file GHOST_WindowWayland.cpp.
Referenced by xdg_surface_handle_configure().
bool window_t::is_active = false |
Definition at line 76 of file GHOST_WindowWayland.cpp.
Referenced by xdg_surface_handle_configure(), and xdg_toplevel_handle_configure().
bool window_t::is_dialog = false |
Definition at line 77 of file GHOST_WindowWayland.cpp.
bool window_t::is_fullscreen = false |
Definition at line 75 of file GHOST_WindowWayland.cpp.
Referenced by xdg_toplevel_handle_configure().
bool window_t::is_maximised = false |
Definition at line 74 of file GHOST_WindowWayland.cpp.
Referenced by xdg_toplevel_handle_configure().
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.
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().
int32_t window_t::size[2] = {0, 0} |
Definition at line 79 of file GHOST_WindowWayland.cpp.
Referenced by xdg_surface_handle_configure().
int32_t window_t::size_pending[2] = {0, 0} |
Definition at line 80 of file GHOST_WindowWayland.cpp.
Referenced by GHOST_WindowWayland::outputs_changed_update_scale(), xdg_surface_handle_configure(), and xdg_toplevel_handle_configure().
GHOST_WindowWayland* window_t::w = nullptr |
Definition at line 42 of file GHOST_WindowWayland.cpp.
Referenced by xdg_surface_handle_configure().
struct wl_surface* window_t::wl_surface = nullptr |
Definition at line 43 of file GHOST_WindowWayland.cpp.
struct xdg_surface* window_t::xdg_surface = nullptr |
Definition at line 66 of file GHOST_WindowWayland.cpp.
Referenced by xdg_surface_handle_configure().
struct xdg_toplevel* window_t::xdg_toplevel = nullptr |
Definition at line 68 of file GHOST_WindowWayland.cpp.
Referenced by GHOST_WindowWayland::GHOST_WindowWayland().
struct zxdg_toplevel_decoration_v1* window_t::xdg_toplevel_decoration = nullptr |
Definition at line 67 of file GHOST_WindowWayland.cpp.