![]() |
Max OS 0.3
|
Defines a Colour class for representing colours in RGBA format, along with ANSI and console colour enumerations. More...
Go to the source code of this file.
Classes | |
| class | MaxOS::common::Colour |
| Stores the red, green, blue and alpha values of a colour. Can be parsed from a hex string, an ANSI string or a ConsoleColour. More... | |
Enumerations | |
| enum | MaxOS::common::ANSIColour { FG_Black , FG_Red , FG_Green , FG_Yellow , FG_Blue , FG_Magenta , FG_Cyan , FG_White , BG_Black , BG_Red , BG_Green , BG_Yellow , BG_Blue , BG_Magenta , BG_Cyan , BG_White , Reset } |
| Enumeration of ANSI colour codes for foreground and background colours. More... | |
| enum class | MaxOS::common::ConsoleColour { Uninitialised = 0xFF , Black = 0x00 , Blue = 0x01 , Green = 0x02 , Cyan = 0x03 , Red = 0x04 , Magenta = 0x05 , Brown = 0x06 , LightGrey = 0x07 , DarkGrey = 0x08 , LightBlue = 0x09 , LightGreen = 0x0A , LightCyan = 0x0B , LightRed = 0x0C , LightMagenta = 0x0D , Yellow = 0x0E , White = 0x0F } |
| Enumeration of console colour codes. More... | |
Variables | |
| const char *const | MaxOS::common::ANSI_COLOURS [] |
| ANSI Colour Codes. | |
Defines a Colour class for representing colours in RGBA format, along with ANSI and console colour enumerations.
Definition in file colour.h.
Enumeration of ANSI colour codes for foreground and background colours.
Definition at line 43 of file colour.h.
|
strong |
Enumeration of console colour codes.
Definition at line 67 of file colour.h.
| const char* const MaxOS::common::ANSI_COLOURS[] |
ANSI Colour Codes.
Definition at line 19 of file colour.h.
Referenced by MaxOS::drivers::console::VESABootConsole::finish(), and MaxOS::Logger::set_log_level().