Console: Add support for text color
This commit is contained in:
@@ -27,6 +27,7 @@ namespace Ndk
|
||||
class AbstractTextAreaWidget;
|
||||
class Console;
|
||||
class Entity;
|
||||
class RichTextAreaWidget;
|
||||
class ScrollAreaWidget;
|
||||
class TextAreaWidget;
|
||||
|
||||
@@ -46,7 +47,7 @@ namespace Ndk
|
||||
void ClearFocus();
|
||||
|
||||
inline unsigned int GetCharacterSize() const;
|
||||
inline const TextAreaWidget* GetHistory() const;
|
||||
inline const RichTextAreaWidget* GetHistory() const;
|
||||
inline const TextAreaWidget* GetInput() const;
|
||||
inline const Nz::FontRef& GetTextFont() const;
|
||||
|
||||
@@ -73,7 +74,7 @@ namespace Ndk
|
||||
std::vector<Nz::String> m_commandHistory;
|
||||
std::vector<Line> m_historyLines;
|
||||
ScrollAreaWidget* m_historyArea;
|
||||
TextAreaWidget* m_history;
|
||||
RichTextAreaWidget* m_history;
|
||||
TextAreaWidget* m_input;
|
||||
Nz::FontRef m_defaultFont;
|
||||
unsigned int m_characterSize;
|
||||
|
||||
@@ -19,7 +19,7 @@ namespace Ndk
|
||||
* \return History of the console
|
||||
*/
|
||||
|
||||
inline const TextAreaWidget* Console::GetHistory() const
|
||||
inline const RichTextAreaWidget* Console::GetHistory() const
|
||||
{
|
||||
return m_history;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user