Sdk/Console: Add ClearFocus/SetFocus methods

Theses should be virtuals
This commit is contained in:
Jérôme Leclercq
2018-04-12 13:42:36 +02:00
parent 6fb44796a0
commit 26f0a9fec9
2 changed files with 23 additions and 4 deletions

View File

@@ -42,6 +42,7 @@ namespace Ndk
void AddLine(const Nz::String& text, const Nz::Color& color = Nz::Color::White);
void Clear();
void ClearFocus();
inline unsigned int GetCharacterSize() const;
inline const TextAreaWidget* GetHistory() const;
@@ -51,6 +52,7 @@ namespace Ndk
void ResizeToContent() override;
void SetCharacterSize(unsigned int size);
void SetFocus();
void SetTextFont(Nz::FontRef font);
Console& operator=(const Console& console) = delete;