(SimpleTextDrawer) Added GetText method
Former-commit-id: e4a6b7d915f05fdaef840e3a8320c2180415631f
This commit is contained in:
parent
0363a1a8fa
commit
5345e615a1
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue