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

One column of a strip snapshot, in strip order. More...

#include <PhosphorScrollEngine/ScrollEngineTypes.h>

Public Attributes

bool tabbed = false
qreal widthFraction = 0.0
 Resolved column extent ALONG THE STRIP as a fraction of the work area's extent on that same axis (engine_snapshot computes both in main-axis role terms, so on a vertical strip this is a HEIGHT share), clamped to (0, 1].
QVector< ScrollStripSnapshotTile > tiles
 MODEL tile order, minimized tiles included.

Detailed Description

One column of a strip snapshot, in strip order.

Popup cards render VARIABLE-WIDTH off widthFraction — each card is its column at preview scale (a half-screen column is a half-width card) — and the bar width sums the same fractions. Tile relRects are column-relative, so without the fraction every column would render as a full-width mini-screen regardless of its actual width.

Member Data Documentation

◆ tabbed

bool PhosphorScrollEngine::ScrollStripSnapshotColumn::tabbed = false

◆ tiles

QVector<ScrollStripSnapshotTile> PhosphorScrollEngine::ScrollStripSnapshotColumn::tiles

MODEL tile order, minimized tiles included.

◆ widthFraction

qreal PhosphorScrollEngine::ScrollStripSnapshotColumn::widthFraction = 0.0

Resolved column extent ALONG THE STRIP as a fraction of the work area's extent on that same axis (engine_snapshot computes both in main-axis role terms, so on a vertical strip this is a HEIGHT share), clamped to (0, 1].

0 when the column resolves no rect (fully minimized) — renderers fall back to a full-extent preview there.


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