Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::view::ScreenInfo Struct Reference

#include <window_manager.hpp>

Public Attributes

int id = 0
 Platform screen index.
float x = 0
float y = 0
 Origin in global coordinates.
float width = 0
 Logical width.
float height = 0
 Logical height.
float scale_factor = 1.0f
 HiDPI scale (e.g. 2.0 for Retina).
bool is_primary = false
 Whether this is the main/primary screen.
std::string name
 Human-readable name (e.g. "Built-in Retina Display").

Member Data Documentation

◆ height

float pulp::view::ScreenInfo::height = 0

Logical height.

◆ id

int pulp::view::ScreenInfo::id = 0

Platform screen index.

◆ is_primary

bool pulp::view::ScreenInfo::is_primary = false

Whether this is the main/primary screen.

◆ name

std::string pulp::view::ScreenInfo::name

Human-readable name (e.g. "Built-in Retina Display").

◆ scale_factor

float pulp::view::ScreenInfo::scale_factor = 1.0f

HiDPI scale (e.g. 2.0 for Retina).

◆ width

float pulp::view::ScreenInfo::width = 0

Logical width.

◆ x

float pulp::view::ScreenInfo::x = 0

◆ y

float pulp::view::ScreenInfo::y = 0

Origin in global coordinates.


The documentation for this struct was generated from the following file: