diff options
author | crupest <crupest@outlook.com> | 2021-11-21 16:53:10 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-11-21 16:53:10 +0800 |
commit | 73b90d4fe6c93a288ca6514432fe1e83ddcf4928 (patch) | |
tree | 9e97626fa23e7855f994a6c451eab65b9efc81f1 /src/ui/controls/TextBox.cpp | |
parent | eeb1f55d5a483720441c3f44e83d02cc882a3bc0 (diff) | |
download | cru-73b90d4fe6c93a288ca6514432fe1e83ddcf4928.tar.gz cru-73b90d4fe6c93a288ca6514432fe1e83ddcf4928.tar.bz2 cru-73b90d4fe6c93a288ca6514432fe1e83ddcf4928.zip |
...
Diffstat (limited to 'src/ui/controls/TextBox.cpp')
-rw-r--r-- | src/ui/controls/TextBox.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ui/controls/TextBox.cpp b/src/ui/controls/TextBox.cpp index c4912307..47706174 100644 --- a/src/ui/controls/TextBox.cpp +++ b/src/ui/controls/TextBox.cpp @@ -46,6 +46,10 @@ render::RenderObject* TextBox::GetRenderObject() const { return border_render_object_.get(); } +bool TextBox::GetMultiLine() const { return service_->IsMultiLine(); } + +void TextBox::SetMultiLine(bool value) { service_->SetMultiLine(value); } + gsl::not_null<render::TextRenderObject*> TextBox::GetTextRenderObject() { return text_render_object_.get(); } |