FTXUI 6.1.9
C++ functional terminal UI.
Loading...
Searching...
No Matches
color_info.hpp
Go to the documentation of this file.
1// Copyright 2020 Arthur Sonzogni. All rights reserved.
2// このソースコードの使用は、LICENSE ファイルにある MIT ライセンスによって管理されています。
3#ifndef FTXUI_SCREEN_COLOR_INFO_HPP
4#define FTXUI_SCREEN_COLOR_INFO_HPP
5
6#include <cstdint>
8
9namespace ftxui {
10
11/// @brief ColorInfoは、ターミナルのカラーパレットに関する情報を含む構造体です。
12///
13/// @ingroup screen
14struct ColorInfo {
15 const char* name;
16 uint8_t index_256;
17 uint8_t index_16;
18 uint8_t red;
19 uint8_t green;
20 uint8_t blue;
21 uint8_t hue;
22 uint8_t saturation;
23 uint8_t value;
24};
25
28
29} // namespace ftxui
30
31#endif // FTXUI_SCREEN_COLOR_INFO_HPP
const char * name
ColorInfoは、ターミナルのカラーパレットに関する情報を含む構造体です。
FTXUI ftxui:: 名前空間
Definition animation.hpp:9
ColorInfo GetColorInfo(Color::Palette256 index)