From 94a9a28de16badb75e66a60efca3b01d31cc0fc6 Mon Sep 17 00:00:00 2001 From: chai Date: Thu, 4 Nov 2021 12:48:01 +0800 Subject: * text anchor --- Runtime/GUI/UITextMesh.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Runtime/GUI/UITextMesh.h') diff --git a/Runtime/GUI/UITextMesh.h b/Runtime/GUI/UITextMesh.h index c88e52f..487bccd 100644 --- a/Runtime/GUI/UITextMesh.h +++ b/Runtime/GUI/UITextMesh.h @@ -17,7 +17,6 @@ enum ETextAnchor TextAnchor_LowerLeft, TextAnchor_LowerCenter, TextAnchor_LowerRight, - TextAnchor_DontCare }; enum ETextAlignment { @@ -37,7 +36,7 @@ namespace TextHelper class UITextMesh { public: - UITextMesh(const UnicodeString& str, Font* font, int pixelSize, ETextAnchor anchor, ETextAlignment alignment)/*throw TextMeshException*/; + 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(); -- cgit v1.1-26-g67d0