X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fui%2FText.hpp;h=84a6190999f89f4d2d340dd6ba4b64d1e1eb70b3;hb=b49cc8c88caf7d69b35b50e23a40528e71306ade;hp=bdeb304daff1b79659486ce608733bf51f8a8dd3;hpb=75172fd735e34082c34b47ae7c194445b53038d9;p=blank.git diff --git a/src/ui/Text.hpp b/src/ui/Text.hpp index bdeb304..84a6190 100644 --- a/src/ui/Text.hpp +++ b/src/ui/Text.hpp @@ -29,6 +29,8 @@ public: dirty = true; } + const glm::vec2 &Size() const noexcept { return size; } + void Render(Viewport &) noexcept; private: