From ce56ab59a6d68c220fcc47c6977c618eaa43de7a Mon Sep 17 00:00:00 2001 From: crupest Date: Sun, 5 Jul 2020 18:13:10 +0800 Subject: ... --- include/cru/ui/controls/TextBlock.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/cru/ui/controls/TextBlock.hpp') diff --git a/include/cru/ui/controls/TextBlock.hpp b/include/cru/ui/controls/TextBlock.hpp index dd8b40b4..1b1b4a5c 100644 --- a/include/cru/ui/controls/TextBlock.hpp +++ b/include/cru/ui/controls/TextBlock.hpp @@ -28,7 +28,8 @@ class TextBlock : public NoChildControl { std::string GetText() const; void SetText(std::string text); - render::TextRenderObject* GetTextRenderObject(); + gsl::not_null GetTextRenderObject(); + render::ScrollRenderObject* GetScrollRenderObject() { return nullptr; } private: std::unique_ptr text_render_object_; -- cgit v1.2.3