15 lines
306 B
C++
15 lines
306 B
C++
#ifndef UI_BASE_H_
|
|
#define UI_BASE_H_
|
|
|
|
#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_
|