|
Blender V4.3
|
#include <GHOST_SystemWayland.hh>
Public Attributes | ||
| struct { | ||
| wl_output * output = nullptr | ||
| } | wl | |
| struct { | ||
| struct zxdg_output_v1 * output = nullptr | ||
| } | xdg | |
| GHOST_SystemWayland * | system = nullptr | |
| int32_t | size_native [2] = {0, 0} | |
| int32_t | size_mm [2] = {0, 0} | |
| int32_t | size_logical [2] = {0, 0} | |
| bool | has_size_logical = false | |
| int32_t | position_logical [2] = {0, 0} | |
| bool | has_position_logical = false | |
| int | transform = 0 | |
| int | scale = 1 | |
| int | scale_fractional = (1 * FRACTIONAL_DENOMINATOR) | |
| bool | has_scale_fractional = false | |
| std::string | make | |
| std::string | model | |
Definition at line 100 of file GHOST_SystemWayland.hh.
| bool GWL_Output::has_position_logical = false |
Definition at line 124 of file GHOST_SystemWayland.hh.
| bool GWL_Output::has_scale_fractional = false |
Definition at line 137 of file GHOST_SystemWayland.hh.
Referenced by output_scale_cmp(), outputs_max_scale_or_default(), and outputs_uniform_scale_or_default().
| bool GWL_Output::has_size_logical = false |
Definition at line 120 of file GHOST_SystemWayland.hh.
| std::string GWL_Output::make |
Definition at line 139 of file GHOST_SystemWayland.hh.
| std::string GWL_Output::model |
Definition at line 140 of file GHOST_SystemWayland.hh.
| wl_output* GWL_Output::output = nullptr |
Definition at line 104 of file GHOST_SystemWayland.hh.
Referenced by gwl_registry_wl_output_update().
| struct zxdg_output_v1* GWL_Output::output = nullptr |
Definition at line 109 of file GHOST_SystemWayland.hh.
| int32_t GWL_Output::position_logical[2] = {0, 0} |
Monitor position in pixels.
Definition at line 123 of file GHOST_SystemWayland.hh.
Referenced by xdg_output_handle_logical_position().
| int GWL_Output::scale = 1 |
Definition at line 127 of file GHOST_SystemWayland.hh.
Referenced by output_handle_scale(), output_scale_cmp(), outputs_max_scale_or_default(), and outputs_uniform_scale_or_default().
| int GWL_Output::scale_fractional = (1 * FRACTIONAL_DENOMINATOR) |
The integer scale value should be used in almost all cases, as this is what is used for most API calls. Only use fractional scaling to calculate the DPI.
Definition at line 136 of file GHOST_SystemWayland.hh.
Referenced by output_scale_cmp(), outputs_max_scale_or_default(), and outputs_uniform_scale_or_default().
| int32_t GWL_Output::size_logical[2] = {0, 0} |
Definition at line 119 of file GHOST_SystemWayland.hh.
| int32_t GWL_Output::size_mm[2] = {0, 0} |
Dimensions in millimeter.
Definition at line 117 of file GHOST_SystemWayland.hh.
| int32_t GWL_Output::size_native[2] = {0, 0} |
Dimensions in pixels.
Definition at line 115 of file GHOST_SystemWayland.hh.
Referenced by output_handle_mode().
| GHOST_SystemWayland* GWL_Output::system = nullptr |
Definition at line 112 of file GHOST_SystemWayland.hh.
Referenced by gwl_registry_wl_output_add().
| int GWL_Output::transform = 0 |
Definition at line 126 of file GHOST_SystemWayland.hh.
Referenced by output_handle_geometry().
| struct { ... } GWL_Output::wl |
Wayland core types.
| struct { ... } GWL_Output::xdg |
XDG native types.
Referenced by gwl_registry_wl_output_update().