diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2015-05-22 15:55:31 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2015-05-22 15:55:31 +0200 |
commit | 65bad699fc8472b49189a412f730409eb2e96311 (patch) | |
tree | 748a9ba239427447dc1cbf93815ed182f574998a /ftnoir_filter_ewma2 | |
parent | ca510926a258e0e332deb1dce427f4ff629c9348 (diff) |
all: implicitly cancel on form dialog close
Diffstat (limited to 'ftnoir_filter_ewma2')
-rw-r--r-- | ftnoir_filter_ewma2/ftnoir_filter_ewma2.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ftnoir_filter_ewma2/ftnoir_filter_ewma2.h b/ftnoir_filter_ewma2/ftnoir_filter_ewma2.h index 73c0df99..9f603b25 100644 --- a/ftnoir_filter_ewma2/ftnoir_filter_ewma2.h +++ b/ftnoir_filter_ewma2/ftnoir_filter_ewma2.h @@ -8,12 +8,11 @@ #include "opentrack/options.hpp" using namespace options; -struct settings { - pbundle b; +struct settings : opts { // these are sadly sliders for now due to int/double mismatch -sh value<int> kMinSmoothing, kMaxSmoothing, kSmoothingScaleCurve; settings() : - b(bundle("ewma-filter")), + opts("ewma-filter"), kMinSmoothing(b, "min-smoothing", 15), kMaxSmoothing(b, "max-smoothing", 50), kSmoothingScaleCurve(b, "smoothing-scale-curve", 10) |