Scippy

SoPlex

Sequential object-oriented simPlex

color_type Struct Reference

#include <color.h>

Classes

union  color_union
 

Public Member Functions

FMT_CONSTEXPR color_type () FMT_NOEXCEPT
 
FMT_CONSTEXPR color_type (color rgb_color) FMT_NOEXCEPT
 
FMT_CONSTEXPR color_type (rgb rgb_color) FMT_NOEXCEPT
 
FMT_CONSTEXPR color_type (terminal_color term_color) FMT_NOEXCEPT
 

Public Attributes

bool is_rgb
 
union internal::color_type::color_union value
 

Detailed Description

Definition at line 204 of file color.h.

Constructor & Destructor Documentation

◆ color_type() [1/4]

Definition at line 205 of file color.h.

◆ color_type() [2/4]

FMT_CONSTEXPR color_type ( color  rgb_color)

Definition at line 206 of file color.h.

◆ color_type() [3/4]

FMT_CONSTEXPR color_type ( rgb  rgb_color)

Definition at line 210 of file color.h.

◆ color_type() [4/4]

Definition at line 214 of file color.h.

Member Data Documentation

◆ is_rgb

bool is_rgb

Definition at line 218 of file color.h.

Referenced by text_style::operator &=(), and text_style::operator|=().

◆ value