X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fgraphics%2FFont.hpp;h=d52d43f63e179df4539d4687f50d30609815e6cd;hb=3185bad87c06739e4ec19b456c7158437ba9621f;hp=1d4ff17f619823b14efabe3fa8ac6a1a1452bee6;hpb=55dbd6b35a39888f245e247d2e140f141f918178;p=blank.git diff --git a/src/graphics/Font.hpp b/src/graphics/Font.hpp index 1d4ff17..d52d43f 100644 --- a/src/graphics/Font.hpp +++ b/src/graphics/Font.hpp @@ -1,8 +1,9 @@ #ifndef BLANK_GRAPHICS_FONT_HPP_ #define BLANK_GRAPHICS_FONT_HPP_ +#include "glm.hpp" + #include -#include namespace blank { @@ -57,10 +58,10 @@ public: bool HasGlyph(Uint16) const noexcept; - glm::tvec2 TextSize(const char *) const; + glm::ivec2 TextSize(const char *) const; - Texture Render(const char *, SDL_Color) const; - void Render(const char *, SDL_Color, Texture &) const; + Texture Render(const char *) const; + void Render(const char *, Texture &) const; private: TTF_Font *handle;