flexbox_helper.hpp
vector
ftxui/dom/flexbox_config.hpp
src/ftxui/dom/flexbox.cpp
src/ftxui/dom/flexbox_helper.cpp
ftxui/dom/flexbox_config.hpp
src/ftxui/dom/flexbox_helper.hpp
vector
src/ftxui/dom/flexbox.cpp
src/ftxui/dom/flexbox_helper.cpp
src/ftxui/dom/flexbox_helper.hpp
ftxui::flexbox_helper::Block
ftxui::flexbox_helper::Line
ftxui::flexbox_helper::Global
ftxui
ftxui::flexbox_helper

    //Copyright2020ArthurSonzogni.Allrightsreserved.
    //UseofthissourcecodeisgovernedbytheMITlicensethatcanbefoundin
    //theLICENSEfile.
    #ifndefFTXUI_DOM_FLEXBOX_HELPER_HPP
    #defineFTXUI_DOM_FLEXBOX_HELPER_HPP

    #include<vector>
    #include"ftxui/dom/flexbox_config.hpp"

    namespaceftxui::flexbox_helper{

    //Ablockisarectangleintheflexbox.
    structBlock{
    //Input:
    intmin_size_x=0;
    intmin_size_y=0;
    intflex_grow_x=0;
    intflex_grow_y=0;
    intflex_shrink_x=0;
    intflex_shrink_y=0;

    //Output:
    intline{};
    intline_position{};
    intx=0;
    inty=0;
    intdim_x=0;
    intdim_y=0;
    booloverflow=false;
    };

    //Alineisarowofblocks.
    structLine{
    std::vector<Block*>blocks;
    intx=0;
    inty=0;
    intdim_x=0;
    intdim_y=0;
    };

    structGlobal{
    std::vector<Block>blocks;
    std::vector<Line>lines;
    FlexboxConfigconfig;
    intsize_x;
    intsize_y;
    };

    voidCompute(Global&global);

    }//namespaceftxui::flexbox_helper

    #endif/*endofincludeguard:FTXUI_DOM_FLEXBOX_HELPER_HPP*/