ftxui::ScreenInteractive
#include <ftxui/component/screen_interactive.hpp>Inherits from: ftxui::Screen
Examples: component/button, component/button_animated, component/button_in_frame, component/button_style, component/canvas_animated, component/checkbox, component/checkbox_in_frame, component/collapsible, component/composition, component/custom_loop, component/dropdown, component/flexbox_gallery (+29 more)
Summary
| Symbol | Description |
|---|---|
Private | |
FixedSize | |
Fullscreen | |
FitComponent | |
TerminalOutput | |
Active | |
Loop | |
Exit | |
ExitLoopClosure | |
Post | |
PostEvent | |
RequestAnimationFrame | |
CaptureMouse | |
WithRestoredIO | Decorate a function. It executes the same way, but with the currently active screen terminal hooks temporarilly uninstalled during its execution. |
Public Attributes
Private
friend Private;Static Functions
FixedSize
static ScreenInteractive FixedSize(int dimx, int dimy);Fullscreen
static ScreenInteractive Fullscreen();FitComponent
static ScreenInteractive FitComponent();TerminalOutput
static ScreenInteractive TerminalOutput();Active
static ScreenInteractive * Active();Public Member Functions
Loop
Examples: component/button, component/button_animated, component/button_in_frame, component/button_style, component/canvas_animated, component/checkbox, component/checkbox_in_frame, component/collapsible, component/composition, component/custom_loop, component/dropdown, component/flexbox_gallery (+29 more)
Exit
void Exit();ExitLoopClosure
Closure ExitLoopClosure();Post
void Post(Task task);PostEvent
RequestAnimationFrame
void RequestAnimationFrame();CaptureMouse
CapturedMouse CaptureMouse();WithRestoredIO
Closure WithRestoredIO(Closure);Decorate a function. It executes the same way, but with the currently active screen terminal hooks temporarilly uninstalled during its execution.
Parameters:
fn: The function to decorate.