clear_under.cpp
memory
utility
ftxui/dom/elements.hpp
ftxui/dom/node.hpp
ftxui/dom/node_decorator.hpp
ftxui/screen/box.hpp
ftxui/screen/screen.hpp
ftxui/dom/canvas.hpp
ftxui/dom/deprecated.hpp
ftxui/dom/direction.hpp
ftxui/dom/elements.hpp
ftxui/dom/flexbox_config.hpp
ftxui/dom/linear_gradient.hpp
ftxui/dom/node.hpp
ftxui/dom/requirement.hpp
ftxui/dom/selection.hpp
ftxui/screen/box.hpp
ftxui/screen/color.hpp
ftxui/screen/image.hpp
ftxui/screen/pixel.hpp
ftxui/screen/screen.hpp
ftxui/screen/string.hpp
ftxui/screen/terminal.hpp
ftxui/util/autoreset.hpp
ftxui/util/ref.hpp
src/ftxui/dom/clear_under.cpp
ftxui/dom/node_decorator.hpp
cstddef
cstdint
ftxui/dom/take_any_args.hpp
functional
memory
optional
sstream
string
unordered_map
utility
variant
vector
ftxui

    //Copyright2020ArthurSonzogni.Allrightsreserved.
    //UseofthissourcecodeisgovernedbytheMITlicensethatcanbefoundin
    //theLICENSEfile.
    #include<memory>//formake_shared
    #include<utility>//formove

    #include"ftxui/dom/elements.hpp"//forElement,clear_under
    #include"ftxui/dom/node.hpp"//forNode
    #include"ftxui/dom/node_decorator.hpp"//forNodeDecorator
    #include"ftxui/screen/box.hpp"//forBox
    #include"ftxui/screen/screen.hpp"//forPixel,Screen

    namespaceftxui{

    namespace{
    usingftxui::Screen;

    classClearUnder:publicNodeDecorator{
    public:
    usingNodeDecorator::NodeDecorator;

    voidRender(Screen&screen)override{
    for(inty=box_.y_min;y<=box_.y_max;++y){
    for(intx=box_.x_min;x<=box_.x_max;++x){
    screen.PixelAt(x,y)=Pixel();
    screen.PixelAt(x,y).character="";//Considerthepixelwritten.
    }
    }
    Node::Render(screen);
    }
    };
    }//namespace

    ///@briefBeforedrawing|child|,clearthepixelsbelow.Thisisusefulin
    //combinaisonwithdbox.
    ///@seeftxui::dbox
    ///@ingroupdom
    Elementclear_under(Elementelement){
    returnstd::make_shared<ClearUnder>(std::move(element));
    }

    }//namespaceftxui