Sdk/TextAreaWidget: Add SetTextColor

This commit is contained in:
Lynix
2017-01-15 12:11:15 +01:00
parent fd923ed58b
commit 14e327c603
3 changed files with 22 additions and 8 deletions

View File

@@ -77,13 +77,6 @@ namespace Ndk
SetContentSize(Nz::Vector2f(m_textSprite->GetBoundingVolume().obb.localBox.GetLengths()));
}
void TextAreaWidget::SetText(const Nz::String& text)
{
m_drawer.SetText(text);
m_textSprite->Update(m_drawer);
}
void TextAreaWidget::Write(const Nz::String& text)
{
if (m_cursorPosition >= m_drawer.GetGlyphCount())