aboutsummaryrefslogtreecommitdiff
path: root/src/ui/controls/text_control.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/controls/text_control.h')
-rw-r--r--src/ui/controls/text_control.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/ui/controls/text_control.h b/src/ui/controls/text_control.h
index 01bb5565..18a258f2 100644
--- a/src/ui/controls/text_control.h
+++ b/src/ui/controls/text_control.h
@@ -12,8 +12,6 @@ namespace cru::ui::controls
const Microsoft::WRL::ComPtr<ID2D1Brush>& init_brush
);
public:
- using TextLayoutHandlerPtr = FunctionPtr<void(Microsoft::WRL::ComPtr<IDWriteTextLayout>)>;
-
TextControl(const TextControl& other) = delete;
TextControl(TextControl&& other) = delete;
TextControl& operator=(const TextControl& other) = delete;
@@ -41,11 +39,6 @@ namespace cru::ui::controls
void SetTextFormat(const Microsoft::WRL::ComPtr<IDWriteTextFormat>& text_format);
-
- void AddTextLayoutHandler(TextLayoutHandlerPtr handler);
-
- void RemoveTextLayoutHandler(const TextLayoutHandlerPtr& handler);
-
bool IsSelectable() const
{
return is_selectable_;
@@ -96,8 +89,6 @@ namespace cru::ui::controls
Microsoft::WRL::ComPtr<IDWriteTextLayout> text_layout_;
private:
- Vector<TextLayoutHandlerPtr> text_layout_handlers_;
-
bool is_selectable_ = false;
bool is_selecting_ = false;