12 #include <QApplication> 30 titleAddText(qApp->translate(
"SplashScreen", _titleAddText))
33 QPixmap pixmap(
":/icons/bitcoin");
35 if(iconColorHueShift != 0 && iconColorSaturationReduction != 0)
38 QImage img = pixmap.toImage();
43 for(
int y=0;y<img.height();y++)
45 QRgb *scL =
reinterpret_cast< QRgb *
>( img.scanLine( y ) );
48 for(
int x=0;x<img.width();x++)
62 if(s>iconColorSaturationReduction)
74 pixmap.convertFromImage(img);
92 titleAddText.c_str());
static const NetworkStyle * instantiate(const std::string &networkId)
Get style associated with provided network id, or 0 if not known.
#define QAPP_APP_NAME_REGTEST
static const std::string MAIN
Chain name strings.
const int iconColorHueShift
static const unsigned network_styles_count
#define QAPP_APP_NAME_DEFAULT
const int iconColorSaturationReduction
#define QAPP_APP_NAME_TESTNET
static const struct @5 network_styles[]
NetworkStyle(const QString &appName, const int iconColorHueShift, const int iconColorSaturationReduction, const char *titleAddText)
#define QAPP_APP_NAME_SIGNET