|
FTXUI 6.1.9
C++ functional terminal UI.
|
#include <component_options.hpp>
Public 属性 | |
| 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 |
| 用于自定义窗口外观的可选函数: | |
在文件 component_options.hpp 第 255 行定义.
| Component inner |
此窗口包装的组件。
在文件 component_options.hpp 第 256 行定义.
| ConstStringRef title = "" |
此窗口显示的标题。
在文件 component_options.hpp 第 257 行定义.
| Ref<int> left = 0 |
窗口的左侧位置。
在文件 component_options.hpp 第 259 行定义.
| Ref<int> top = 0 |
窗口的顶部位置。
在文件 component_options.hpp 第 260 行定义.
| Ref<int> width = 20 |
窗口的宽度。
在文件 component_options.hpp 第 261 行定义.
| Ref<int> height = 10 |
窗口的高度。
在文件 component_options.hpp 第 262 行定义.
| Ref<bool> resize_left = true |
左侧是否可以调整大小?
在文件 component_options.hpp 第 264 行定义.
| Ref<bool> resize_right = true |
右侧是否可以调整大小?
在文件 component_options.hpp 第 265 行定义.
| Ref<bool> resize_top = true |
顶部是否可以调整大小?
在文件 component_options.hpp 第 266 行定义.
| Ref<bool> resize_down = true |
底部是否可以调整大小?
在文件 component_options.hpp 第 267 行定义.
| std::function<Element(const WindowRenderState&)> render |
用于自定义窗口外观的可选函数:
在文件 component_options.hpp 第 270 行定义.