12 #include <QApplication>
29 titleAddText(qApp->translate(
"SplashScreen", _titleAddText))
32 QPixmap pixmap(
":/icons/bitcoin");
37 QImage img = pixmap.toImage();
42 for(
int y=0;y<img.height();y++)
44 QRgb *scL =
reinterpret_cast< QRgb *
>( img.scanLine( y ) );
47 for(
int x=0;x<img.width();x++)
73 pixmap.convertFromImage(img);
84 if (
networkId == network_style.networkId) {
86 network_style.appName,
87 network_style.iconColorHueShift,
88 network_style.iconColorSaturationReduction,
std::string ChainTypeToString(ChainType chain)
NetworkStyle(const QString &appName, const int iconColorHueShift, const int iconColorSaturationReduction, const char *titleAddText)
static const NetworkStyle * instantiate(const ChainType networkId)
Get style associated with provided network id, or 0 if not known.
#define QAPP_APP_NAME_TESTNET
#define QAPP_APP_NAME_REGTEST
#define QAPP_APP_NAME_SIGNET
#define QAPP_APP_NAME_DEFAULT
const int iconColorHueShift
const ChainType networkId
static const struct @5 network_styles[]
const int iconColorSaturationReduction