FTXUI 6.1.9
C++ functional terminal UI.
|
#include <component_options.hpp>
Public Attributes | |
Component | inner |
The component wrapped by this window. | |
ConstStringRef | title = "" |
The title displayed by this window. | |
Ref< int > | left = 0 |
The left side position of the window. | |
Ref< int > | top = 0 |
The top side position of the window. | |
Ref< int > | width = 20 |
The width of the window. | |
Ref< int > | height = 10 |
The height of the window. | |
Ref< bool > | resize_left = true |
Can the left side be resized? | |
Ref< bool > | resize_right = true |
Can the right side be resized? | |
Ref< bool > | resize_top = true |
Can the top side be resized? | |
Ref< bool > | resize_down = true |
Can the down side be resized? | |
std::function< Element(const WindowRenderState &)> | render |
An optional function to customize how the window looks like: | |
Definition at line 251 of file component_options.hpp.
Component inner |
The component wrapped by this window.
Definition at line 252 of file component_options.hpp.
ConstStringRef title = "" |
The title displayed by this window.
Definition at line 253 of file component_options.hpp.
Ref<int> left = 0 |
The left side position of the window.
Definition at line 255 of file component_options.hpp.
Ref<int> top = 0 |
The top side position of the window.
Definition at line 256 of file component_options.hpp.
Ref<int> width = 20 |
The width of the window.
Definition at line 257 of file component_options.hpp.
Ref<int> height = 10 |
The height of the window.
Definition at line 258 of file component_options.hpp.
Ref<bool> resize_left = true |
Can the left side be resized?
Definition at line 260 of file component_options.hpp.
Ref<bool> resize_right = true |
Can the right side be resized?
Definition at line 261 of file component_options.hpp.
Ref<bool> resize_top = true |
Can the top side be resized?
Definition at line 262 of file component_options.hpp.
Ref<bool> resize_down = true |
Can the down side be resized?
Definition at line 263 of file component_options.hpp.
std::function<Element(const WindowRenderState&)> render |
An optional function to customize how the window looks like:
Definition at line 266 of file component_options.hpp.