Switch to C++

This commit is contained in:
2018-01-07 22:24:23 -08:00
parent efc529bec8
commit 3a10624966
7 changed files with 47 additions and 41 deletions

View File

@@ -1,10 +1,14 @@
#ifndef UI_BASE_H_
#define UI_BASE_H_
/**
* Prints the string text starting at position *x, *y. x and y are updated to
* the position after the last character
*/
void draw_text(int *x, int *y, char *text);
#include <string>
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_