|
FTXUI 6.1.9
C++ functional terminal UI.
|
命名空间 | |
| namespace | ftxui |
| #include "ftxui/component/component_base.hpp" // 用于 ComponentBase | |
函数 | |
| Element | selectionStyleReset (Element child) |
| 重置元素的选中样式。 | |
| Decorator | selectionBackgroundColor (Color foreground) |
| 设置元素选中时的背景颜色。 请注意,此样式是在现有样式之上应用的。 | |
| Decorator | selectionForegroundColor (Color foreground) |
| 设置元素选中时的前景色。 请注意,此样式是在现有样式之上应用的。 | |
| Decorator | selectionColor (Color foreground) |
| 设置元素选中时的颜色。 | |
| Decorator | selectionStyle (std::function< void(Pixel &)> style) |
| 设置元素选中时的样式。 | |
| std::function<void(Pixel&)> style_ |
在文件 selection_style.cpp 第 46 行定义.