Wallet encryption part 1: show wallet encryption status
[novacoin.git] / src / qt / guiconstants.h
index cdd1a74..b787019 100644 (file)
@@ -1,11 +1,20 @@
 #ifndef GUICONSTANTS_H
 #define GUICONSTANTS_H
 
-/* milliseconds between model updates */
-static const int MODEL_UPDATE_DELAY = 250;
+/* Milliseconds between model updates */
+static const int MODEL_UPDATE_DELAY = 500;
 
-/* size of cache */
-static const unsigned int WALLET_CACHE_SIZE = 100;
+/* Size of icons in status bar */
+static const int STATUSBAR_ICONSIZE = 16;
 
+/* Invalid field background style */
+#define STYLE_INVALID "background:#FF8080"
+
+/* Transaction list -- unconfirmed transaction */
+#define COLOR_UNCONFIRMED QColor(128, 128, 128)
+/* Transaction list -- negative amount */
+#define COLOR_NEGATIVE QColor(255, 0, 0)
+/* Transaction list -- bare address (without label) */
+#define COLOR_BAREADDRESS QColor(140, 140, 140)
 
 #endif // GUICONSTANTS_H