aboutsummaryrefslogtreecommitdiff
path: root/src/ui/controls/text_box.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/controls/text_box.cpp')
-rw-r--r--src/ui/controls/text_box.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ui/controls/text_box.cpp b/src/ui/controls/text_box.cpp
index d6c3d132..a132ba67 100644
--- a/src/ui/controls/text_box.cpp
+++ b/src/ui/controls/text_box.cpp
@@ -27,6 +27,11 @@ namespace cru::ui::controls
TextBox::~TextBox() = default;
+ StringView TextBox::GetControlType() const
+ {
+ return control_type;
+ }
+
void TextBox::OnDrawContent(ID2D1DeviceContext* device_context)
{
TextControl::OnDrawContent(device_context);