17 std::vector<std::string> entries;
20 for (
int i = 0; i < 100; ++i)
21 entries.push_back(std::to_string(i));
27 screen.Loop(renderer);
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.
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....