18 lines
381 B
C++
18 lines
381 B
C++
// Copyright (C) 2015 Jérôme Leclercq
|
|
// This file is part of the "Nazara Development Kit"
|
|
// For conditions of distribution and use, see copyright notice in Prerequesites.hpp
|
|
|
|
#include <NDK/Widgets/TextAreaWidget.hpp>
|
|
|
|
namespace Ndk
|
|
{
|
|
inline void TextAreaWidget::Clear()
|
|
{
|
|
m_cursorPosition = 0;
|
|
m_drawer.Clear();
|
|
m_textSprite->Update(m_drawer);
|
|
|
|
RefreshCursor();
|
|
}
|
|
}
|