diff options
| author | Yuqian Yang <crupest@crupest.life> | 2025-11-18 00:46:27 +0800 |
|---|---|---|
| committer | Yuqian Yang <crupest@crupest.life> | 2025-11-18 00:46:27 +0800 |
| commit | 6b4edc9be8ec556147c195cf2047d92b9439efd7 (patch) | |
| tree | a1d7b7d1e821b4e1911fd00761f77a24ee483f4a /include/cru/ui/controls/TextBox.h | |
| parent | f7c4d19df66c602d74795e98ce2ee4390d06fbb4 (diff) | |
| download | cru-6b4edc9be8ec556147c195cf2047d92b9439efd7.tar.gz cru-6b4edc9be8ec556147c195cf2047d92b9439efd7.tar.bz2 cru-6b4edc9be8ec556147c195cf2047d92b9439efd7.zip | |
Bring back ControlHost and refactor tree management of control.
Diffstat (limited to 'include/cru/ui/controls/TextBox.h')
| -rw-r--r-- | include/cru/ui/controls/TextBox.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/cru/ui/controls/TextBox.h b/include/cru/ui/controls/TextBox.h index adb9895e..4c6ef384 100644 --- a/include/cru/ui/controls/TextBox.h +++ b/include/cru/ui/controls/TextBox.h @@ -1,18 +1,18 @@ #pragma once -#include "NoChildControl.h" - #include "../render/BorderRenderObject.h" #include "../render/TextRenderObject.h" +#include "Control.h" #include "IBorderControl.h" #include "IContentBrushControl.h" #include "IFontControl.h" #include "TextHostControlService.h" -#include "cru/platform/graphics/Brush.h" + +#include <cru/platform/graphics/Brush.h> #include <memory> namespace cru::ui::controls { -class CRU_UI_API TextBox : public NoChildControl, +class CRU_UI_API TextBox : public Control, public virtual IBorderControl, public virtual ITextHostControl, public virtual IContentBrushControl, |
