FTXUI 6.1.9
C++ functional terminal UI.
载入中...
搜索中...
未找到
selection_style.cpp 文件参考

浏览该文件的源代码.

命名空间

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)
 设置元素选中时的样式。
 

变量说明

◆ style_

std::function<void(Pixel&)> style_

在文件 selection_style.cpp46 行定义.