summaryrefslogtreecommitdiffhomepage
path: root/opentrack/main-window.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-01-04 13:06:53 +0100
committerStanislaw Halik <sthalik@misaki.pl>2023-03-01 22:47:07 +0100
commit00b01a219f694ab8237e6e7be5776ff375a5c9d4 (patch)
tree5d9ee2fa36d61ca6b4a238f47cff3a5c67ece1b5 /opentrack/main-window.hpp
parentbd90aaa53751610b5b49ab9042b4612af2816f88 (diff)
opentrack: add UI_NO_VIDEO_FRAME
Diffstat (limited to 'opentrack/main-window.hpp')
-rw-r--r--opentrack/main-window.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/opentrack/main-window.hpp b/opentrack/main-window.hpp
index ddb6b725..1dcbd0eb 100644
--- a/opentrack/main-window.hpp
+++ b/opentrack/main-window.hpp
@@ -8,6 +8,7 @@
#pragma once
+#include "opentrack/defs.hpp"
#include "api/plugin-support.hpp"
#include "gui/mapping-dialog.hpp"
#include "gui/options-dialog.hpp"
@@ -50,6 +51,11 @@ class main_window final : public QMainWindow, private State
Shortcuts global_shortcuts;
QShortcut kbd_quit { QKeySequence("Ctrl+Q"), this };
+#ifdef UI_NO_VIDEO_FEED
+ QWidget fake_video_frame_parent;
+ QFrame fake_video_frame{&fake_video_frame_parent};
+#endif
+
std::unique_ptr<options_dialog> options_widget;
std::unique_ptr<mapping_dialog> mapping_widget;