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_pt/ftnoir_tracker_pt_settings.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'ftnoir_tracker_pt') diff --git a/ftnoir_tracker_pt/ftnoir_tracker_pt_settings.h b/ftnoir_tracker_pt/ftnoir_tracker_pt_settings.h index 57752ed6..f3b21b50 100644 --- a/ftnoir_tracker_pt/ftnoir_tracker_pt_settings.h +++ b/ftnoir_tracker_pt/ftnoir_tracker_pt_settings.h @@ -13,9 +13,8 @@ #include "opentrack/options.hpp" using namespace options; -struct settings +struct settings : opts { - pbundle b; value cam_index, cam_res_x, cam_res_y, @@ -38,7 +37,7 @@ struct settings value dynamic_pose; settings() : - b(bundle("tracker-pt")), + opts("tracker-pt"), cam_index(b, "camera-index", 0), cam_res_x(b, "camera-res-width", 640), cam_res_y(b, "camera-res-height", 480), -- cgit v1.2.3