Tile height INTENT within a column (its extent ACROSS the strip).
More...
#include <PhosphorScrollEngine/ScrollTypes.h>
Tile height INTENT within a column (its extent ACROSS the strip).
Same pixels-are-derived contract as ColumnWidth.
◆ Kind
| Enumerator |
|---|
| Auto | Share the column's CROSS extent left over after Fixed/Preset tiles, proportionally to weight (the default even split at weight 1).
|
| Fixed | Absolute pixel CROSS extent.
|
| Preset | Fraction anchor snapped to the nearest entry of the effective preset list at relayout — same value-anchored contract as ColumnWidth::Preset.
|
◆ makeAuto()
| constexpr WindowHeight PhosphorScrollEngine::WindowHeight::makeAuto |
( |
qreal | w = 1.0 | ) |
|
|
inlinestaticconstexpr |
◆ makeFixed()
| constexpr WindowHeight PhosphorScrollEngine::WindowHeight::makeFixed |
( |
int | px | ) |
|
|
inlinestaticconstexpr |
◆ makePreset()
| constexpr WindowHeight PhosphorScrollEngine::WindowHeight::makePreset |
( |
qreal | fraction | ) |
|
|
inlinestaticconstexpr |
◆ operator==()
| bool PhosphorScrollEngine::WindowHeight::operator== |
( |
const WindowHeight & | other | ) |
const |
|
inline |
◆ fixedPx
| int PhosphorScrollEngine::WindowHeight::fixedPx = 0 |
◆ kind
| Kind PhosphorScrollEngine::WindowHeight::kind = Auto |
◆ presetFraction
| qreal PhosphorScrollEngine::WindowHeight::presetFraction = 0.5 |
◆ weight
| qreal PhosphorScrollEngine::WindowHeight::weight = 1.0 |
The documentation for this struct was generated from the following file:
- phosphor-scroll-engine/include/PhosphorScrollEngine/ScrollTypes.h