#include <memory>
#include <utility>
int main() {
int saturation = 255;
for (int value = 0; value < 255; value += 20) {
for (int hue = 0; hue < 255; hue += 2) {
}
array.push_back(
hbox(std::move(line)));
}
auto document =
vbox(std::move(array));
screen.Print();
return 0;
}
static Color HSV(uint8_t hue, uint8_t saturation, uint8_t value)
Build a Color from its HSV representation. https://en.wikipedia.org/wiki/HSL_and_HSV.
static Screen Create(Dimensions dimension)
Create a screen with the given dimension.
Dimensions Fit(Element &, bool extend_beyond_screen=false)
Decorator bgcolor(Color)
Decorate using a background color.
Element hbox(Elements)
A container displaying elements horizontally one by one.
Element text(std::wstring text)
Display a piece of unicode text.
std::vector< Element > Elements
void Render(Screen &screen, const Element &element)
Display an element on a ftxui::Screen.
Decorator color(Color)
Decorate using a foreground color.
Element vbox(Elements)
A container displaying elements vertically one by one.