SDK/Console: Make use of ScrollAreaWidget

This commit is contained in:
Lynix
2019-07-05 22:26:22 +02:00
parent 42aa7ca355
commit 296b5459c6
2 changed files with 11 additions and 2 deletions

View File

@@ -27,6 +27,7 @@ namespace Ndk
{
class Console;
class Entity;
class ScrollAreaWidget;
class TextAreaWidget;
using ConsoleHandle = Nz::ObjectHandle<Console>;
@@ -69,6 +70,7 @@ namespace Ndk
std::size_t m_historyPosition;
std::vector<Nz::String> m_commandHistory;
std::vector<Line> m_historyLines;
ScrollAreaWidget* m_historyArea;
TextAreaWidget* m_history;
TextAreaWidget* m_input;
Nz::FontRef m_defaultFont;