aboutsummaryrefslogtreecommitdiff
path: root/include/cru/ui/controls/Window.h
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-02-10 19:49:06 +0800
committercrupest <crupest@outlook.com>2022-02-10 19:49:06 +0800
commitc1dbad5fdf0560983e6c832eddded6f610eae94e (patch)
tree40f22f7e6aa7ef39c49b1c007beed37130fc0b5d /include/cru/ui/controls/Window.h
parentb2622f654598f82a220a98daaa84fed9ce3b92b2 (diff)
downloadcru-c1dbad5fdf0560983e6c832eddded6f610eae94e.tar.gz
cru-c1dbad5fdf0560983e6c832eddded6f610eae94e.tar.bz2
cru-c1dbad5fdf0560983e6c832eddded6f610eae94e.zip
...
Diffstat (limited to 'include/cru/ui/controls/Window.h')
-rw-r--r--include/cru/ui/controls/Window.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/include/cru/ui/controls/Window.h b/include/cru/ui/controls/Window.h
index 5fb6d594..a1a97f87 100644
--- a/include/cru/ui/controls/Window.h
+++ b/include/cru/ui/controls/Window.h
@@ -10,15 +10,9 @@ class CRU_UI_API Window final : public RootControl {
static constexpr StringView control_type = u"Window";
public:
- static Window* Create(Control* attached_control = nullptr);
-
- private:
- explicit Window(Control* attached_control);
-
- public:
+ explicit Window(Control* attached_control = nullptr);
CRU_DELETE_COPY(Window)
CRU_DELETE_MOVE(Window)
-
~Window() override;
public: