diff options
Diffstat (limited to 'include/cru/ui/controls/text_box.hpp')
-rw-r--r-- | include/cru/ui/controls/text_box.hpp | 13 |
1 files changed, 13 insertions, 0 deletions
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 <memory> + +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<render::BorderRenderObject> border_render_object_; + std::unique_ptr<render::TextRenderObject> text_render_object_; + std::unique_ptr<render::CanvasRenderObject> caret_render_object_; }; } // namespace cru::ui::controls |