diff options
author | Petr Mrázek <peterix@gmail.com> | 2016-11-06 04:29:12 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2016-11-06 04:29:12 +0100 |
commit | bc753859b5ab5d1402940024c0478548165b57f8 (patch) | |
tree | 4d067325767b6100f1483115e5547a80ef14a4da /application/themes/ITheme.h | |
parent | 13b575f7a90ef97f3b30f2a2f74bd19d58d375e7 (diff) | |
download | PrismLauncher-bc753859b5ab5d1402940024c0478548165b57f8.tar.gz PrismLauncher-bc753859b5ab5d1402940024c0478548165b57f8.tar.bz2 PrismLauncher-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.h | 4 |
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); }; |