summaryrefslogtreecommitdiffstats
path: root/Meter.h
diff options
context:
space:
mode:
authorExplorer09 <explorer09@gmail.com>2016-01-21 10:11:54 +0800
committerExplorer09 <explorer09@gmail.com>2016-01-21 10:11:54 +0800
commitd54ab24d9728e09965e7ed04fa3502a8420ba748 (patch)
tree390ca9b33b936a1015efd84a171dfb5cbec942ab /Meter.h
parent09cf369f2b5faba0b7aa20274aaa1fee7c075674 (diff)
New macro GRAPH_HEIGHT for Graph Meter height
(Cherry-picked from e93028d7fa0c5f00b5dc3336fd28abaf905cd572, the experimental graph coloring branch) Currently GRAPH_HEIGHT=4 . This prevents hard-coding the height of the graph meters, and allows user to change it at compile-time.
Diffstat (limited to 'Meter.h')
-rw-r--r--Meter.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Meter.h b/Meter.h
index 18a6b1e0..7b728eeb 100644
--- a/Meter.h
+++ b/Meter.h
@@ -13,6 +13,8 @@ in the source distribution for its full text.
#define GRAPH_DELAY (DEFAULT_DELAY/2)
+#define GRAPH_HEIGHT 4 /* Unit: rows (lines) */
+
#include "ListItem.h"
#include <sys/time.h>

© 2014-2024 Faster IT GmbH | imprint | privacy policy