From 75ff8a6a05afd02aaadf7e3049b0a0e305241182 Mon Sep 17 00:00:00 2001 From: crupest Date: Fri, 24 Apr 2020 00:03:16 +0800 Subject: ... --- include/cru/ui/controls/text_block.hpp | 5 ----- include/cru/ui/controls/text_box.hpp | 5 ----- 2 files changed, 10 deletions(-) (limited to 'include/cru/ui/controls') 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 GetCaretBrush(); private: - std::unique_ptr root_render_object_; std::unique_ptr text_render_object_; - std::unique_ptr caret_render_object_; - std::shared_ptr caret_brush_; std::unique_ptr> service_; }; diff --git a/include/cru/ui/controls/text_box.hpp b/include/cru/ui/controls/text_box.hpp index f5347430..c0160658 100644 --- a/include/cru/ui/controls/text_box.hpp +++ b/include/cru/ui/controls/text_box.hpp @@ -22,8 +22,6 @@ class TextBox : public NoChildControl { std::string_view GetControlType() const final { return control_type; } render::TextRenderObject* GetTextRenderObject(); - render::CanvasRenderObject* GetCaretRenderObject(); - std::shared_ptr GetCaretBrush(); const TextBoxBorderStyle& GetBorderStyle(); void SetBorderStyle(TextBoxBorderStyle border_style); @@ -36,11 +34,8 @@ class TextBox : public NoChildControl { private: std::unique_ptr border_render_object_; - std::unique_ptr stack_layout_render_object_; std::unique_ptr text_render_object_; - std::unique_ptr caret_render_object_; - std::shared_ptr caret_brush_; TextBoxBorderStyle border_style_; std::unique_ptr> service_; -- cgit v1.2.3