The whole strip of one screen as a renderer of a strip MAP needs it: every column with its strip position and extent, the viewport's offset and size on the same axis, and the active column. More...
#include <PhosphorScrollEngine/ScrollEngineTypes.h>
Public Attributes | |
| StripAxis | axis = StripAxis::horizontal() |
| int | viewOffsetPx = 0 |
| The viewport's leading edge in strip coordinates. | |
| int | viewportPx = 0 |
| The viewport's extent along the strip (the work area's main extent). | |
| int | stripExtentPx = 0 |
| Total strip extent: every non-minimized column plus the gaps between. | |
| int | activeColumn = -1 |
| Strip index of the active column, -1 on an empty strip. | |
| QVector< ScrollStripModelColumn > | columns |
The whole strip of one screen as a renderer of a strip MAP needs it: every column with its strip position and extent, the viewport's offset and size on the same axis, and the active column.
Pixels along the strip's own axis throughout, so a consumer reads axis once and lays the rest out along it. Built by ScrollStrip::stripModel from ONE relayout pass; the engine's stripModelForScreen resolves the screen's params once and hands them down, the same cost discipline visibleTilesWithRects follows.
| int PhosphorScrollEngine::ScrollStripModel::activeColumn = -1 |
Strip index of the active column, -1 on an empty strip.
| StripAxis PhosphorScrollEngine::ScrollStripModel::axis = StripAxis::horizontal() |
| QVector<ScrollStripModelColumn> PhosphorScrollEngine::ScrollStripModel::columns |
| int PhosphorScrollEngine::ScrollStripModel::stripExtentPx = 0 |
Total strip extent: every non-minimized column plus the gaps between.
| int PhosphorScrollEngine::ScrollStripModel::viewOffsetPx = 0 |
The viewport's leading edge in strip coordinates.
Can be negative or past the strip's end: the centering policy deliberately stores an anchor whose derived offset overhangs when a short strip is centred.
| int PhosphorScrollEngine::ScrollStripModel::viewportPx = 0 |
The viewport's extent along the strip (the work area's main extent).