FTXUI
5.0.0
C++ functional terminal UI.
|
Option about a potentially animated color. More...
Public Member Functions | |
void | Set (Color inactive, Color active, animation::Duration duration=std::chrono::milliseconds(250), animation::easing::Function function=animation::easing::QuadraticInOut) |
A color option that can be animated. @params _inactive The color when the component is inactive. @params _active The color when the component is active. @params _duration The duration of the animation. @params _function The easing function of the animation. More... | |
Data Fields | |
bool | enabled = false |
Color | inactive |
Color | active |
animation::Duration | duration = std::chrono::milliseconds(250) |
animation::easing::Function | function = animation::easing::QuadraticInOut |
Option about a potentially animated color.
Definition at line 56 of file component_options.hpp.
void Set | ( | Color | inactive, |
Color | active, | ||
animation::Duration | duration = std::chrono::milliseconds(250) , |
||
animation::easing::Function | function = animation::easing::QuadraticInOut |
||
) |
A color option that can be animated. @params _inactive The color when the component is inactive. @params _active The color when the component is active. @params _duration The duration of the animation. @params _function The easing function of the animation.
Definition at line 21 of file component_options.cpp.
bool enabled = false |
Definition at line 63 of file component_options.hpp.
Color inactive |
Definition at line 64 of file component_options.hpp.
Color active |
Definition at line 65 of file component_options.hpp.
animation::Duration duration = std::chrono::milliseconds(250) |
Definition at line 66 of file component_options.hpp.
Definition at line 67 of file component_options.hpp.