diff options
Diffstat (limited to 'ui/text.h')
-rw-r--r-- | ui/text.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,5 +1,6 @@ #pragma once +#include "font.h" #include "uiComponent.h" #include <glArrays.h> #include <glad/gl.h> @@ -12,7 +13,7 @@ union SDL_Event; class Text : public UIComponent { public: - Text(std::string_view s, Position, glm::vec3 colour); + Text(std::string_view s, const Font &, Position, glm::vec3 colour); void render(const UIShader &, const Position & parentPos) const override; bool handleInput(const SDL_Event &, const Position & parentPos) override; |