aboutsummaryrefslogtreecommitdiff
path: root/include/cru/ui/controls/text_block.hpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-04-24 00:03:16 +0800
committercrupest <crupest@outlook.com>2020-04-24 00:03:16 +0800
commit75ff8a6a05afd02aaadf7e3049b0a0e305241182 (patch)
tree5444bbb3ef80036cc38a827b8ccf03f48b310728 /include/cru/ui/controls/text_block.hpp
parent922d7f6c96f81a33538900f8a8992a5b6f640874 (diff)
downloadcru-75ff8a6a05afd02aaadf7e3049b0a0e305241182.tar.gz
cru-75ff8a6a05afd02aaadf7e3049b0a0e305241182.tar.bz2
cru-75ff8a6a05afd02aaadf7e3049b0a0e305241182.zip
...
Diffstat (limited to 'include/cru/ui/controls/text_block.hpp')
-rw-r--r--include/cru/ui/controls/text_block.hpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/cru/ui/controls/text_block.hpp b/include/cru/ui/controls/text_block.hpp
index ec61a08c..61f568c4 100644
--- a/include/cru/ui/controls/text_block.hpp
+++ b/include/cru/ui/controls/text_block.hpp
@@ -29,14 +29,9 @@ class TextBlock : public NoChildControl {
void SetText(std::string text);
render::TextRenderObject* GetTextRenderObject();
- render::CanvasRenderObject* GetCaretRenderObject();
- std::shared_ptr<platform::graph::IBrush> GetCaretBrush();
private:
- std::unique_ptr<render::StackLayoutRenderObject> root_render_object_;
std::unique_ptr<render::TextRenderObject> text_render_object_;
- std::unique_ptr<render::CanvasRenderObject> caret_render_object_;
- std::shared_ptr<platform::graph::IBrush> caret_brush_;
std::unique_ptr<TextControlService<TextBlock>> service_;
};