|
FTXUI 6.1.9
C++ functional terminal UI.
|
#include <component_options.hpp>
Public Member Functions | |
| void | SetAnimation (animation::Duration d, animation::easing::Function f) |
| Set how the underline should animate. | |
| void | SetAnimationDuration (animation::Duration d) |
| Set how the underline should animate. | |
| void | SetAnimationFunction (animation::easing::Function f) |
| Set how the underline should animate. | |
| void | SetAnimationFunction (animation::easing::Function f_leader, animation::easing::Function f_follower) |
| Set how the underline should animate. This is useful to desynchronize the animation of the leader and the follower. | |
Public Attributes | |
| bool | enabled = false |
| Color | color_active = Color::White |
| Color | color_inactive = Color::GrayDark |
| animation::easing::Function | leader_function |
| animation::easing::Function | follower_function |
| animation::Duration | leader_duration = std::chrono::milliseconds(250) |
| animation::Duration | leader_delay = std::chrono::milliseconds(0) |
| animation::Duration | follower_duration = std::chrono::milliseconds(250) |
| animation::Duration | follower_delay = std::chrono::milliseconds(0) |
Definition at line 30 of file component_options.hpp.
| bool enabled = false |
Definition at line 31 of file component_options.hpp.
| Color color_active = Color::White |
Definition at line 33 of file component_options.hpp.
| Color color_inactive = Color::GrayDark |
Definition at line 34 of file component_options.hpp.
| animation::easing::Function leader_function |
Definition at line 36 of file component_options.hpp.
| animation::easing::Function follower_function |
Definition at line 38 of file component_options.hpp.
| animation::Duration leader_duration = std::chrono::milliseconds(250) |
Definition at line 41 of file component_options.hpp.
| animation::Duration leader_delay = std::chrono::milliseconds(0) |
Definition at line 42 of file component_options.hpp.
| animation::Duration follower_duration = std::chrono::milliseconds(250) |
Definition at line 43 of file component_options.hpp.
| animation::Duration follower_delay = std::chrono::milliseconds(0) |
Definition at line 44 of file component_options.hpp.