summaryrefslogtreecommitdiff
path: root/Runtime/Scripting/GUI
diff options
context:
space:
mode:
Diffstat (limited to 'Runtime/Scripting/GUI')
-rw-r--r--Runtime/Scripting/GUI/Font.bind.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Runtime/Scripting/GUI/Font.bind.cpp b/Runtime/Scripting/GUI/Font.bind.cpp
index 733fcf1..2d01925 100644
--- a/Runtime/Scripting/GUI/Font.bind.cpp
+++ b/Runtime/Scripting/GUI/Font.bind.cpp
@@ -5,7 +5,7 @@
#include "Runtime/Common/DataBuffer.h"
#include "Runtime/GUI/utf8.h"
#include "Runtime/Utilities/StaticInitiator.h"
-#include "Runtime/GUI/TextMesh.h"
+#include "Runtime/GUI/UITextMesh.h"
static std::vector<character::Codepoint>* s_Codepoints;
@@ -134,7 +134,7 @@ LUA_BIND_IMPL_METHOD(Font, _GetCharacters)
WipeGLError();
- TextMesh* tm = new TextMesh(str, self, size, ETextAnchor::TextAnchor_MiddleLeft, ETextAlignment::TextAlignment_Left);
+ UITextMesh* tm = new UITextMesh(str, self, size, ETextAnchor::TextAnchor_MiddleLeft, ETextAlignment::TextAlignment_Left);
tm->Draw();
return 0;