1#ifndef FTXUI_COMPONENT_LOOP_HPP
2#define FTXUI_COMPONENT_LOOP_HPP
11using Component = std::shared_ptr<ComponentBase>;
12class ScreenInteractive;
27 Loop& operator=(
const Loop&) =
delete;
Loop(ScreenInteractive *screen, Component component)
void RunOnce()
Execute the loop. Make the component to process every pending tasks/events. A new frame might be draw...
void RunOnceBlocking()
Wait for at least one event to be handled and execute Loop::RunOnce().
std::shared_ptr< ComponentBase > Component