(SimpleTextDrawer) Added GetText method

Former-commit-id: e4a6b7d915f05fdaef840e3a8320c2180415631f
This commit is contained in:
Lynix 2015-03-19 18:17:44 +01:00
parent 0363a1a8fa
commit 5345e615a1
2 changed files with 6 additions and 0 deletions

View File

@ -26,6 +26,7 @@ class NAZARA_API NzSimpleTextDrawer : public NzAbstractTextDrawer, NzObjectListe
const NzColor& GetColor() const;
NzFont* GetFont() const;
nzUInt32 GetStyle() const;
const NzString& GetText() const;
void SetCharacterSize(unsigned int characterSize);
void SetColor(const NzColor& color);

View File

@ -42,6 +42,11 @@ nzUInt32 NzSimpleTextDrawer::GetStyle() const
return m_style;
}
const NzString& NzSimpleTextDrawer::GetText() const
{
return m_text;
}
void NzSimpleTextDrawer::SetCharacterSize(unsigned int characterSize)
{
m_characterSize = characterSize;