|
FTXUI 7.0.3
C++ functional terminal UI.
|
Functions | |
| FTXUI_EXPORT (COMPONENT) Component Vertical(Components children) | |
| Component | Horizontal (Components children, int *selector) |
| 一個元件列表,水平地一個接一個繪製,並使用左/右箭頭鍵或 'h'/'l' 鍵進行水平導航。 | |
| Component | Vertical (Components children) |
| 一個元件列表,垂直地一個接一個繪製,並使用上/下箭頭鍵或 'j'/'k' 鍵進行垂直導航。 | |
| Component | Vertical (Components children, int *selector) |
| 一個元件清單,垂直逐一繪製,並使用上下方向鍵 或 'j'/'k' 鍵進行垂直導覽。 這對於實作選單(Menu)非常有用。 | |
| Component | Horizontal (Components children) |
| 一個元件清單,水平逐一繪製,並使用左右方向鍵 或 'h'/'l' 鍵進行水平導覽。 | |
| Component | Tab (Components children, int *selector) |
| 一個元件列表,一次只繪製一個並與之互動。|selector| 給出所選元件的索引。這對於實作分頁很有用。 | |
| Component | Stacked (Components children) |
| 一個元件列表,將彼此堆疊。 事件會傳播到第一個元件,如果未處理則傳播到第二個,依此類推。 元件以給定的相反順序繪製。 當一個元件獲得焦點時,它會被放到最前面,而不改變其他元素的相對順序。 | |
Variables | |
| int * | selector |
| FTXUI_EXPORT | ( | COMPONENT | ) |
| int * selector |
Definition at line 46 of file component.hpp.