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_tracker_ht/ftnoir_tracker_ht.h | |
parent | ca510926a258e0e332deb1dce427f4ff629c9348 (diff) |
all: implicitly cancel on form dialog close
Diffstat (limited to 'ftnoir_tracker_ht/ftnoir_tracker_ht.h')
-rw-r--r-- | ftnoir_tracker_ht/ftnoir_tracker_ht.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ftnoir_tracker_ht/ftnoir_tracker_ht.h b/ftnoir_tracker_ht/ftnoir_tracker_ht.h index 6a19477e..ce264b8c 100644 --- a/ftnoir_tracker_ht/ftnoir_tracker_ht.h +++ b/ftnoir_tracker_ht/ftnoir_tracker_ht.h @@ -18,12 +18,11 @@ #include "opentrack/plugin-api.hpp" using namespace options; -struct settings { - pbundle b; +struct settings : opts { value<double> fov; value<int> fps, camera_idx, resolution; settings() : - b(bundle("HT-Tracker")), + opts("HT-Tracker"), fov(b, "fov", 56), fps(b, "fps", 0), camera_idx(b, "camera-index", 0), |