FTXUI  5.0.0
C++ functional terminal UI.
Loading...
Searching...
No Matches
linear_gradient.cpp File Reference

Go to the source code of this file.

Namespaces

namespace  ftxui
 

Functions

Element color (const LinearGradient &gradient, Element child)
 Set the foreground color of an element with linear-gradient effect.
 
Element bgcolor (const LinearGradient &gradient, Element child)
 Set the background color of an element with linear-gradient effect.
 
Decorator color (const LinearGradient &gradient)
 Decorate using a linear-gradient effect on the foreground color.
 
Decorator bgcolor (const LinearGradient &gradient)
 Decorate using a linear-gradient effect on the background color.