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

Resolved scrollbar parts; absent values inherit the ordinary control state. Colors and attributes are shared by both axes; glyphs are orientation-specific. More...

#include <style_types.hpp>

Public Member Functions

bool operator== (const ScrollbarAppearance &other) const =default

Public Attributes

std::optional< CellStyle > track {}
 Track cells outside the thumb.
std::optional< CellStyle > thumb {}
 Moving thumb cells.
std::optional< CellStyle > ends {}
 Optional decorative endpoint cells.
std::optional< CellStyle > corner {}
 Intersecting horizontal and vertical gutters.
std::optional< CellStyle > arrows {}
 Functional end buttons, independent of decorative ends.
std::optional< ScrollbarPattern > trackPattern {}
 Resolved independent glyph source.
std::optional< ScrollbarThumbPattern > thumbPattern {}
 Resolved independent glyph source.
std::optional< ScrollbarArrowPattern > arrowPattern {}
 Resolved independent glyph source.

Detailed Description

Resolved scrollbar parts; absent values inherit the ordinary control state. Colors and attributes are shared by both axes; glyphs are orientation-specific.

Member Function Documentation

◆ operator==()

bool portals::ScrollbarAppearance::operator== ( const ScrollbarAppearance & other) const
default
Parameters
otherValue to compare.
Returns
Whether every part agrees.

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