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

浏览该文件的源代码.

命名空间

namespace  ftxui
 #include "ftxui/component/component_base.hpp" // 用于 ComponentBase
 

函数

Element border (Element child)
 在元素周围绘制边框。
 
Decorator borderWith (const Pixel &pixel)
 与 border 相同,但在元素周围使用一个常量像素。
 
Decorator borderStyled (BorderStyle style)
 与 border 相同,但具有不同的样式。
 
Decorator borderStyled (Color foreground_color)
 与 border 相同,但具有前景色。
 
Decorator borderStyled (BorderStyle style, Color foreground_color)
 与 border 相同,但具有前景色和不同的样式。
 
Element borderDashed (Element child)
 在元素周围绘制虚线边框。
 
Element borderLight (Element child)
 在元素周围绘制细边框。
 
Element borderHeavy (Element child)
 在元素周围绘制粗边框。
 
Element borderDouble (Element child)
 在元素周围绘制双线边框。
 
Element borderRounded (Element child)
 在元素周围绘制圆角边框。
 
Element borderEmpty (Element child)
 在元素周围绘制一个空边框。
 
Element window (Element title, Element content, BorderStyle border)
 绘制带有标题和边框的窗口。