diff options
Diffstat (limited to 'Runtime/GUI/UITextMesh.h')
-rw-r--r-- | Runtime/GUI/UITextMesh.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Runtime/GUI/UITextMesh.h b/Runtime/GUI/UITextMesh.h index 7778785..f09cce7 100644 --- a/Runtime/GUI/UITextMesh.h +++ b/Runtime/GUI/UITextMesh.h @@ -2,6 +2,8 @@ #include "../Graphics/VertexBuffer.h" #include "Font.h" #include "Runtime/Utilities/Exception.h" +#include "Runtime/Graphics/Color.h" + #include <unordered_map> CustomException(TextMeshException); @@ -35,7 +37,7 @@ namespace TextHelper class UITextMesh { public: - UITextMesh(const UnicodeString& str, Font* font, int pixelSize, int lineHeight, ETextAnchor anchor = TextAnchor_UpperLeft, ETextAlignment alignment = TextAlignment_Left, bool wordwrap = false, float preferred = 0)/*throw TextMeshException*/; + UITextMesh(const UnicodeString& str, Font* font, int pixelSize, int lineHeight, Color32 color32 = Color32::white, ETextAnchor anchor = TextAnchor_UpperLeft, ETextAlignment alignment = TextAlignment_Left, bool wordwrap = false, float preferred = 0)/*throw TextMeshException*/; ~UITextMesh(); |