FTXUI
5.0.0
C++ functional terminal UI.
|
Functions | |
Component | Vertical (Components children) |
A list of components, drawn one by one vertically and navigated vertically using up/down arrow key or 'j'/'k' keys. More... | |
Component | Vertical (Components children, int *selector) |
A list of components, drawn one by one vertically and navigated vertically using up/down arrow key or 'j'/'k' keys. This is useful for implementing a Menu for instance. More... | |
Component | Horizontal (Components children) |
A list of components, drawn one by one horizontally and navigated horizontally using left/right arrow key or 'h'/'l' keys. More... | |
Component | Horizontal (Components children, int *selector) |
A list of components, drawn one by one horizontally and navigated horizontally using left/right arrow key or 'h'/'l' keys. More... | |
Component | Tab (Components children, int *selector) |
A list of components, where only one is drawn and interacted with at a time. The |selector| gives the index of the selected component. This is useful to implement tabs. More... | |
Component | Stacked (Components children) |
A list of components to be stacked on top of each other. Events are propagated to the first component, then the second if not handled, etc. The components are drawn in the reverse order they are given. When a component take focus, it is put at the front, without changing the relative order of the other elements. More... | |
Component Vertical | ( | Components | children | ) |
A list of components, drawn one by one vertically and navigated vertically using up/down arrow key or 'j'/'k' keys.
children | the list of components. |
Definition at line 317 of file container.cpp.
Component Vertical | ( | Components | children, |
int * | selector | ||
) |
A list of components, drawn one by one vertically and navigated vertically using up/down arrow key or 'j'/'k' keys. This is useful for implementing a Menu for instance.
children | the list of components. |
selector | A reference to the index of the selected children. |
Definition at line 339 of file container.cpp.
Component Horizontal | ( | Components | children | ) |
A list of components, drawn one by one horizontally and navigated horizontally using left/right arrow key or 'h'/'l' keys.
children | the list of components. |
Definition at line 360 of file container.cpp.
Component Horizontal | ( | Components | children, |
int * | selector | ||
) |
A list of components, drawn one by one horizontally and navigated horizontally using left/right arrow key or 'h'/'l' keys.
children | the list of components. |
selector | A reference to the index of the selected children. |
Definition at line 382 of file container.cpp.
Component Tab | ( | Components | children, |
int * | selector | ||
) |
A list of components, where only one is drawn and interacted with at a time. The |selector| gives the index of the selected component. This is useful to implement tabs.
children | The list of components. |
selector | The index of the drawn children. |
Definition at line 405 of file container.cpp.
Component Stacked | ( | Components | children | ) |
A list of components to be stacked on top of each other. Events are propagated to the first component, then the second if not handled, etc. The components are drawn in the reverse order they are given. When a component take focus, it is put at the front, without changing the relative order of the other elements.
This should be used with the Window
component.
children | The list of components. |
Definition at line 432 of file container.cpp.