inLimbo
TUI Music Player that keeps you in Limbo.
 
Loading...
Searching...
No Matches
TrueColors Namespace Reference

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.
 

Enumeration Type Documentation

◆ Color

enum class TrueColors::Color
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.

Enumerator
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 

Function Documentation

◆ GetColor()

ftxui::Color TrueColors::GetColor ( Color color)

Maps a predefined color enum to its corresponding ftxui::Color::RGB value.

Parameters
colorThe predefined color enum.
Returns
ftxui::Color The corresponding RGB color.