diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-01-04 13:06:53 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-01-23 14:16:33 +0100 |
commit | 8ff5c1a349781810a9166128e7840e0ee281e8ae (patch) | |
tree | 5b8808145ef9f3de95ee829dda25d7c106773fef /opentrack/main-window.hpp | |
parent | c30f9afc6ef614167969d3d76395f3804c7889c4 (diff) |
[MERGE] opentrack: add UI_NO_VIDEO_FRAME
Diffstat (limited to 'opentrack/main-window.hpp')
-rw-r--r-- | opentrack/main-window.hpp | 6 |
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; |