summaryrefslogtreecommitdiffstats
path: root/application/themes/ITheme.h
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2016-11-06 04:29:12 +0100
committerPetr Mrázek <peterix@gmail.com>2016-11-06 04:29:12 +0100
commitbc753859b5ab5d1402940024c0478548165b57f8 (patch)
tree4d067325767b6100f1483115e5547a80ef14a4da /application/themes/ITheme.h
parent13b575f7a90ef97f3b30f2a2f74bd19d58d375e7 (diff)
downloadMultiMC-bc753859b5ab5d1402940024c0478548165b57f8.tar
MultiMC-bc753859b5ab5d1402940024c0478548165b57f8.tar.gz
MultiMC-bc753859b5ab5d1402940024c0478548165b57f8.tar.lz
MultiMC-bc753859b5ab5d1402940024c0478548165b57f8.tar.xz
MultiMC-bc753859b5ab5d1402940024c0478548165b57f8.zip
GH-378 add basic custom theme support
Files you can customize are created in themes/custom/
Diffstat (limited to 'application/themes/ITheme.h')
-rw-r--r--application/themes/ITheme.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/application/themes/ITheme.h b/application/themes/ITheme.h
index 969969be..9c071e0a 100644
--- a/application/themes/ITheme.h
+++ b/application/themes/ITheme.h
@@ -11,4 +11,8 @@ public:
virtual QString appStyleSheet() = 0;
virtual QString qtTheme() = 0;
virtual QPalette colorScheme() = 0;
+ virtual QColor fadeColor() = 0;
+ virtual double fadeAmount() = 0;
+
+ static QPalette fadeInactive(QPalette in, qreal bias, QColor color);
};