aboutsummaryrefslogtreecommitdiff
path: root/src/qt/networkstyle.h
diff options
context:
space:
mode:
authorJonas Schnelli <jonas.schnelli@include7.ch>2014-11-06 16:28:29 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2014-12-16 11:15:05 +0100
commit54f2571a00632e9813b9fabb447c7cc80f74ad29 (patch)
tree61367fc9f103d08a4708a01fde086bbb8b98a4c1 /src/qt/networkstyle.h
parentf3af0c898f1ba280761101844c4694c7427f304a (diff)
Qt: HiDPI (retina) support for splash screen
- remove splash screen images (reduce binary size) - dynamicly draw splash screen with available icon. - remove testnet icon - dynamicly colorize testnet icon
Diffstat (limited to 'src/qt/networkstyle.h')
-rw-r--r--src/qt/networkstyle.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/qt/networkstyle.h b/src/qt/networkstyle.h
index e49b86c950..2bfb3c1d55 100644
--- a/src/qt/networkstyle.h
+++ b/src/qt/networkstyle.h
@@ -17,17 +17,17 @@ public:
static const NetworkStyle *instantiate(const QString &networkId);
const QString &getAppName() const { return appName; }
- const QIcon &getAppIcon() const { return appIcon; }
const QString &getTitleAddText() const { return titleAddText; }
- const QPixmap &getSplashImage() const { return splashImage; }
+ QIcon getAppIcon() const;
+ QIcon getAppIcon(const QSize size) const;
private:
- NetworkStyle(const QString &appName, const QString &appIcon, const char *titleAddText, const QString &splashImage);
+ NetworkStyle(const QString &appName, const int iconColorHueShift, const int iconColorSaturationReduction, const char *titleAddText);
QString appName;
- QIcon appIcon;
+ int iconColorHueShift;
+ int iconColorSaturationReduction;
QString titleAddText;
- QPixmap splashImage;
};
#endif // BITCOIN_QT_NETWORKSTYLE_H