Photon 1.0.0
Loading...
Searching...
No Matches
color_type Struct Reference

#include <color.h>

Classes

union  color_union
 

Public Member Functions

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

Public Attributes

bool is_rgb
 
union color_type::color_union value
 

Constructor & Destructor Documentation

◆ color_type() [1/4]

FMT_CONSTEXPR color_type::color_type ( )
inlinenoexcept

◆ color_type() [2/4]

FMT_CONSTEXPR color_type::color_type ( color  rgb_color)
inlinenoexcept

◆ color_type() [3/4]

FMT_CONSTEXPR color_type::color_type ( rgb  rgb_color)
inlinenoexcept

◆ color_type() [4/4]

FMT_CONSTEXPR color_type::color_type ( terminal_color  term_color)
inlinenoexcept

Member Data Documentation

◆ is_rgb

bool color_type::is_rgb

◆ value

union color_type::color_union color_type::value

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