aboutsummaryrefslogtreecommitdiff
path: root/src/ui/window.hpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2018-11-10 16:36:23 +0800
committercrupest <crupest@outlook.com>2018-11-10 16:36:23 +0800
commita46c8d05392cf07c4897f9856e35bcd3f2382b25 (patch)
treed0c26b2fdddb22f1d59922701fcb7ec7c0df67f1 /src/ui/window.hpp
parent6cc74c662b862599141a624af74a4d5b2881321d (diff)
downloadcru-a46c8d05392cf07c4897f9856e35bcd3f2382b25.tar.gz
cru-a46c8d05392cf07c4897f9856e35bcd3f2382b25.tar.bz2
cru-a46c8d05392cf07c4897f9856e35bcd3f2382b25.zip
Add parent window constructor.
Diffstat (limited to 'src/ui/window.hpp')
-rw-r--r--src/ui/window.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui/window.hpp b/src/ui/window.hpp
index d3e86f2d..82cbfc4f 100644
--- a/src/ui/window.hpp
+++ b/src/ui/window.hpp
@@ -90,6 +90,7 @@ namespace cru::ui
static constexpr auto control_type = L"Window";
Window();
+ explicit Window(Window* parent);
Window(const Window& other) = delete;
Window(Window&& other) = delete;
Window& operator=(const Window& other) = delete;