#include <memory>
#include <string>
#include <vector>
int main() {
std::vector<std::string> entries;
int selected = 0;
for (int i = 0; i < 100; ++i)
screen.Loop(renderer);
return 0;
}
static ScreenInteractive FitComponent()
Component Menu(MenuOption options)
A list of text. The focused element is selected.
Component Renderer(Component child, std::function< Element()>)
Return a new Component, similar to |child|, but using |render| as the Component::Render() event.
std::string to_string(const std::wstring &s)
Convert a UTF8 std::string into a std::wstring.
Element hscroll_indicator(Element)
Display an horizontal scrollbar to the bottom. colors.
Element frame(Element)
Allow an element to be displayed inside a 'virtual' area. It size can be larger than its container....