diff options
Diffstat (limited to 'graphics/graphics.h')
-rw-r--r-- | graphics/graphics.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/graphics/graphics.h b/graphics/graphics.h index dd7e51a..af8630a 100644 --- a/graphics/graphics.h +++ b/graphics/graphics.h @@ -19,6 +19,7 @@ class Graphics_sdl_text { Graphics_sdl_text(); int get_width (std::string str); void render_text (std::string str, vec2 off); + void render_text (std::string str, vec2 off, int r, int g, int b); SDL_Renderer* gRenderer; SDL_Texture *tex; int char_width[128]; |