12#include <QApplication>
30 titleAddText(qApp->translate(
"SplashScreen", _titleAddText))
33 QPixmap pixmap(
":/icons/bitcoin");
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++)
74 pixmap.convertFromImage(img);
85 if (
networkId == network_style.networkId) {
87 network_style.appName,
88 network_style.iconColorHueShift,
89 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_TESTNET4
#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