CustomColor

AppCUI::Graphics::CustomColor (class)

class CustomColor

Public Types

using VariantT = std::variant<ColorPair, ObjectColorState>

Public Functions

CustomColor() = default
inline CustomColor(ObjectColorState s)
inline CustomColor(ColorPair c)
CustomColor(const CustomColor&) = default
CustomColor(CustomColor&&) noexcept = default
CustomColor &operator=(const CustomColor&) = default
CustomColor &operator=(CustomColor&&) noexcept = default
template<typename Visitor>
inline decltype(auto) Visit(Visitor &&vis)
template<typename Visitor>
inline decltype(auto) Visit(Visitor &&vis) const
inline bool IsColorState() const noexcept
inline bool IsColorPair() const noexcept
inline const ObjectColorState *TryGetColorState() const noexcept
inline const ColorPair *TryGetColorPair() const noexcept