diff options
Diffstat (limited to 'info.h')
-rw-r--r-- | info.h | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -51,6 +51,8 @@ void symbol_print_info(const char* symbol); */ void symbol_print_news(const char* symbol, int num_articles); +void symbol_graph(const char* symbol, const char* symbol2); + /** * -- Main input loop for graphing -- * @@ -66,7 +68,7 @@ void symbol_print_news(const char* symbol, int num_articles); * @param symbol first symbol * @param symbol2 second symbol */ -void graph_main(const char* symbol, const char* symbol2, WINDOW* window); +void graph_printw(WINDOW* window, Info* symbol_info, Info* symbol_info2); /** * Prints out a NCurses based graph given an array of daily close prices. @@ -80,8 +82,7 @@ void graph_main(const char* symbol, const char* symbol2, WINDOW* window); * @param symbol first symbol * @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, WINDOW* window); +void graph_draw(WINDOW* window, Info* symbol_info, Info* symbol_info2, struct tm* start_time, int zoom); /** * Reallocates the given array with size trading days. Moves all values to end of the array and sets |