diff options
author | Antony Kellermann | 2018-05-28 02:36:46 -0400 |
---|---|---|
committer | Antony Kellermann | 2018-05-28 02:36:46 -0400 |
commit | d336b6a78cf86239005a8fa5fe2548ef615a06db (patch) | |
tree | 8dcadc2e295daa094c6e00556d1051a92e53cc97 /graph.h | |
parent | b776fc7eeba23d11198c9fa16c8a0797c1010e99 (diff) | |
download | aur-d336b6a78cf86239005a8fa5fe2548ef615a06db.tar.gz |
Modified graph to operate in a Window rather than using stdscr
Diffstat (limited to 'graph.h')
-rw-r--r-- | graph.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -39,7 +39,7 @@ extern int zoom_months[9], zoom_change_x_months[9]; * @param symbol first symbol * @param symbol2 second symbol */ -void graph_main(const char* symbol, const char* symbol2); +void graph_main(const char* symbol, const char* symbol2, WINDOW* window); /** * Prints out a NCurses based graph given an array of daily close prices. @@ -54,7 +54,7 @@ void graph_main(const char* symbol, const char* symbol2); * @param symbol2 second symbol */ void graph_print(const double* points, const double* points2, struct tm* start_time, int zoom, - const char* symbol, const char* symbol2); + const char* symbol, const char* symbol2, WINDOW* window); /** * Reallocates the given array with size trading days. Moves all values to end of the array and sets |