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

Go to the source code of this file.

Namespaces

namespace  ftxui
 FTXUI 的 ftxui:: 命名空間
 

Functions

Element selectionStyleReset (Element child)
 重設元素的選取樣式。
 
Decorator selectionBackgroundColor (Color foreground)
 設定元素被選取時的背景顏色。 請注意,此樣式會應用在現有樣式之上。
 
Decorator selectionForegroundColor (Color foreground)
 設定元素被選取時的前景顏色。 請注意,此樣式會應用在現有樣式之上。
 
Decorator selectionColor (Color foreground)
 設定元素被選取時的顏色。
 
Decorator selectionStyle (std::function< void(Pixel &)> style)
 設定元素被選取時的樣式。
 

Variable Documentation

◆ style_

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

Definition at line 47 of file selection_style.cpp.