FTXUI
6.1.9
C++ functional terminal UI.
Toggle main menu visibility
Pages
Reference
Modules
Modules List
Classes
Class List
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
~
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
Enumerations
Enumerator
a
b
c
d
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
y
Related Symbols
Files
File List
File Members
All
a
b
c
d
e
f
g
h
i
l
m
n
p
r
s
t
v
w
x
y
Functions
c
d
e
h
i
l
m
n
s
t
v
w
Variables
Macros
Examples
▼
FTXUI
►
Introduction
►
Getting Started
►
Installation
►
ftxui
►
ftxui / screen
►
ftxui / dom
►
ftxui / component
C++20 Modules
Todo List
►
Reference
►
Modules
►
Namespace Members
►
Classes
▼
Files
▼
File List
doc
doc
►
examples
▼
include
▼
ftxui
►
component
►
dom
▼
screen
box.hpp
►
color.hpp
►
color_info.hpp
►
deprecated.hpp
image.hpp
pixel.hpp
►
screen.hpp
►
string.hpp
►
terminal.hpp
►
util
►
src
►
File Members
►
Examples
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Modules
Loading...
Searching...
No Matches
color_info.hpp
Go to the documentation of this file.
1
// Copyright 2020 Arthur Sonzogni. All rights reserved.
2
// Use of this source code is governed by the MIT license that can be found in
3
// the LICENSE file.
4
#ifndef FTXUI_SCREEN_COLOR_INFO_HPP
5
#define FTXUI_SCREEN_COLOR_INFO_HPP
6
7
#include <cstdint>
8
#include <
ftxui/screen/color.hpp
>
9
10
namespace
ftxui
{
11
12
/// @brief ColorInfo is a structure that contains information about the terminal
13
/// color palette.
14
///
15
/// @ingroup screen
16
struct
ColorInfo
{
17
const
char
*
name
;
18
uint8_t
index_256
;
19
uint8_t
index_16
;
20
uint8_t
red
;
21
uint8_t
green
;
22
uint8_t
blue
;
23
uint8_t
hue
;
24
uint8_t
saturation
;
25
uint8_t
value
;
26
};
16
struct
ColorInfo
{
…
};
27
28
ColorInfo
GetColorInfo
(
Color::Palette256
index);
29
ColorInfo
GetColorInfo
(
Color::Palette16
index);
30
31
}
// namespace ftxui
32
33
#endif
// FTXUI_SCREEN_COLOR_INFO_HPP
color.hpp
ftxui::ColorInfo::blue
uint8_t blue
Definition
color_info.hpp:22
ftxui::ColorInfo::saturation
uint8_t saturation
Definition
color_info.hpp:24
ftxui::ColorInfo::index_16
uint8_t index_16
Definition
color_info.hpp:19
ftxui::ColorInfo::value
uint8_t value
Definition
color_info.hpp:25
ftxui::ColorInfo::name
const char * name
Definition
color_info.hpp:17
ftxui::ColorInfo::green
uint8_t green
Definition
color_info.hpp:21
ftxui::ColorInfo::index_256
uint8_t index_256
Definition
color_info.hpp:18
ftxui::Color::Palette256
Palette256
Definition
color.hpp:72
ftxui::ColorInfo::red
uint8_t red
Definition
color_info.hpp:20
ftxui::ColorInfo::hue
uint8_t hue
Definition
color_info.hpp:23
ftxui::Color::Palette16
Palette16
Definition
color.hpp:53
ftxui::ColorInfo
ColorInfo is a structure that contains information about the terminal color palette.
Definition
color_info.hpp:16
ftxui
The FTXUI ftxui:: namespace.
Definition
animation.hpp:10
ftxui::GetColorInfo
ColorInfo GetColorInfo(Color::Palette256 index)
Definition
color_info.cpp:272
include
ftxui
screen
color_info.hpp
Generated by
1.12.0