diff options
author | crupest <crupest@outlook.com> | 2020-03-19 19:11:04 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-03-19 19:11:04 +0800 |
commit | ad29543fe081d2a0a5e6737f9073399e4e91383f (patch) | |
tree | 10f3a7519aa0f52fada56b10e226dc709972fd1d /include/cru/ui/controls/text_block.hpp | |
parent | e3eb653a856fe6793d3ddab371c3e71290fc7a9b (diff) | |
download | cru-ad29543fe081d2a0a5e6737f9073399e4e91383f.tar.gz cru-ad29543fe081d2a0a5e6737f9073399e4e91383f.tar.bz2 cru-ad29543fe081d2a0a5e6737f9073399e4e91383f.zip |
...
Diffstat (limited to 'include/cru/ui/controls/text_block.hpp')
-rw-r--r-- | include/cru/ui/controls/text_block.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/cru/ui/controls/text_block.hpp b/include/cru/ui/controls/text_block.hpp index 701f946f..ec61a08c 100644 --- a/include/cru/ui/controls/text_block.hpp +++ b/include/cru/ui/controls/text_block.hpp @@ -30,7 +30,7 @@ class TextBlock : public NoChildControl { render::TextRenderObject* GetTextRenderObject(); render::CanvasRenderObject* GetCaretRenderObject(); - platform::graph::IBrush* GetCaretBrush(); + std::shared_ptr<platform::graph::IBrush> GetCaretBrush(); private: std::unique_ptr<render::StackLayoutRenderObject> root_render_object_; |