aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Text.cpp
diff options
context:
space:
mode:
authorheavydemon21 <nielsstunnebrink1@gmail.com>2024-12-22 20:18:44 +0100
committerheavydemon21 <nielsstunnebrink1@gmail.com>2024-12-22 20:18:44 +0100
commita5f8b34f4701863901e89abe5b0b604fd9e553b2 (patch)
treeb6c9e122206641dab43ec7ec44eba48bf5b87cd4 /src/crepe/api/Text.cpp
parent76f6c4d3e36b653aec79438ae4053ea24560236c (diff)
ui fixes for offset
Diffstat (limited to 'src/crepe/api/Text.cpp')
-rw-r--r--src/crepe/api/Text.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/crepe/api/Text.cpp b/src/crepe/api/Text.cpp
index b24f0ac..29e36f1 100644
--- a/src/crepe/api/Text.cpp
+++ b/src/crepe/api/Text.cpp
@@ -1,10 +1,11 @@
#include "Text.h"
+#include "types.h"
using namespace crepe;
Text::Text(
- game_object_id_t id, const vec2 & dimensions, const vec2 & offset,
- const std::string & font_family, const Data & data, const std::string & text
+ game_object_id_t id, const vec2 & dimensions, const std::string & font_family,
+ const Data & data, const vec2 & offset, const std::string & text
)
: UIObject(id, dimensions, offset),
text(text),