9 #include <QApplication>    17 } network_styles[] = {
    22 static const unsigned network_styles_count = 
sizeof(network_styles)/
sizeof(*network_styles);
    27     titleAddText(qApp->translate(
"SplashScreen", _titleAddText))
    30     QPixmap pixmap(
":/icons/bitcoin");
    35         QImage img = pixmap.toImage();
    40         for(
int y=0;y<img.height();y++)
    42             QRgb *scL = 
reinterpret_cast< QRgb *
>( img.scanLine( y ) );
    45             for(
int x=0;x<img.width();x++)
    71         pixmap.convertFromImage(img);
    80     for (
unsigned x=0; x<network_styles_count; ++x)
 
const int iconColorHueShift
 
#define QAPP_APP_NAME_DEFAULT
 
const int iconColorSaturationReduction
 
#define QAPP_APP_NAME_TESTNET
 
NetworkStyle(const QString &appName, const int iconColorHueShift, const int iconColorSaturationReduction, const char *titleAddText)
 
const char * titleAddText
 
static const NetworkStyle * instantiate(const QString &networkId)
Get style associated with provided BIP70 network id, or 0 if not known.