summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_ht/ftnoir_tracker_ht.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-07-06 10:42:28 +0200
committerStanislaw Halik <sthalik@misaki.pl>2015-07-06 10:47:48 +0200
commitfcb8ca75c0c274be2321f0ba91e9f129ae63e354 (patch)
tree61dcae88917894e00da2c1e622a26567e1a4e01c /ftnoir_tracker_ht/ftnoir_tracker_ht.h
parentfaab09446c5c26b96e59218abc34b1dc24727418 (diff)
ht: initial camera dialog
It doesn't work while tracking. Can't pass DirectShow handle through shared memory.
Diffstat (limited to 'ftnoir_tracker_ht/ftnoir_tracker_ht.h')
-rw-r--r--ftnoir_tracker_ht/ftnoir_tracker_ht.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/ftnoir_tracker_ht/ftnoir_tracker_ht.h b/ftnoir_tracker_ht/ftnoir_tracker_ht.h
index cd4ffa16..25839039 100644
--- a/ftnoir_tracker_ht/ftnoir_tracker_ht.h
+++ b/ftnoir_tracker_ht/ftnoir_tracker_ht.h
@@ -16,6 +16,8 @@
#include <QObject>
#include "opentrack/options.hpp"
#include "opentrack/plugin-api.hpp"
+#include "opentrack/opencv-camera-dialog.hpp"
+
using namespace options;
struct settings : opts {
@@ -50,7 +52,7 @@ private:
};
// Widget that has controls for FTNoIR protocol client-settings.
-class TrackerControls : public ITrackerDialog
+class TrackerControls : public ITrackerDialog, protected camera_dialog<Tracker>
{
Q_OBJECT
public:
@@ -65,6 +67,7 @@ private:
private slots:
void doOK();
void doCancel();
+ void camera_settings();
};
#endif