Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

networkstyle.cpp File Reference
#include <qt/networkstyle.h>
#include <qt/guiconstants.h>
#include <qt/guiutil.h>
#include <chainparams.h>
#include <tinyformat.h>
#include <util.h>
#include <QApplication>
+ Include dependency graph for networkstyle.cpp:

Go to the source code of this file.

Variables

struct {
   const char *   networkId
 
   const char *   appName
 
   const int   iconColorHueShift
 
   const int   iconColorSaturationReduction
 
   const std::string   titleAddText
 
network_styles []
 
static const unsigned network_styles_count = sizeof(network_styles)/sizeof(*network_styles)
 

Variable Documentation

◆ appName

const char* appName

Definition at line 19 of file networkstyle.cpp.

◆ iconColorHueShift

const int iconColorHueShift

◆ iconColorSaturationReduction

const int iconColorSaturationReduction

◆ network_styles

const { ... } network_styles[]
Initial value:
= {
{"main", QAPP_APP_NAME_DEFAULT, 0, 0, ""},
{"test", QAPP_APP_NAME_TESTNET, 190, 20, QT_TRANSLATE_NOOP("SplashScreen", "[testnet]")},
{"devnet", QAPP_APP_NAME_DEVNET, 190, 20, "[devnet: %s]"},
{"regtest", QAPP_APP_NAME_REGTEST, 160, 30, "[regtest]"}
}
#define QAPP_APP_NAME_REGTEST
Definition: guiconstants.h:49
#define QAPP_APP_NAME_DEFAULT
Definition: guiconstants.h:46
#define QAPP_APP_NAME_TESTNET
Definition: guiconstants.h:47
#define QAPP_APP_NAME_DEVNET
Definition: guiconstants.h:48

Referenced by NetworkStyle::instantiate().

◆ network_styles_count

const unsigned network_styles_count = sizeof(network_styles)/sizeof(*network_styles)
static

Definition at line 29 of file networkstyle.cpp.

Referenced by NetworkStyle::instantiate().

◆ networkId

const char* networkId

Definition at line 18 of file networkstyle.cpp.

Referenced by NetworkStyle::instantiate().

◆ titleAddText

const std::string titleAddText

Definition at line 22 of file networkstyle.cpp.

Referenced by SplashScreen::SplashScreen().

Released under the MIT license