diff options
author | Antony Kellermann | 2018-05-28 16:30:06 -0400 |
---|---|---|
committer | Antony Kellermann | 2018-05-28 16:30:06 -0400 |
commit | 623f25f7ed052eae15f6f48be1c8c3b8b66c610c (patch) | |
tree | eeda8f1c9ef93b3cab87809e47e697371a151e0b /info.h | |
parent | 3b4b35e9d273b33b062734d1b5aee0b003101723 (diff) | |
download | aur-623f25f7ed052eae15f6f48be1c8c3b8b66c610c.tar.gz |
Modified info for ncurses output
Diffstat (limited to 'info.h')
-rw-r--r-- | info.h | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -18,6 +18,18 @@ #define RED COLOR_PAIR(1) #define BLACK COLOR_PAIR(2) +#define PADDING 3 + +#define GRAPH_Y PADDING +#define GRAPH_X PADDING +#define GRAPH_HEIGHT (rows / 2 - GRAPH_Y) +#define GRAPH_WIDTH (cols / 2 - GRAPH_X) + +#define COMPANY_Y GRAPH_Y +#define COMPANY_X GRAPH_WIDTH + GRAPH_X +#define COMPANY_HEIGHT GRAPH_HEIGHT +#define COMPANY_WIDTH GRAPH_WIDTH + #include <stdlib.h> #include <ncurses.h> #include "api.h" |