Fabcoin Core  0.16.2
P2P Digital Currency
guiconstants.h
Go to the documentation of this file.
1 // Copyright (c) 2011-2017 The Bitcoin Core developers
2 // Distributed under the MIT software license, see the accompanying
3 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
4 
5 #ifndef FABCOIN_QT_GUICONSTANTS_H
6 #define FABCOIN_QT_GUICONSTANTS_H
7 
8 /* Milliseconds between model updates */
9 static const int MODEL_UPDATE_DELAY = 2000;
10 
11 /* AskPassphraseDialog -- Maximum passphrase length */
12 static const int MAX_PASSPHRASE_SIZE = 1024;
13 
14 /* FabcoinGUI -- Size of icons in status bar */
15 static const int STATUSBAR_ICONSIZE = 16;
16 
17 static const bool DEFAULT_SPLASHSCREEN = true;
18 
19 /* Transaction list -- unconfirmed transaction */
20 #define COLOR_UNCONFIRMED QColor(128, 128, 128)
21 /* Transaction list -- negative amount */
22 #define COLOR_NEGATIVE QColor(255, 255, 255)
23 /* Transaction list -- bare address (without label) */
24 #define COLOR_BAREADDRESS QColor(140, 140, 140)
25 /* Transaction list -- TX status decoration - open until date */
26 #define COLOR_TX_STATUS_OPENUNTILDATE QColor(64, 64, 255)
27 /* Transaction list -- TX status decoration - offline */
28 #define COLOR_TX_STATUS_OFFLINE QColor(192, 192, 192)
29 /* Transaction list -- TX status decoration - danger, tx needs attention */
30 #define COLOR_TX_STATUS_DANGER QColor(200, 100, 100)
31 /* Transaction list -- TX status decoration - default color */
32 #define COLOR_BLACK QColor(0, 0, 0)
33 
34 // Number of different confirmation icons
35 #define CONFIRM_ICONS 5
36 
37 /* Tooltips longer than this (in characters) are converted into rich text,
38  so that they can be word-wrapped.
39  */
40 static const int TOOLTIP_WRAP_THRESHOLD = 80;
41 
42 /* Maximum allowed URI length */
43 static const int MAX_URI_LENGTH = 255;
44 
45 /* QRCodeDialog -- size of exported QR Code image */
46 #define QR_IMAGE_SIZE 300
47 
48 /* Number of frames in spinner animation */
49 #define SPINNER_FRAMES 36
50 
51 #define QAPP_ORG_NAME "Fabcoin"
52 #define QAPP_ORG_DOMAIN "fabcoin.pro"
53 #define QAPP_APP_NAME_DEFAULT "Fabcoin-Qt"
54 #define QAPP_APP_NAME_TESTNET "Fabcoin-Qt-testnet"
55 
56 #endif // FABCOIN_QT_GUICONSTANTS_H