This commit is contained in:
2020-06-01 19:14:01 -07:00
parent 87d2b360bb
commit 98e9bc5e70
15 changed files with 77 additions and 100 deletions

View File

@@ -1,14 +1,10 @@
#ifndef UI_BASE_H_
#define UI_BASE_H_
#include <string>
/**
* Prints the string text starting at position *x, *y. x and y are updated to
* the position after the last character
*/
void draw_text(char *text, int *x, int *y);
namespace ui {
/**
* Prints the string text starting at position *x, *y. x and y are updated to
* the position after the last character
*/
void draw_text(const std::string text, int *x, int *y);
} // namespace ui
#endif // UI_BASE_H_