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

Union-free snapshot preserving each manual control appearance. More...

#include <ui_static.hpp>

Public Member Functions

constexpr PackedControlStyle (ControlStyle style)
constexpr ControlStyle value () const

Public Attributes

PackedCellStyle normal
 Ordinary appearance.
PackedCellStyle focused
 Focused appearance.
PackedCellStyle disabled
 Disabled appearance.

Detailed Description

Union-free snapshot preserving each manual control appearance.

Constructor & Destructor Documentation

◆ PackedControlStyle()

portals::ui::ct::detail::PackedControlStyle::PackedControlStyle ( ControlStyle style)
inlineexplicitconstexpr
Parameters
styleOwning manual appearances copied without optional union storage.

Member Function Documentation

◆ value()

ControlStyle portals::ui::ct::detail::PackedControlStyle::value ( ) const
inlineconstexpr
Returns
Owning manual appearances in their original public representation.

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