FTXUI 6.1.9
C++ functional terminal UI.
Loading...
Searching...
No Matches
border.cpp File Reference

Go to the source code of this file.

Namespaces

namespace  ftxui
 FTXUI 的 ftxui:: 命名空間
 

Functions

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)
 繪製帶有標題和邊框的視窗。
 

Variable Documentation

◆ charset_

const Charset& charset_

Definition at line 45 of file src/ftxui/dom/border.cpp.

◆ foreground_color_

std::optional<Color> foreground_color_

Definition at line 46 of file src/ftxui/dom/border.cpp.