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

One column of a scrolling template's seed blueprint. More...

#include <phosphor-zones/include/PhosphorZones/ScrollingTemplate.h>

Public Member Functions

bool operator== (const ScrollingTemplateColumn &) const =default
 

Public Attributes

qreal width = 0.5
 Fraction of the work-area width (gap-aware, same contract as the engine's Proportion kind).
 
int display = 0
 Mirrors PhosphorScrollEngine::ColumnDisplay: 0 Normal, 1 Tabbed.
 

Detailed Description

One column of a scrolling template's seed blueprint.

Widths are plain fractions of the work area (0..1), deliberately NOT the engine's full ColumnWidth kind vocabulary: a Fixed-pixel width in a template would mean different things on different monitors, and a Preset width would point into the template's own preset list — both traps for an object meant to be portable across screens. The display value mirrors the scroll engine's ColumnDisplay wire values (0 = Normal stacked, 1 = Tabbed); the two libraries deliberately do not include each other, so the mirror is by documented value, append-only on both sides.

Member Function Documentation

◆ operator==()

bool PhosphorZones::ScrollingTemplateColumn::operator== ( const ScrollingTemplateColumn ) const
default

Member Data Documentation

◆ display

int PhosphorZones::ScrollingTemplateColumn::display = 0

Mirrors PhosphorScrollEngine::ColumnDisplay: 0 Normal, 1 Tabbed.

◆ width

qreal PhosphorZones::ScrollingTemplateColumn::width = 0.5

Fraction of the work-area width (gap-aware, same contract as the engine's Proportion kind).


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