/* * DD2 Monitoring * * ncurses waterfall interface */ #include #include #include #include #include #include "ecran.h" extern int verbosity; /* ---------------------------------------------------------------- */ WINDOW *open_waterfall(char *title, int flags) { WINDOW *win; int l, c, w, h; l = 2; c = 1; w = COLS - 2; h = LINES -3; win = newwin(h, w, l, c); return win; } /* ---------------------------------------------------------------- */ int plot_waterfall(WINDOW *wf, float values[4]) { #define TL 1000 int foo; char tag, ligne[TL+1]; for(foo=0; foo