ftxui::UnderlineOption
component_options.hpp
bool bool enabled enabled ftxui::UnderlineOption::enabled = false
Color Color color_active color_active ftxui::UnderlineOption::color_active = Color::White
Color Color color_inactive color_inactive ftxui::UnderlineOption::color_inactive = Color::GrayDark
animation::easing::Function animation::easing::Function leader_function leader_function ftxui::UnderlineOption::leader_function = animation::easing::QuadraticInOut
animation::easing::Function animation::easing::Function follower_function follower_function ftxui::UnderlineOption::follower_function = animation::easing::QuadraticInOut
animation::Duration animation::Duration leader_duration leader_duration ftxui::UnderlineOption::leader_duration = std::chrono::milliseconds(250)
animation::Duration animation::Duration leader_delay leader_delay ftxui::UnderlineOption::leader_delay = std::chrono::milliseconds(0)
animation::Duration animation::Duration follower_duration follower_duration ftxui::UnderlineOption::follower_duration = std::chrono::milliseconds(250)
animation::Duration animation::Duration follower_delay follower_delay ftxui::UnderlineOption::follower_delay = std::chrono::milliseconds(0)
void void SetAnimation (animation::Duration d, animation::easing::Function f) SetAnimation ftxui::UnderlineOption::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.

void void SetAnimationDuration (animation::Duration d) SetAnimationDuration ftxui::UnderlineOption::SetAnimationDuration animation::Duration d

Set how the underline should animate.

d

The duration of the animation.

void void SetAnimationFunction (animation::easing::Function f) SetAnimationFunction ftxui::UnderlineOption::SetAnimationFunction animation::easing::Function f

Set how the underline should animate.

f

The easing function of the animation.

void void SetAnimationFunction (animation::easing::Function f_leader, animation::easing::Function f_follower) SetAnimationFunction ftxui::UnderlineOption::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.

UnderlineOption
color_active
color_inactive
Color
- ftxui::UnderlineOption
  color_active
- ftxui::UnderlineOption
  color_inactive
- ftxui::UnderlineOption
  enabled
- ftxui::UnderlineOption
  follower_delay
- ftxui::UnderlineOption
  follower_duration
- ftxui::UnderlineOption
  follower_function
- ftxui::UnderlineOption
  leader_delay
- ftxui::UnderlineOption
  leader_duration
- ftxui::UnderlineOption
  leader_function
- ftxui::UnderlineOption
  SetAnimation
- ftxui::UnderlineOption
  SetAnimationDuration
- ftxui::UnderlineOption
  SetAnimationFunction
- ftxui::UnderlineOption
  SetAnimationFunction