aboutsummarylogtreecommitdiffstats
path: root/graph.h
diff options
context:
space:
mode:
authorAntony Kellermann2018-05-28 02:36:46 -0400
committerAntony Kellermann2018-05-28 02:36:46 -0400
commitd336b6a78cf86239005a8fa5fe2548ef615a06db (patch)
tree8dcadc2e295daa094c6e00556d1051a92e53cc97 /graph.h
parentb776fc7eeba23d11198c9fa16c8a0797c1010e99 (diff)
downloadaur-d336b6a78cf86239005a8fa5fe2548ef615a06db.tar.gz
Modified graph to operate in a Window rather than using stdscr
Diffstat (limited to 'graph.h')
-rw-r--r--graph.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/graph.h b/graph.h
index d0bb779d3c00..1f729ad330cf 100644
--- a/graph.h
+++ b/graph.h
@@ -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