summaryrefslogtreecommitdiffhomepage
path: root/opentrack
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2021-12-19 16:44:21 +0100
committerStanislaw Halik <sthalik@misaki.pl>2021-12-19 16:44:21 +0100
commitb9a3909834826f035e639a196cc0f8cf7e20ca55 (patch)
treeba7f9229f57963d6c5e9cbd029bf8f7422dddb9f /opentrack
parentcc9ef300857255d84efef60868448c6765d3ccff (diff)
opentrack: #define to force particular module, overriding .ini
Diffstat (limited to 'opentrack')
-rw-r--r--opentrack/defs.hpp13
-rw-r--r--opentrack/main-window.cpp2
2 files changed, 14 insertions, 1 deletions
diff --git a/opentrack/defs.hpp b/opentrack/defs.hpp
new file mode 100644
index 00000000..01b6557f
--- /dev/null
+++ b/opentrack/defs.hpp
@@ -0,0 +1,13 @@
+#pragma once
+
+//#define UI_FORCED_TRACKER "pt"
+//#define UI_FORCED_FILTER "accela"
+
+//#define UI_NO_TRACKER_COMBOBOX
+//#define UI_NO_FILTER_COMBOBOX
+
+//#define UI_NO_TRACKER_SETTINGS_BUTTON
+//#define UI_NO_FILTER_SETTINGS_BUTTON
+
+//#define UI_NO_RAW_DATA
+//#define UI_NO_GAME_DATA
diff --git a/opentrack/main-window.cpp b/opentrack/main-window.cpp
index ac20c7de..e81299d7 100644
--- a/opentrack/main-window.cpp
+++ b/opentrack/main-window.cpp
@@ -17,8 +17,8 @@
#include "compat/library-path.hpp"
#include "compat/math.hpp"
#include "compat/sysexits.hpp"
+#include "opentrack/defs.hpp"
-#include <algorithm>
#include <utility>
#include <QMessageBox>