Enumerations | |
enum class | Color { Black , White , Red , LightRed , Green , LightGreen , Blue , LightBlue , Yellow , LightYellow , Cyan , LightCyan , Magenta , LightMagenta , Gray , LightGray , DarkGray , Orange , LightOrange , Purple , LightPurple , Pink , LightPink , Teal , LightTeal , SkyBlue , Coral , Lime , Lavender , Crimson , Gold , Indigo , Mint , Navy , Peach , Sand , SeaGreen , LightSeaGreen , SlateBlue , LightSlateBlue , SunsetOrange , Turquoise , LightTurquoise } |
Enumeration for predefined true colors. More... | |
Functions | |
ftxui::Color | GetColor (Color color) |
Maps a predefined color enum to its corresponding ftxui::Color::RGB value. | |
|
strong |
Enumeration for predefined true colors.
This enumeration provides a set of predefined colors that can be used for setting terminal colors in the application. Each color maps to an RGB value.
ftxui::Color TrueColors::GetColor | ( | Color | color | ) |
Maps a predefined color enum to its corresponding ftxui::Color::RGB value.
color | The predefined color enum. |