Terminal++ 3.1.0.4
A C++ library for interacting with ANSI terminal windows
|
Contains constants for the Select Graphics Rendition command parameters. More...
Functions | |
constexpr byte | encode_high_components (byte red, byte green, byte blue) noexcept |
Encode an RGB value. | |
constexpr byte | high_red_component (byte value) noexcept |
Extract the red component of a high colour value. | |
constexpr byte | high_green_component (byte value) noexcept |
Extract the green component of a high colour value. | |
constexpr byte | high_blue_component (byte value) noexcept |
Extract the blue component of a high colour value. | |
constexpr byte | encode_greyscale_component (byte grey) noexcept |
Encode a greyscale value. | |
constexpr byte | greyscale_component (byte value) noexcept |
Extract a greyscale value. | |
Variables | |
constexpr byte | no_attributes = 0 |
constexpr byte | bold = 1 |
constexpr byte | faint = 2 |
constexpr byte | normal_intensity = 22 |
constexpr byte | underlined = 4 |
constexpr byte | not_underlined = 24 |
constexpr byte | blinking = 5 |
constexpr byte | steady = 25 |
constexpr byte | negative_polarity = 7 |
constexpr byte | positive_polarity = 27 |
constexpr byte | foreground_colour_base = 30 |
constexpr byte | background_colour_base = 40 |
constexpr byte | colour_black = 0 |
constexpr byte | colour_red = 1 |
constexpr byte | colour_green = 2 |
constexpr byte | colour_yellow = 3 |
constexpr byte | colour_blue = 4 |
constexpr byte | colour_magenta = 5 |
constexpr byte | colour_cyan = 6 |
constexpr byte | colour_white = 7 |
constexpr byte | colour_default = 9 |
constexpr byte | high_colour_offset = 16 |
constexpr auto | red_coefficient = 36 |
constexpr auto | green_coefficient = 6 |
constexpr auto | blue_coefficient = 1 |
constexpr byte | greyscale_colour_offset = 232 |
Contains constants for the Select Graphics Rendition command parameters.