|
Blender V4.3
|
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 399 of file GHOST_WindowWayland.cc.
| int GWL_WindowFrame::buffer_scale = 0 |
The scale passed to #wl_surface_set_buffer_scale.
Definition at line 418 of file GHOST_WindowWayland.cc.
Referenced by GHOST_WindowWayland::getDPIHint(), GHOST_WindowWayland::GHOST_WindowWayland(), 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::outputs_changed_update_scale(), GHOST_WindowWayland::scale_get(), GHOST_WindowWayland::scale_params_get(), GHOST_WindowWayland::setClientSize(), GHOST_WindowWayland::wl_fixed_from_window(), GHOST_WindowWayland::wl_fixed_to_window(), and xdg_toplevel_handle_configure().
| int GWL_WindowFrame::fractional_scale = 0 |
Disable when the fractional scale is a whole number.
Definition at line 411 of file GHOST_WindowWayland.cc.
Referenced by GHOST_WindowWayland::getDPIHint(), GHOST_WindowWayland::GHOST_WindowWayland(), 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(), GHOST_WindowWayland::outputs_changed_update_scale(), GHOST_WindowWayland::scale_params_get(), GHOST_WindowWayland::wl_fixed_from_window(), GHOST_WindowWayland::wl_fixed_to_window(), 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 416 of file GHOST_WindowWayland.cc.
Referenced by GHOST_WindowWayland::GHOST_WindowWayland(), GHOST_WindowWayland::outputs_changed_update_scale(), and wp_fractional_scale_handle_preferred_scale().
| bool GWL_WindowFrame::is_active = false |
Definition at line 409 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 408 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 407 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 421 of file GHOST_WindowWayland.cc.
Referenced by GHOST_WindowWayland::GHOST_WindowWayland(), and GHOST_WindowWayland::outputs_changed_update_scale().
| int32_t GWL_WindowFrame::size[2] = {0, 0} |
The frame size (in GHOST window coordinates).
These must be converted to WAYLAND relative coordinates when the window is scaled by Hi-DPI/fractional scaling.
Definition at line 406 of file GHOST_WindowWayland.cc.
Referenced by GHOST_WindowWayland::getClientBounds(), GHOST_WindowWayland::GHOST_WindowWayland(), gwl_window_frame_pending_size_set(), gwl_window_frame_update_from_pending_no_lock(), gwl_window_viewport_size_update(), GHOST_WindowWayland::outputs_changed_update_scale(), GHOST_WindowWayland::setClientHeight(), GHOST_WindowWayland::setClientSize(), GHOST_WindowWayland::setClientWidth(), and xdg_toplevel_handle_configure().