15const std::vector<std::vector<std::vector<std::string>>>
elements = {
17 {
"Replaced by the gauge"},
137 {
"(*----------)"}, {
"(-*---------)"}, {
"(--*--------)"},
138 {
"(---*-------)"}, {
"(----*------)"}, {
"(-----*-----)"},
139 {
"(------*----)"}, {
"(-------*---)"}, {
"(--------*--)"},
140 {
"(---------*-)"}, {
"(----------*)"}, {
"(---------*-)"},
141 {
"(--------*--)"}, {
"(-------*---)"}, {
"(------*----)"},
142 {
"(-----*-----)"}, {
"(----*------)"}, {
"(---*-------)"},
143 {
"(--*--------)"}, {
"(-*---------)"},
257 {
" ",
"_______",
" "},
258 {
" ",
"______/",
" "},
259 {
" _",
"_____/ ",
" "},
260 {
" _ ",
"____/ \\",
" "},
261 {
" _ ",
"___/ \\ ",
" \\"},
262 {
" _ ",
"__/ \\ ",
" \\_"},
263 {
" _ ",
"_/ \\ ",
" \\_/"},
264 {
" _ ",
"/ \\ _",
" \\_/ "},
265 {
"_ ",
" \\ __",
" \\_/ "},
266 {
" ",
"\\ ___",
" \\_/ "},
267 {
" ",
" ___",
"\\_/ "},
268 {
" ",
" _____",
"_/ "},
269 {
" ",
" ______",
"/ "},
270 {
" ",
"_______",
" "},
293 std::vector<Element>
lines;
Decorator size(WidthOrHeight, Constraint, int value)
Apply a constraint on the size of an element.
std::shared_ptr< Node > Element
std::shared_ptr< T > Make(Args &&... args)
Element spinner(int charset_index, size_t image_index)
Useful to represent the effect of time and/or events. This display an ASCII art "video".
Element text(std::wstring text)
Display a piece of unicode text.
Element gauge(float progress)
Draw a high definition progress bar.
Element vbox(Elements)
A container displaying elements vertically one by one.