From d54ab24d9728e09965e7ed04fa3502a8420ba748 Mon Sep 17 00:00:00 2001 From: Explorer09 Date: Thu, 21 Jan 2016 10:11:54 +0800 Subject: 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. --- Meter.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Meter.h') 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 -- cgit v1.2.3