|
FTXUI
6.1.9
C++ functional terminal UI.
|
Public Member Functions | |
| Loop (ScreenInteractive *screen, Component component) | |
| A Loop is a wrapper around a Component and a ScreenInteractive. It is used to run a Component in a terminal. | |
| ~Loop () | |
| bool | HasQuitted () |
| Whether the loop has quitted. | |
| void | RunOnce () |
| Execute the loop. Make the component to process every pending tasks/events. A new frame might be drawn if the previous was invalidated. Return true until the loop hasn't completed. | |
| void | RunOnceBlocking () |
| Wait for at least one event to be handled and execute Loop::RunOnce(). | |
| void | Run () |
| Loop (const Loop &)=default | |
| Loop (Loop &&)=delete | |
| Loop & | operator= (Loop &&)=delete |
| Loop (const ScreenInteractive &)=delete | |
| Loop & | operator= (const Loop &)=delete |
| Loop | ( | ScreenInteractive * | screen, |
| Component | component ) |
A Loop is a wrapper around a Component and a ScreenInteractive. It is used to run a Component in a terminal.
| [in] | screen | The screen to use. |
| [in] | component | The component to run. |
|
default |
|
delete |
|
delete |
| void RunOnce | ( | ) |
| void RunOnceBlocking | ( | ) |
Wait for at least one event to be handled and execute Loop::RunOnce().
| void Run | ( | ) |