|
Blender V5.0
|
Public Attributes | |
| int32_t | size [2] = {0, 0} |
| bool | is_maximised = false |
| bool | is_fullscreen = false |
| bool | is_active = false |
| int | fractional_scale = 0 |
| int | fractional_scale_preferred = 0 |
| int | buffer_scale = 0 |
| bool | is_scale_init = false |
Definition at line 372 of file GHOST_WindowWayland.cc.
| int GWL_WindowFrame::buffer_scale = 0 |
The scale passed to #wl_surface_set_buffer_scale.
Definition at line 391 of file GHOST_WindowWayland.cc.
Referenced by gwl_window_frame_pending_fractional_scale_set(), gwl_window_frame_pending_fractional_scale_set_notest(), gwl_window_frame_pending_size_set(), gwl_window_frame_update_from_pending_no_lock(), gwl_window_viewport_set(), gwl_window_viewport_unset(), GHOST_WindowWayland::setClientSize(), and xdg_toplevel_handle_configure().
| int GWL_WindowFrame::fractional_scale = 0 |
Disable when the fractional scale is a whole number.
Definition at line 384 of file GHOST_WindowWayland.cc.
Referenced by gwl_window_fractional_from_viewport(), gwl_window_fractional_from_viewport_round(), gwl_window_fractional_to_viewport(), gwl_window_fractional_to_viewport_round(), gwl_window_frame_pending_fractional_scale_set(), gwl_window_frame_pending_fractional_scale_set_notest(), gwl_window_frame_pending_size_set(), gwl_window_frame_update_from_pending_no_lock(), and xdg_toplevel_handle_configure().
| int GWL_WindowFrame::fractional_scale_preferred = 0 |
Store the value of #wp_fractional_scale_v1_listener::preferred_scale before it's applied.
Definition at line 389 of file GHOST_WindowWayland.cc.
Referenced by wp_fractional_scale_handle_preferred_scale().
| bool GWL_WindowFrame::is_active = false |
Definition at line 382 of file GHOST_WindowWayland.cc.
Referenced by gwl_window_frame_update_from_pending_no_lock(), and xdg_toplevel_handle_configure().
| bool GWL_WindowFrame::is_fullscreen = false |
Definition at line 381 of file GHOST_WindowWayland.cc.
Referenced by gwl_window_state_get(), and xdg_toplevel_handle_configure().
| bool GWL_WindowFrame::is_maximised = false |
Definition at line 380 of file GHOST_WindowWayland.cc.
Referenced by gwl_window_state_get(), and xdg_toplevel_handle_configure().
| bool GWL_WindowFrame::is_scale_init = false |
Scale has been set (for the first time).
Definition at line 394 of file GHOST_WindowWayland.cc.
| int32_t GWL_WindowFrame::size[2] = {0, 0} |
The frame size (in pixels).
These must be converted to WAYLAND relative coordinates when the window is scaled by Hi-DPI/fractional scaling.
Definition at line 379 of file GHOST_WindowWayland.cc.
Referenced by gwl_window_frame_pending_size_set(), gwl_window_frame_update_from_pending_no_lock(), gwl_window_viewport_size_update(), GHOST_WindowWayland::setClientSize(), and xdg_toplevel_handle_configure().