#include <window_manager.hpp>
|
| 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").
|
◆ height
| float pulp::view::ScreenInfo::height = 0 |
◆ id
| int pulp::view::ScreenInfo::id = 0 |
◆ 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 |
| float pulp::view::ScreenInfo::x = 0 |
| float pulp::view::ScreenInfo::y = 0 |
Origin in global coordinates.
The documentation for this struct was generated from the following file: