#include // for function #include // for unique_ptr, make_u... #include // for wstring #include // for move #include // for vector #include "ftxui/component/button.hpp" // for Button #include "ftxui/component/component.hpp" // for Component #include "ftxui/component/container.hpp" // for Container #include "ftxui/component/screen_interactive.hpp" // for ScreenInteractive #include "ftxui/screen/box.hpp" // for ftxui using namespace ftxui; class MyComponent : public Component { private: std::vector> buttons_; Container container_ = Container::Horizontal(); public: MyComponent() { Add(&container_); auto button_add = std::make_unique