41 #ifndef _uicharacter_h
42 #define _uicharacter_h
45 #include "UI/sprite.h"
46 #include "UI/charactertraits.h"
47 #include "UI/uienumerations.h"
114 Real GetCharacterAdvance(
Glyph* Prev)
const;
118 Real GetUnscaledCharacterAdvance(
Glyph* Prev)
const;
121 Real GetLineHeight()
const;
124 Real GetUnscaledLineHeight()
const;
127 Real GetVerticalOffset()
const;
130 Real GetUnscaledVerticalOffset()
const;
137 const String& GetAtlasName()
const;
140 Vector2 GetAtlasWhitePixel()
const;
154 void SetCharacterColour(
const ColourValue& Colour);
161 void SetHighlighted(Boolean Highlight);
164 Boolean GetHighlighted()
const;
175 Boolean IsGlyph()
const;
178 Boolean IsSprite()
const;
182 Boolean IsRenderable()
const;
185 Boolean IsHighlightable()
const;
188 Boolean IsWhiteSpace()
const;
191 Boolean IsNewLine()
const;
199 void SetLengthOffset(
const Real& Offset);
202 Real GetLengthOffset()
const;
207 void SetCustomSize(
const Vector2& Size);
210 Boolean IsCustomSizeSet()
const;
213 Vector2 GetCharacterSize()
const;
216 Vector2 GetUnscaledCharacterSize()
const;
223 Glyph* GetCharGlyph()
const;
226 Sprite* GetCharSprite()
const;