summaryrefslogtreecommitdiffstats
path: root/application/themes/FusionTheme.h
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2016-11-05 15:51:51 +0100
committerPetr Mrázek <peterix@gmail.com>2016-11-06 00:17:02 +0100
commit13b575f7a90ef97f3b30f2a2f74bd19d58d375e7 (patch)
tree4fffdae5bc645bd57d072bf5c3581a2b7613abc8 /application/themes/FusionTheme.h
parent495e752f8aef2774702890b8edc93de592c66984 (diff)
downloadMultiMC-13b575f7a90ef97f3b30f2a2f74bd19d58d375e7.tar
MultiMC-13b575f7a90ef97f3b30f2a2f74bd19d58d375e7.tar.gz
MultiMC-13b575f7a90ef97f3b30f2a2f74bd19d58d375e7.tar.lz
MultiMC-13b575f7a90ef97f3b30f2a2f74bd19d58d375e7.tar.xz
MultiMC-13b575f7a90ef97f3b30f2a2f74bd19d58d375e7.zip
GH-1711 fix inactive element shading in Dark and Bright themes
Diffstat (limited to 'application/themes/FusionTheme.h')
-rw-r--r--application/themes/FusionTheme.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/application/themes/FusionTheme.h b/application/themes/FusionTheme.h
new file mode 100644
index 00000000..2f938eb9
--- /dev/null
+++ b/application/themes/FusionTheme.h
@@ -0,0 +1,14 @@
+#pragma once
+
+#include "ITheme.h"
+
+class FusionTheme: public ITheme
+{
+public:
+ virtual ~FusionTheme() {}
+
+ QString qtTheme() override;
+
+protected:
+ QPalette fadeInactive(QPalette in, qreal bias, QColor color);
+};