mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 06:58:57 +01:00
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
This commit is contained in:
committed by
Wladimir J. van der Laan
parent
f3af0c898f
commit
54f2571a00
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user