|
FTXUI
5.0.0
C++ functional terminal UI.
|
Public Member Functions | |
| void | SetAnimation (animation::Duration d, animation::easing::Function f) |
| Set how the underline should animate. More... | |
| void | SetAnimationDuration (animation::Duration d) |
| Set how the underline should animate. More... | |
| void | SetAnimationFunction (animation::easing::Function f) |
| Set how the underline should animate. More... | |
| 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. More... | |
Data Fields | |
| 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 31 of file component_options.hpp.
| void SetAnimation | ( | animation::Duration | d, |
| animation::easing::Function | f | ||
| ) |
Set how the underline should animate.
| d | The duration of the animation. |
| f | The easing function of the animation. |
Definition at line 37 of file component_options.cpp.
| void SetAnimationDuration | ( | animation::Duration | d | ) |
Set how the underline should animate.
| d | The duration of the animation. |
Definition at line 46 of file component_options.cpp.
| void SetAnimationFunction | ( | animation::easing::Function | f | ) |
Set how the underline should animate.
| f | The easing function of the animation. |
Definition at line 54 of file component_options.cpp.
| 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.
| f_leader | The duration of the animation for the leader. |
| f_follower | The duration of the animation for the follower. |
Definition at line 65 of file component_options.cpp.
| bool enabled = false |
Definition at line 32 of file component_options.hpp.
| Color color_active = Color::White |
Definition at line 34 of file component_options.hpp.
| Color color_inactive = Color::GrayDark |
Definition at line 35 of file component_options.hpp.
| animation::easing::Function leader_function |
Definition at line 37 of file component_options.hpp.
| animation::easing::Function follower_function |
Definition at line 39 of file component_options.hpp.
| animation::Duration leader_duration = std::chrono::milliseconds(250) |
Definition at line 42 of file component_options.hpp.
| animation::Duration leader_delay = std::chrono::milliseconds(0) |
Definition at line 43 of file component_options.hpp.
| animation::Duration follower_duration = std::chrono::milliseconds(250) |
Definition at line 44 of file component_options.hpp.
| animation::Duration follower_delay = std::chrono::milliseconds(0) |
Definition at line 45 of file component_options.hpp.