|
FTXUI 6.1.9
C++ functional terminal UI.
|
#include <component_options.hpp>
Public Attributes | |
| Component | inner |
| 此視窗包裝的元件。 | |
| ConstStringRef | title = "" |
| 此視窗顯示的標題。 | |
| Ref< int > | left = 0 |
| 視窗的左側位置。 | |
| Ref< int > | top = 0 |
| 視窗的頂部位置。 | |
| Ref< int > | width = 20 |
| 視窗的寬度。 | |
| Ref< int > | height = 10 |
| 視窗的高度。 | |
| Ref< bool > | resize_left = true |
| 左側是否可調整大小? | |
| Ref< bool > | resize_right = true |
| 右側是否可調整大小? | |
| Ref< bool > | resize_top = true |
| 頂部是否可調整大小? | |
| Ref< bool > | resize_down = true |
| 底部是否可調整大小? | |
| std::function< Element(const WindowRenderState &)> | render |
| 用於自訂視窗外觀的選用函式: | |
Definition at line 257 of file component_options.hpp.
| Component inner |
此視窗包裝的元件。
Definition at line 258 of file component_options.hpp.
| ConstStringRef title = "" |
此視窗顯示的標題。
Definition at line 259 of file component_options.hpp.
| Ref<int> left = 0 |
視窗的左側位置。
Definition at line 261 of file component_options.hpp.
| Ref<int> top = 0 |
視窗的頂部位置。
Definition at line 262 of file component_options.hpp.
| Ref<int> width = 20 |
視窗的寬度。
Definition at line 263 of file component_options.hpp.
| Ref<int> height = 10 |
視窗的高度。
Definition at line 264 of file component_options.hpp.
| Ref<bool> resize_left = true |
左側是否可調整大小?
Definition at line 266 of file component_options.hpp.
| Ref<bool> resize_right = true |
右側是否可調整大小?
Definition at line 267 of file component_options.hpp.
| Ref<bool> resize_top = true |
頂部是否可調整大小?
Definition at line 268 of file component_options.hpp.
| Ref<bool> resize_down = true |
底部是否可調整大小?
Definition at line 269 of file component_options.hpp.
| std::function<Element(const WindowRenderState&)> render |
用於自訂視窗外觀的選用函式:
Definition at line 272 of file component_options.hpp.