summaryrefslogtreecommitdiffstats
path: root/application/themes/SystemTheme.cpp
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/SystemTheme.cpp
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/SystemTheme.cpp')
-rw-r--r--application/themes/SystemTheme.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/application/themes/SystemTheme.cpp b/application/themes/SystemTheme.cpp
index 6d8a0ee8..f7a68061 100644
--- a/application/themes/SystemTheme.cpp
+++ b/application/themes/SystemTheme.cpp
@@ -47,3 +47,13 @@ QString SystemTheme::appStyleSheet()
{
return QString();
}
+
+double SystemTheme::fadeAmount()
+ {
+ return 0.5;
+ }
+
+QColor SystemTheme::fadeColor()
+ {
+ return QColor(128,128,128);
+ }