summaryrefslogtreecommitdiff
path: root/ui/text.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ui/text.cpp')
-rw-r--r--ui/text.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/text.cpp b/ui/text.cpp
index d24c268..b776b90 100644
--- a/ui/text.cpp
+++ b/ui/text.cpp
@@ -12,6 +12,7 @@
#include <utility>
const std::filesystem::path font {"/usr/share/fonts/hack/Hack-Regular.ttf"};
+
Text::Text(std::string_view s, Position pos, glm::vec3 c) : UIComponent {pos}, colour {c}
{
for (const auto & textureQuads :