From 65bad699fc8472b49189a412f730409eb2e96311 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 22 May 2015 15:55:31 +0200 Subject: all: implicitly cancel on form dialog close --- ftnoir_tracker_freepie-udp/ftnoir_tracker_freepie-udp.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'ftnoir_tracker_freepie-udp/ftnoir_tracker_freepie-udp.h') 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 port, idx_x, idx_y, idx_z; value 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), -- cgit v1.2.3