DesignerScreen struct

The screen a HUD is shown on in the designer: its size in pixels and its DPI.

Public variables

float Width
float Height
float Dpi
GGUI::GGEdges SafeArea
What it keeps clear (a notch, a home bar, overscan), in UI units, as ui.SafeArea sees it.
float UIScale
The player's UI scale: everything this much bigger, in fewer units.
bool bShowSafe
the area kept clear is shaded on the canvas

Friends

auto operator==(const DesignerScreen&, const DesignerScreen&) -> bool defaulted