|
TachyonUI 0.1.0
High-performance UI for building tools.
|
Window, monitor and mouse coordinates are physical pixels. More...
#include <gui_core/windows/gui_window_backend.h>
Public Attributes | |
| IntRect | rect |
| Full monitor bounds (virtual screen pixels). | |
| IntRect | workArea |
| Usable area (excludes taskbar/dock). | |
| bool | isPrimary = false |
| The OS's main monitor. | |
| float | contentScale = 1.0f |
| UI scale the user chose for this monitor (1.0 = 100%). | |
| float | refreshRate = 0.0f |
| Hz; 0 when unknown. | |
Window, monitor and mouse coordinates are physical pixels.
The UI scale is applied to styles, not coordinates (see MonitorInfo::contentScale).
| IntRect tachyon::MonitorInfo::rect |
Full monitor bounds (virtual screen pixels).
| IntRect tachyon::MonitorInfo::workArea |
Usable area (excludes taskbar/dock).
| bool tachyon::MonitorInfo::isPrimary = false |
The OS's main monitor.
| float tachyon::MonitorInfo::contentScale = 1.0f |
UI scale the user chose for this monitor (1.0 = 100%).
| float tachyon::MonitorInfo::refreshRate = 0.0f |
Hz; 0 when unknown.