SDK/TextAreaWidget: Add multiline option
This commit is contained in:
@@ -15,6 +15,11 @@ namespace Ndk
|
||||
RefreshCursor();
|
||||
}
|
||||
|
||||
inline void TextAreaWidget::EnableMultiline(bool enable)
|
||||
{
|
||||
m_multiLineEnabled = enable;
|
||||
}
|
||||
|
||||
inline std::size_t TextAreaWidget::GetCursorPosition() const
|
||||
{
|
||||
return m_cursorPosition;
|
||||
@@ -30,6 +35,11 @@ namespace Ndk
|
||||
return m_drawer.GetText();
|
||||
}
|
||||
|
||||
inline bool Ndk::TextAreaWidget::IsMultilineEnabled() const
|
||||
{
|
||||
return m_multiLineEnabled;
|
||||
}
|
||||
|
||||
inline bool TextAreaWidget::IsReadOnly() const
|
||||
{
|
||||
return m_readOnly;
|
||||
|
||||
Reference in New Issue
Block a user