summaryrefslogtreecommitdiffstats
path: root/application/themes/ITheme.h
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2016-11-06 05:48:52 +0100
committerPetr Mrázek <peterix@gmail.com>2016-11-06 05:48:52 +0100
commit37cc59c04d0573a42d67242135495c0a0729f965 (patch)
tree35cd453c9d35022dd31f5c2769740b5b80d4ba9c /application/themes/ITheme.h
parentbc753859b5ab5d1402940024c0478548165b57f8 (diff)
downloadMultiMC-37cc59c04d0573a42d67242135495c0a0729f965.tar
MultiMC-37cc59c04d0573a42d67242135495c0a0729f965.tar.gz
MultiMC-37cc59c04d0573a42d67242135495c0a0729f965.tar.lz
MultiMC-37cc59c04d0573a42d67242135495c0a0729f965.tar.xz
MultiMC-37cc59c04d0573a42d67242135495c0a0729f965.zip
GH-378 add a resource search path to custom themes
This allows adding images and other bits and pieces to themes.
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 9c071e0a..8070efb1 100644
--- a/application/themes/ITheme.h
+++ b/application/themes/ITheme.h
@@ -13,6 +13,10 @@ public:
virtual QPalette colorScheme() = 0;
virtual QColor fadeColor() = 0;
virtual double fadeAmount() = 0;
+ virtual QStringList searchPaths()
+ {
+ return {};
+ }
static QPalette fadeInactive(QPalette in, qreal bias, QColor color);
};