summaryrefslogtreecommitdiff
path: root/Runtime/GUI/UITextMesh.h
diff options
context:
space:
mode:
Diffstat (limited to 'Runtime/GUI/UITextMesh.h')
-rw-r--r--Runtime/GUI/UITextMesh.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/Runtime/GUI/UITextMesh.h b/Runtime/GUI/UITextMesh.h
index 505b390..ea543f3 100644
--- a/Runtime/GUI/UITextMesh.h
+++ b/Runtime/GUI/UITextMesh.h
@@ -36,6 +36,12 @@ class UITextMesh
public:
void Draw() const;
+private:
+ friend class TextMeshGenerator;
+
+ 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();
+
GET(const Font*, Font, m_Font);
GET(int, PixelSize, m_PixelSize);
GET(int, LineHeight, m_LineHeight);
@@ -46,12 +52,6 @@ public:
GET(float, Preferred, m_Preferred);
GET(const UnicodeString&, Content, m_Content);
-private:
- friend class TextMeshGenerator;
-
- 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();
-
std::unordered_map<int, VertexBuffer*> m_VBOs;
Font* m_Font;