Skip to content

Commit

Permalink
[exp.smooth] add a widget
Browse files Browse the repository at this point in the history
  • Loading branch information
jcelerier committed Nov 7, 2024
1 parent df0a130 commit 0551f16
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion examples/Raw/Interpolator.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace examples
{
struct ExponentialSmoothing
{
static constexpr auto name() { return "Exponential Smoothing"; }
static constexpr auto name() { return "Exp Smoothing"; }
static constexpr auto c_name() { return "avnd_expsmooth"; }
static constexpr auto author() { return "Jean-Michaël Celerier"; }
static constexpr auto category() { return "Control/Mappings"; }
Expand All @@ -24,6 +24,10 @@ struct ExponentialSmoothing
struct
{
static constexpr auto name() { return "Alpha"; }
enum widget
{
hslider
};
struct range
{
double min{0.01}, max{1.}, init{0.5};
Expand Down

0 comments on commit 0551f16

Please sign in to comment.