mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-05-05 22:01:13 +08:00

- Put the MIT copyright at the end. - Move the directory /other -> tools - Various improvements.
47 lines
779 B
C++
47 lines
779 B
C++
#ifndef FTXUI_SCREEN_COLOR
|
|
#define FTXUI_SCREEN_COLOR
|
|
|
|
#include <cstdint>
|
|
|
|
namespace ftxui {
|
|
|
|
/// @brief The set of supported terminal colors.
|
|
/// @ingroup screen
|
|
enum class Color : uint8_t {
|
|
// --- Transparent -----
|
|
Default = 39,
|
|
|
|
// --- Grayscale -----
|
|
Black = 30,
|
|
GrayDark = 90,
|
|
GrayLight = 37,
|
|
White = 97,
|
|
|
|
// --- Hue -----
|
|
Blue = 34,
|
|
BlueLight = 94,
|
|
|
|
Cyan = 36,
|
|
CyanLight = 96,
|
|
|
|
Green = 32,
|
|
GreenLight = 92,
|
|
|
|
Magenta = 35,
|
|
MagentaLight = 95,
|
|
|
|
Red = 31,
|
|
RedLight = 91,
|
|
|
|
Yellow = 33,
|
|
YellowLight = 93,
|
|
};
|
|
|
|
} // namespace ftxui
|
|
|
|
#endif /* end of include guard: FTXUI_COLOR_H_ */
|
|
|
|
// Copyright 2020 Arthur Sonzogni. All rights reserved.
|
|
// Use of this source code is governed by the MIT license that can be found in
|
|
// the LICENSE file.
|