From b0946c0e6dc163fe981f230302a1976449150907 Mon Sep 17 00:00:00 2001 From: crupest Date: Tue, 3 Mar 2020 00:39:10 +0800 Subject: ... --- include/cru/ui/controls/text_box.hpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'include/cru/ui/controls') diff --git a/include/cru/ui/controls/text_box.hpp b/include/cru/ui/controls/text_box.hpp index 48168e9d..76a6299e 100644 --- a/include/cru/ui/controls/text_box.hpp +++ b/include/cru/ui/controls/text_box.hpp @@ -1,6 +1,14 @@ #pragma once #include "../no_child_control.hpp" +#include + +namespace cru::ui::render { +class BorderRenderObject; +class TextRenderObject; +class CanvasRenderObject; +} // namespace cru::ui::render + namespace cru::ui::controls { class TextBox : public NoChildControl { public: @@ -16,5 +24,10 @@ class TextBox : public NoChildControl { ~TextBox() override; std::string_view GetControlType() const final { return control_type; } + + private: + std::unique_ptr border_render_object_; + std::unique_ptr text_render_object_; + std::unique_ptr caret_render_object_; }; } // namespace cru::ui::controls -- cgit v1.2.3