Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

guiconstants.h
Go to the documentation of this file.
1 // Copyright (c) 2011-2015 The Bitcoin Core developers
2 // Copyright (c) 2014-2020 The Dash Core developers
3 // Distributed under the MIT software license, see the accompanying
4 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
5 
6 #ifndef BITCOIN_QT_GUICONSTANTS_H
7 #define BITCOIN_QT_GUICONSTANTS_H
8 
9 /* Milliseconds between model updates */
10 static const int MODEL_UPDATE_DELAY = 250;
11 
12 /* AskPassphraseDialog -- Maximum passphrase length */
13 static const int MAX_PASSPHRASE_SIZE = 1024;
14 
15 /* DashGUI -- Size of icons in status bar */
16 static const int STATUSBAR_ICONSIZE = 18;
17 
18 /* DashGUI -- Size of button icons e.g. in SendCoinEntry or SignVerifyMessageDialog */
19 static const int BUTTON_ICONSIZE = 23;
20 
21 static const bool DEFAULT_SPLASHSCREEN = true;
22 
24 #define RGB_HALF 0x7f7f7f
25 
26 #define ICONS_PATH ":icons/"
27 
28 #define MOVIES_PATH ":movies/"
29 
30 /* Tooltips longer than this (in characters) are converted into rich text,
31  so that they can be word-wrapped.
32  */
33 static const int TOOLTIP_WRAP_THRESHOLD = 80;
34 
35 /* Maximum allowed URI length */
36 static const int MAX_URI_LENGTH = 255;
37 
38 /* QRCodeDialog -- size of exported QR Code image */
39 #define QR_IMAGE_SIZE 300
40 
41 /* Number of frames in spinner animation */
42 #define SPINNER_FRAMES 90
43 
44 #define QAPP_ORG_NAME "Dash"
45 #define QAPP_ORG_DOMAIN "dash.org"
46 #define QAPP_APP_NAME_DEFAULT "Dash-Qt"
47 #define QAPP_APP_NAME_TESTNET "Dash-Qt-testnet"
48 #define QAPP_APP_NAME_DEVNET "Dash-Qt-%s"
49 #define QAPP_APP_NAME_REGTEST "Dash-Qt-regtest"
50 
51 #endif // BITCOIN_QT_GUICONSTANTS_H
static const int MAX_PASSPHRASE_SIZE
Definition: guiconstants.h:13
static const bool DEFAULT_SPLASHSCREEN
Definition: guiconstants.h:21
static const int MODEL_UPDATE_DELAY
Definition: guiconstants.h:10
static const int STATUSBAR_ICONSIZE
Definition: guiconstants.h:16
static const int TOOLTIP_WRAP_THRESHOLD
Definition: guiconstants.h:33
static const int BUTTON_ICONSIZE
Definition: guiconstants.h:19
static const int MAX_URI_LENGTH
Definition: guiconstants.h:36
Released under the MIT license