summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_freepie-udp/ftnoir_tracker_freepie-udp.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-05-22 15:55:31 +0200
committerStanislaw Halik <sthalik@misaki.pl>2015-05-22 15:55:31 +0200
commit65bad699fc8472b49189a412f730409eb2e96311 (patch)
tree748a9ba239427447dc1cbf93815ed182f574998a /ftnoir_tracker_freepie-udp/ftnoir_tracker_freepie-udp.h
parentca510926a258e0e332deb1dce427f4ff629c9348 (diff)
all: implicitly cancel on form dialog close
Diffstat (limited to 'ftnoir_tracker_freepie-udp/ftnoir_tracker_freepie-udp.h')
-rw-r--r--ftnoir_tracker_freepie-udp/ftnoir_tracker_freepie-udp.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/ftnoir_tracker_freepie-udp/ftnoir_tracker_freepie-udp.h b/ftnoir_tracker_freepie-udp/ftnoir_tracker_freepie-udp.h
index 0567beae..5a70026c 100644
--- a/ftnoir_tracker_freepie-udp/ftnoir_tracker_freepie-udp.h
+++ b/ftnoir_tracker_freepie-udp/ftnoir_tracker_freepie-udp.h
@@ -13,12 +13,11 @@
#include "opentrack/options.hpp"
using namespace options;
-struct settings {
- pbundle b;
+struct settings : opts {
value<int> port, idx_x, idx_y, idx_z;
value<int> add_yaw, add_pitch, add_roll;
settings() :
- b(bundle("freepie-udp-tracker")),
+ opts("freepie-udp-tracker"),
port(b, "port", 5555),
idx_x(b, "axis-index-x", 0),
idx_y(b, "axis-index-y", 1),