diff options
author | jacopograndi <jak.sk8@hotmail.it> | 2021-08-30 14:48:06 +0200 |
---|---|---|
committer | jacopograndi <jak.sk8@hotmail.it> | 2021-08-30 14:48:06 +0200 |
commit | fb5a98b72ab79949d1da7f75a3d6150c2906ef40 (patch) | |
tree | 9097b4e1f31e530874df9ab85be03f763fc4ef1b /graphics/graphics.h | |
parent | ace5c3f3093c50ff7fa6f8b281a377e3788abbd5 (diff) |
gui: tech representation, menu, tile & unit info, attack info
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]; |