mirror of
https://github.com/dashpay/dash.git
synced 2024-12-28 13:32:47 +01:00
bb7a32d2e2
* Copy light(-hires).css -> dark(-hires).css (with no changes yet) * Add dark(-hires).css to makefile/qrc and show them in theme selector * Dark theme (css part) * Do not style unit selector in status bar via platform styles, use css instead * No coloring via forms (*.ui) * Implement and use helpers to style parts of rich text differently for light and dark themes * Remove dark-hires due to #3217 * Revert changes to light-hires.css to avoid merge conflicts with #3217
41 lines
1.2 KiB
C
41 lines
1.2 KiB
C
// Copyright (c) 2011-2015 The Bitcoin Core developers
|
|
// Copyright (c) 2014-2019 The Dash Core developers
|
|
// Distributed under the MIT software license, see the accompanying
|
|
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
|
|
|
#ifndef BITCOIN_QT_GUICONSTANTS_H
|
|
#define BITCOIN_QT_GUICONSTANTS_H
|
|
|
|
/* Milliseconds between model updates */
|
|
static const int MODEL_UPDATE_DELAY = 250;
|
|
|
|
/* AskPassphraseDialog -- Maximum passphrase length */
|
|
static const int MAX_PASSPHRASE_SIZE = 1024;
|
|
|
|
/* DashGUI -- Size of icons in status bar */
|
|
static const int STATUSBAR_ICONSIZE = 16;
|
|
|
|
static const bool DEFAULT_SPLASHSCREEN = true;
|
|
|
|
/* Tooltips longer than this (in characters) are converted into rich text,
|
|
so that they can be word-wrapped.
|
|
*/
|
|
static const int TOOLTIP_WRAP_THRESHOLD = 80;
|
|
|
|
/* Maximum allowed URI length */
|
|
static const int MAX_URI_LENGTH = 255;
|
|
|
|
/* QRCodeDialog -- size of exported QR Code image */
|
|
#define QR_IMAGE_SIZE 300
|
|
|
|
/* Number of frames in spinner animation */
|
|
#define SPINNER_FRAMES 36
|
|
|
|
#define QAPP_ORG_NAME "Dash"
|
|
#define QAPP_ORG_DOMAIN "dash.org"
|
|
#define QAPP_APP_NAME_DEFAULT "Dash-Qt"
|
|
#define QAPP_APP_NAME_TESTNET "Dash-Qt-testnet"
|
|
#define QAPP_APP_NAME_DEVNET "Dash-Qt-%s"
|
|
|
|
#endif // BITCOIN_QT_GUICONSTANTS_H
|