Portals0.7.0 · dev (544a5c68c72e · 2026-11-28 UTC)
Loading...
Searching...
No Matches
portals::ui::PrimitiveDecorationModifier Struct Reference

Owning native Border/Gauge/scroll decoration pipe stage. More...

#include <ui_primitives.hpp>

Public Attributes

std::optional< PrimitiveGlyphs > glyphs
 Present one-cell decoration mode.
std::optional< std::size_t > maxPaintCells
 Present positive paint-work cap.

Friends

template<class T>
requires (std::same_as<T, Border> || std::same_as<T, Gauge> || std::same_as<T, Spinner> || std::same_as<T, ScrollArea> ||
std::same_as<T, ScrollBar>)
Description< T > operator| (Description< T > &&description, PrimitiveDecorationModifier modifier)

Detailed Description

Owning native Border/Gauge/scroll decoration pipe stage.

◆ operator|

template<class T>
requires (std::same_as<T, Border> || std::same_as<T, Gauge> || std::same_as<T, Spinner> || std::same_as<T, ScrollArea> ||
std::same_as<T, ScrollBar>)
Description< T > operator| ( Description< T > && description,
PrimitiveDecorationModifier modifier )
friend
Template Parameters
TExactly the native Border, Gauge, ScrollArea or ScrollBar.
Parameters
descriptionConsumed native primitive recipe.
modifierOwning sparse decoration override.
Returns
Recipe staging the same settings as the supported compact methods.

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