diff options
Diffstat (limited to 'include/cru/ui/controls')
-rw-r--r-- | include/cru/ui/controls/text_block.hpp | 5 | ||||
-rw-r--r-- | include/cru/ui/controls/text_box.hpp | 5 |
2 files changed, 0 insertions, 10 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_; }; 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<platform::graph::IBrush> GetCaretBrush(); const TextBoxBorderStyle& GetBorderStyle(); void SetBorderStyle(TextBoxBorderStyle border_style); @@ -36,11 +34,8 @@ class TextBox : public NoChildControl { private: std::unique_ptr<render::BorderRenderObject> border_render_object_; - std::unique_ptr<render::StackLayoutRenderObject> stack_layout_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_; TextBoxBorderStyle border_style_; std::unique_ptr<TextControlService<TextBox>> service_; |