FTXUI  3.0.0
C++ functional terminal UI.
color_info.hpp
Go to the documentation of this file.
1 #ifndef FTXUI_SCREEN_COLOR_INFO_HPP
2 #define FTXUI_SCREEN_COLOR_INFO_HPP
3 
4 #include <cstdint>
5 #include <ftxui/screen/color.hpp>
6 
7 namespace ftxui {
8 
9 struct ColorInfo {
10  const char* name;
11  uint8_t index_256;
12  uint8_t index_16;
13  uint8_t red;
14  uint8_t green;
15  uint8_t blue;
16  uint8_t hue;
17  uint8_t saturation;
18  uint8_t value;
19 };
20 
23 
24 } // namespace ftxui
25 
26 #endif // FTXUI_SCREEN_COLOR_INFO_HPP
27 
28 // Copyright 2020 Arthur Sonzogni. All rights reserved.
29 // Use of this source code is governed by the MIT license that can be found in
30 // the LICENSE file.
uint8_t saturation
Definition: color_info.hpp:17
ColorInfo GetColorInfo(Color::Palette256 index)
Definition: color_info.cpp:269
const char * name
Definition: color_info.hpp:10