FTXUI  5.0.0
C++ functional terminal UI.
ftxui::animation::easing Namespace Reference

Functions

float Linear (float p)
 Modeled after the line y = x. More...
 
float QuadraticIn (float p)
 Modeled after the parabola y = x^2. More...
 
float QuadraticOut (float p)
 
float QuadraticInOut (float p)
 
float CubicIn (float p)
 
float CubicOut (float p)
 
float CubicInOut (float p)
 
float QuarticIn (float p)
 
float QuarticOut (float p)
 
float QuarticInOut (float p)
 
float QuinticIn (float p)
 
float QuinticOut (float p)
 
float QuinticInOut (float p)
 
float SineIn (float p)
 
float SineOut (float p)
 
float SineInOut (float p)
 
float CircularIn (float p)
 
float CircularOut (float p)
 
float CircularInOut (float p)
 
float ExponentialIn (float p)
 
float ExponentialOut (float p)
 
float ExponentialInOut (float p)
 
float ElasticIn (float p)
 
float ElasticOut (float p)
 
float ElasticInOut (float p)
 
float BackIn (float p)
 
float BackOut (float p)
 
float BackInOut (float p)
 
float BounceIn (float p)
 
float BounceOut (float p)
 
float BounceInOut (float p)
 

Typedefs

using Function = std::function< float(float)>
 

Typedef Documentation

◆ Function

using Function = std::function<float(float)>

Definition at line 39 of file animation.hpp.

Function Documentation

◆ Linear()

float Linear ( float  p)

Modeled after the line y = x.

Examples
examples/component/menu_style.cpp.

Definition at line 30 of file animation.cpp.

◆ QuadraticIn()

float QuadraticIn ( float  p)

Modeled after the parabola y = x^2.

Definition at line 35 of file animation.cpp.

◆ QuadraticOut()

float QuadraticOut ( float  p)

Definition at line 40 of file animation.cpp.

◆ QuadraticInOut()

float QuadraticInOut ( float  p)

Definition at line 47 of file animation.cpp.

◆ CubicIn()

float CubicIn ( float  p)

Definition at line 52 of file animation.cpp.

◆ CubicOut()

float CubicOut ( float  p)

Definition at line 57 of file animation.cpp.

◆ CubicInOut()

float CubicInOut ( float  p)

Definition at line 65 of file animation.cpp.

◆ QuarticIn()

float QuarticIn ( float  p)

Definition at line 74 of file animation.cpp.

◆ QuarticOut()

float QuarticOut ( float  p)

Definition at line 79 of file animation.cpp.

◆ QuarticInOut()

float QuarticInOut ( float  p)

Definition at line 87 of file animation.cpp.

◆ QuinticIn()

float QuinticIn ( float  p)

Definition at line 96 of file animation.cpp.

◆ QuinticOut()

float QuinticOut ( float  p)

Definition at line 101 of file animation.cpp.

◆ QuinticInOut()

float QuinticInOut ( float  p)

Definition at line 109 of file animation.cpp.

◆ SineIn()

float SineIn ( float  p)

Definition at line 118 of file animation.cpp.

◆ SineOut()

float SineOut ( float  p)

Definition at line 123 of file animation.cpp.

◆ SineInOut()

float SineInOut ( float  p)

Definition at line 128 of file animation.cpp.

◆ CircularIn()

float CircularIn ( float  p)

Definition at line 133 of file animation.cpp.

◆ CircularOut()

float CircularOut ( float  p)

Definition at line 138 of file animation.cpp.

◆ CircularInOut()

float CircularInOut ( float  p)

Definition at line 145 of file animation.cpp.

◆ ExponentialIn()

float ExponentialIn ( float  p)

Definition at line 153 of file animation.cpp.

◆ ExponentialOut()

float ExponentialOut ( float  p)

Definition at line 158 of file animation.cpp.

◆ ExponentialInOut()

float ExponentialInOut ( float  p)

Definition at line 165 of file animation.cpp.

◆ ElasticIn()

float ElasticIn ( float  p)

Definition at line 178 of file animation.cpp.

◆ ElasticOut()

float ElasticOut ( float  p)
Examples
examples/component/menu_style.cpp.

Definition at line 185 of file animation.cpp.

◆ ElasticInOut()

float ElasticInOut ( float  p)

Definition at line 192 of file animation.cpp.

◆ BackIn()

float BackIn ( float  p)

Definition at line 203 of file animation.cpp.

◆ BackOut()

float BackOut ( float  p)

◆ BackInOut()

float BackInOut ( float  p)

Definition at line 216 of file animation.cpp.

◆ BounceIn()

float BounceIn ( float  p)

Definition at line 225 of file animation.cpp.

◆ BounceOut()

float BounceOut ( float  p)

Definition at line 229 of file animation.cpp.

◆ BounceInOut()

float BounceInOut ( float  p)

Definition at line 245 of file animation.cpp.