Phosphor
Qt6 / Wayland library suite for window-management tools
Loading...
Searching...
No Matches
PhosphorZones::LayoutSnapshot Struct Reference

#include <PhosphorZones/LayoutComputeTypes.h>

Public Attributes

QUuid layoutId
QString screenId
QRectF screenGeometry
QVector< ZoneSnapshot > zones
qreal screenScale = 0.0
 Logical scale of the output, carried to the result so the applier stamps the frame the geometries were computed in.
qreal fixedDivisor = 1.0
 What fixed geometries are divided by (Layout::fixedGeometryDivisor), resolved on the GUI thread: the worker cannot read the layout.
quint64 zoneGeometryEpoch = 0
 Layout::zoneGeometryEpoch() when the snapshot was taken.
quint64 syncRecalcEpoch = 0
 Layout::syncRecalcEpoch() when the snapshot was taken.

Member Data Documentation

◆ fixedDivisor

qreal PhosphorZones::LayoutSnapshot::fixedDivisor = 1.0

What fixed geometries are divided by (Layout::fixedGeometryDivisor), resolved on the GUI thread: the worker cannot read the layout.

◆ layoutId

QUuid PhosphorZones::LayoutSnapshot::layoutId

◆ screenGeometry

QRectF PhosphorZones::LayoutSnapshot::screenGeometry

◆ screenId

QString PhosphorZones::LayoutSnapshot::screenId

◆ screenScale

qreal PhosphorZones::LayoutSnapshot::screenScale = 0.0

Logical scale of the output, carried to the result so the applier stamps the frame the geometries were computed in.

buildSnapshot always fills a positive one: the caller's scale, or the layout's last recalculation scale when the caller passed none.

◆ syncRecalcEpoch

quint64 PhosphorZones::LayoutSnapshot::syncRecalcEpoch = 0

Layout::syncRecalcEpoch() when the snapshot was taken.

◆ zoneGeometryEpoch

quint64 PhosphorZones::LayoutSnapshot::zoneGeometryEpoch = 0

Layout::zoneGeometryEpoch() when the snapshot was taken.

◆ zones

QVector<ZoneSnapshot> PhosphorZones::LayoutSnapshot::zones

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