From 1dab244aaad8694ba37ef43caedd8c8ba0310c00 Mon Sep 17 00:00:00 2001 From: crupest Date: Mon, 5 Nov 2018 20:54:48 +0800 Subject: ... --- src/ui/controls/text_control.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/ui/controls/text_control.h') 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& init_brush ); public: - using TextLayoutHandlerPtr = FunctionPtr)>; - 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& 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 text_layout_; private: - Vector text_layout_handlers_; - bool is_selectable_ = false; bool is_selecting_ = false; -- cgit v1.2.3