summaryrefslogtreecommitdiffhomepage
path: root/gui
diff options
context:
space:
mode:
Diffstat (limited to 'gui')
-rw-r--r--gui/images/THgriddy.pngbin0 -> 49826 bytes
-rw-r--r--gui/images/griddyNoLogo.pngbin0 -> 29026 bytes
-rw-r--r--gui/images/griddyNoLogoWhite.pngbin0 -> 28763 bytes
-rw-r--r--gui/images/griddyWhite.pngbin0 -> 49577 bytes
-rw-r--r--gui/images/newcogicon.pngbin0 -> 8662 bytes
-rw-r--r--gui/images/newmapicon.pngbin0 -> 6543 bytes
-rw-r--r--gui/images/newsetticon.pngbin0 -> 24315 bytes
-rw-r--r--gui/images/opentrack.pngbin20633 -> 13717 bytes
-rw-r--r--gui/images/trackingshape.pngbin0 -> 172818 bytes
-rw-r--r--gui/init.cpp5
-rw-r--r--gui/opentrack-res.qrc24
11 files changed, 18 insertions, 11 deletions
diff --git a/gui/images/THgriddy.png b/gui/images/THgriddy.png
new file mode 100644
index 00000000..c69ae632
--- /dev/null
+++ b/gui/images/THgriddy.png
Binary files differ
diff --git a/gui/images/griddyNoLogo.png b/gui/images/griddyNoLogo.png
new file mode 100644
index 00000000..83b844c0
--- /dev/null
+++ b/gui/images/griddyNoLogo.png
Binary files differ
diff --git a/gui/images/griddyNoLogoWhite.png b/gui/images/griddyNoLogoWhite.png
new file mode 100644
index 00000000..897e478f
--- /dev/null
+++ b/gui/images/griddyNoLogoWhite.png
Binary files differ
diff --git a/gui/images/griddyWhite.png b/gui/images/griddyWhite.png
new file mode 100644
index 00000000..6cf4aea1
--- /dev/null
+++ b/gui/images/griddyWhite.png
Binary files differ
diff --git a/gui/images/newcogicon.png b/gui/images/newcogicon.png
new file mode 100644
index 00000000..f8da1a69
--- /dev/null
+++ b/gui/images/newcogicon.png
Binary files differ
diff --git a/gui/images/newmapicon.png b/gui/images/newmapicon.png
new file mode 100644
index 00000000..52163e69
--- /dev/null
+++ b/gui/images/newmapicon.png
Binary files differ
diff --git a/gui/images/newsetticon.png b/gui/images/newsetticon.png
new file mode 100644
index 00000000..935c1143
--- /dev/null
+++ b/gui/images/newsetticon.png
Binary files differ
diff --git a/gui/images/opentrack.png b/gui/images/opentrack.png
index 39359782..48cbe812 100644
--- a/gui/images/opentrack.png
+++ b/gui/images/opentrack.png
Binary files differ
diff --git a/gui/images/trackingshape.png b/gui/images/trackingshape.png
new file mode 100644
index 00000000..f8e5f26a
--- /dev/null
+++ b/gui/images/trackingshape.png
Binary files differ
diff --git a/gui/init.cpp b/gui/init.cpp
index b54a085e..431ad04c 100644
--- a/gui/init.cpp
+++ b/gui/init.cpp
@@ -37,6 +37,9 @@ using namespace options;
extern "C" __declspec(dllimport) unsigned __cdecl _controlfp(unsigned, unsigned);
#endif
+extern "C" OTR_GENERIC_EXPORT bool opentrack_using_dark_theme;
+bool opentrack_using_dark_theme = false;
+
static void set_fp_mask()
{
#if defined OTR_ARCH_DENORM_DAZ
@@ -188,6 +191,7 @@ static void apply_dark_windows_theme_if_needed()
qApp->setPalette(darkPalette);
qApp->setStyleSheet("QToolTip { color: #ffffff; background-color: #2a82da; border: 1px solid white; }");
+ opentrack_using_dark_theme = true;
}
}
@@ -345,4 +349,3 @@ int otr_main(int argc, char** argv, std::function<std::unique_ptr<QWidget>()> co
return ret;
}
-
diff --git a/gui/opentrack-res.qrc b/gui/opentrack-res.qrc
index b4d7b4a5..987c7c55 100644
--- a/gui/opentrack-res.qrc
+++ b/gui/opentrack-res.qrc
@@ -1,12 +1,16 @@
<RCC>
- <qresource prefix="/">
- <file>images/tools.png</file>
- <file>images/settings16.png</file>
- <file>images/curves.png</file>
- <file>images/opentrack.png</file>
- <file>images/no-feed.png</file>
- <file>images/filter-16.png</file>
- <file>images/tracking-not-started.png</file>
- <file>images/english.png</file>
- </qresource>
+ <qresource prefix="/">
+ <file>images/newcogicon.png</file>
+ <file>images/newmapicon.png</file>
+ <file>images/newsetticon.png</file>
+ <file>images/THgriddy.png</file>
+ <file>images/tools.png</file>
+ <file>images/settings16.png</file>
+ <file>images/curves.png</file>
+ <file>images/opentrack.png</file>
+ <file>images/no-feed.png</file>
+ <file>images/filter-16.png</file>
+ <file>images/tracking-not-started.png</file>
+ <file>images/english.png</file>
+ </qresource>
</RCC>