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.
This commit is contained in:
Explorer09
2016-01-21 10:11:54 +08:00
parent 09cf369f2b
commit d54ab24d97
2 changed files with 11 additions and 7 deletions

View File

@ -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>