Stock Market Simulator main e8c3612
A game that provides a realistic stock buying experience with unpredictable trends to test investment strategies.
|
Functions that handles the drawing and display of various elements. More...
Go to the source code of this file.
Functions | |
void | drawButton (int row, int col) |
void | drawEventBar (int row, int col) |
void | drawLogo (int row, int col) |
void | drawRoundInfo (int row, int col, int round, float balance, std::string player, float indexHSI) |
void | listEvents (int row, int col, std::vector< Stock_event > events) |
Functions that handles the drawing and display of various elements.
Definition in file draw.cpp.
void drawButton | ( | int | row, |
int | col ) |
Definition at line 156 of file draw.cpp.
References bgBlack, bgWhite, setCursorPosition(), textBlack, textBold, textReset, and textWhite.
Referenced by main().
void drawEventBar | ( | int | row, |
int | col ) |
Definition at line 73 of file draw.cpp.
References setCursorPosition().
Referenced by main().
void drawLogo | ( | int | row, |
int | col ) |
Definition at line 19 of file draw.cpp.
References parseLogo(), setCursorPosition(), time::sleep(), sleepMedium, sleepShort, and textClear.
Referenced by main().
void drawRoundInfo | ( | int | row, |
int | col, | ||
int | round, | ||
float | balance, | ||
std::string | player, | ||
float | indexHSI ) |
Definition at line 52 of file draw.cpp.
References balance, and setCursorPosition().
Referenced by main().
void listEvents | ( | int | row, |
int | col, | ||
std::vector< Stock_event > | events ) |
Definition at line 90 of file draw.cpp.
References setCursorPosition().
Referenced by optionsInput().