44 #include "character.h"
98 Real GetMaxWidth()
const;
101 virtual Character* GetSecondFromLastCharacter()
const = 0;
104 virtual void RecalculateOffsets() = 0;
107 virtual void AppendToBack(
Character* ToAppend) = 0;
139 Integer GetIndexAtOffset(
const Real& Offset)
const;
148 Real GetLeftMostCursorPosition()
const;
151 Real GetRightMostCursorPosition()
const;
154 virtual Real GetCursorStartPosition()
const = 0;
158 Real GetClosestCursorPosition(
const Real& Offset);
166 void SetPositionOffset(
const Real& Offset);
169 Real GetPositionOffset()
const;
173 Real GetCurrentLength()
const;
176 Real GetLineHeight()
const;
184 Boolean AppendCharacter(
Character* ToAdd);
225 UInt32 GetNumCharacters()
const;
227 void RemoveAllCharacters();
246 virtual void RemoveFirstCharacter() = 0;
248 virtual void RemoveLastCharacter() = 0;
272 Character* GetSecondFromLastCharacter()
const;
274 void RecalculateOffsets();
290 Real GetCursorStartPosition()
const;
307 void RemoveFirstCharacter();
309 void RemoveLastCharacter();
320 Character* GetSecondFromLastCharacter()
const;
322 void RecalculateOffsets();
338 Real GetCursorStartPosition()
const;
355 void RemoveFirstCharacter();
357 void RemoveLastCharacter();