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

One tile of a strip MODEL (see ScrollStripModel). More...

#include <PhosphorScrollEngine/ScrollEngineTypes.h>

Public Attributes

QString windowId
int crossPx = 0
 The tile's resolved extent ACROSS the strip, in pixels: its height on a horizontal strip, its width on a vertical one.
bool minimized = false

Detailed Description

One tile of a strip MODEL (see ScrollStripModel).

Unlike the visible-tile walk this keeps every tile the strip holds, minimized and hidden ones included, because a map of the whole strip has to draw the columns the viewport does not show.

Member Data Documentation

◆ crossPx

int PhosphorScrollEngine::ScrollStripModelTile::crossPx = 0

The tile's resolved extent ACROSS the strip, in pixels: its height on a horizontal strip, its width on a vertical one.

0 for a minimized tile, which the relayout drops entirely and so resolves no rect. A hidden tab of a tabbed column carries the shown tab's extent, since every tab is committed at the column's one rect.

◆ minimized

bool PhosphorScrollEngine::ScrollStripModelTile::minimized = false

◆ windowId

QString PhosphorScrollEngine::ScrollStripModelTile::windowId

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