aboutsummaryrefslogtreecommitdiff
path: root/src/ui/controls/text_block.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/controls/text_block.cpp')
-rw-r--r--src/ui/controls/text_block.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ui/controls/text_block.cpp b/src/ui/controls/text_block.cpp
index 123dbc86..c891b832 100644
--- a/src/ui/controls/text_block.cpp
+++ b/src/ui/controls/text_block.cpp
@@ -17,6 +17,10 @@ TextBlock::TextBlock() {
TextBlock::~TextBlock() { delete render_object_; }
+render::RenderObject* TextBlock::GetRenderObject() const {
+ return render_object_;
+}
+
String TextBlock::GetText() const { return render_object_->GetText(); }
void TextBlock::SetText(const String& text) { render_object_->SetText(text); }