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

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

#include <PhosphorScrollEngine/ScrollEngineTypes.h>

Public Attributes

int index = -1
 Strip index, which is also the index focusColumnAtIndex takes.
int stripPosPx = 0
 The column's LEADING edge in strip coordinates (the first column's leading edge is 0), the same coordinate viewOffsetPx is measured in.
int extentPx = 0
 The column's resolved extent ALONG the strip, in pixels.
ColumnDisplay display = ColumnDisplay::Normal
int activeTile = 0
 Index into tiles of the column's active tile (the shown tab of a tabbed column).
bool maximized = false
 Column::maximizedToEdges, the declared state the compositor mirrors onto the maximize bit.
QVector< ScrollStripModelTile > tiles

Detailed Description

One column of a strip model, in strip order.

Member Data Documentation

◆ activeTile

int PhosphorScrollEngine::ScrollStripModelColumn::activeTile = 0

Index into tiles of the column's active tile (the shown tab of a tabbed column).

◆ display

ColumnDisplay PhosphorScrollEngine::ScrollStripModelColumn::display = ColumnDisplay::Normal

◆ extentPx

int PhosphorScrollEngine::ScrollStripModelColumn::extentPx = 0

The column's resolved extent ALONG the strip, in pixels.

0 for a fully minimized column, which occupies no strip position.

◆ index

int PhosphorScrollEngine::ScrollStripModelColumn::index = -1

Strip index, which is also the index focusColumnAtIndex takes.

◆ maximized

bool PhosphorScrollEngine::ScrollStripModelColumn::maximized = false

Column::maximizedToEdges, the declared state the compositor mirrors onto the maximize bit.

The width-only maximize (toggleMaximizeColumn) is not a flag on the model at all and is not reported here.

◆ stripPosPx

int PhosphorScrollEngine::ScrollStripModelColumn::stripPosPx = 0

The column's LEADING edge in strip coordinates (the first column's leading edge is 0), the same coordinate viewOffsetPx is measured in.

◆ tiles

QVector<ScrollStripModelTile> PhosphorScrollEngine::ScrollStripModelColumn::tiles

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