summaryrefslogtreecommitdiffhomepage
path: root/tracker-pt/pt-settings.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-07-09 05:33:58 +0200
committerStanislaw Halik <sthalik@misaki.pl>2018-07-09 05:35:08 +0200
commit793cea587159a0ba01fec6af28e899697ef4da79 (patch)
treeb4ec4477862ed74dc2c180d2b002915f8df040e8 /tracker-pt/pt-settings.hpp
parent841e163ae4b86317cca29748cf0f2730418e4fa5 (diff)
cleanup only
Diffstat (limited to 'tracker-pt/pt-settings.hpp')
-rw-r--r--tracker-pt/pt-settings.hpp12
1 files changed, 10 insertions, 2 deletions
diff --git a/tracker-pt/pt-settings.hpp b/tracker-pt/pt-settings.hpp
index a35c248b..62297713 100644
--- a/tracker-pt/pt-settings.hpp
+++ b/tracker-pt/pt-settings.hpp
@@ -14,12 +14,16 @@ enum pt_color_type
pt_color_blue_only = 6,
};
+namespace pt_settings_detail {
+
+using namespace options;
+
struct pt_settings final : options::opts
{
using slider_value = options::slider_value;
- explicit pt_settings(const QString& name) : opts(name) {}
- ~pt_settings() override = default;
+ explicit pt_settings(const QString& name);
+ ~pt_settings() override;
value<QString> camera_name { b, "camera-name", "" };
value<int> cam_res_x { b, "camera-res-width", 640 },
@@ -54,3 +58,7 @@ struct pt_settings final : options::opts
value<slider_value> threshold_slider { b, "threshold-slider", { 128, 0, 255 } };
};
+
+} // ns pt_settings_detail
+
+using pt_settings = pt_settings_detail::pt_settings;