|
|
|
@ -18,9 +18,9 @@ static const struct {
|
|
|
|
|
const int iconColorSaturationReduction;
|
|
|
|
|
} network_styles[] = {
|
|
|
|
|
{"main", QAPP_APP_NAME_DEFAULT, 0, 0},
|
|
|
|
|
{"test", QAPP_APP_NAME_TESTNET, 70, 30},
|
|
|
|
|
{"test", QAPP_APP_NAME_TESTNET, 0, 0},
|
|
|
|
|
{"signet", QAPP_APP_NAME_SIGNET, 35, 15},
|
|
|
|
|
{"regtest", QAPP_APP_NAME_REGTEST, 160, 30},
|
|
|
|
|
{"regtest", QAPP_APP_NAME_REGTEST, 60, 1},
|
|
|
|
|
};
|
|
|
|
|
static const unsigned network_styles_count = sizeof(network_styles)/sizeof(*network_styles);
|
|
|
|
|
|
|
|
|
@ -30,7 +30,12 @@ NetworkStyle::NetworkStyle(const QString &_appName, const int iconColorHueShift,
|
|
|
|
|
titleAddText(qApp->translate("SplashScreen", _titleAddText))
|
|
|
|
|
{
|
|
|
|
|
// load pixmap
|
|
|
|
|
QPixmap pixmap(":/icons/bitcoin");
|
|
|
|
|
QPixmap pixmap;
|
|
|
|
|
if (std::char_traits<char>::length(_titleAddText) == 0) {
|
|
|
|
|
pixmap.load(":/icons/bitcoin");
|
|
|
|
|
} else {
|
|
|
|
|
pixmap.load(":/icons/litecoin_splash");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if(iconColorHueShift != 0 && iconColorSaturationReduction != 0)
|
|
|
|
|
{
|
|
|
|
|