20 using NodeDecorator::NodeDecorator;
22 void Render(
Screen& screen)
override {
23 for (
int y = box_.y_min; y <= box_.y_max; ++y) {
24 for (
int x = box_.x_min; x <= box_.x_max; ++x) {
32 return std::make_shared<Impl>(std::move(child));
Element automerge(Element child)
Enable character to be automatically merged with others nearby.
Pixel & PixelAt(int x, int y)
Access a cell (Pixel) at a given position.
A rectangular grid of Pixel.
The FTXUI ftxui:: namespace.
std::shared_ptr< Node > Element