aboutsummaryrefslogtreecommitdiff
path: root/CruUI/ui/control.h
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2018-09-13 23:59:37 +0800
committercrupest <crupest@outlook.com>2018-09-13 23:59:37 +0800
commit8421f07abdb3ee970b81f541a9d3430750ab1371 (patch)
treeb8957f8b3e4298446a24aeebb3dd6cd1292cb1a1 /CruUI/ui/control.h
parentda54cf6e1dd9ffbf1e57a8a3c19e41a8fcedf5b1 (diff)
downloadcru-8421f07abdb3ee970b81f541a9d3430750ab1371.tar.gz
cru-8421f07abdb3ee970b81f541a9d3430750ab1371.tar.bz2
cru-8421f07abdb3ee970b81f541a9d3430750ab1371.zip
...
Diffstat (limited to 'CruUI/ui/control.h')
-rw-r--r--CruUI/ui/control.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/CruUI/ui/control.h b/CruUI/ui/control.h
index 2ec4019b..d87bed27 100644
--- a/CruUI/ui/control.h
+++ b/CruUI/ui/control.h
@@ -29,9 +29,11 @@ namespace cru
friend class Window;
friend class WindowLayoutManager;
protected:
- struct WindowConstructorTag {};
+ struct WindowConstructorTag {}; //Used for constructor for class Window.
explicit Control(bool container = false);
+
+ // Used only for creating Window. It will set window_ as window.
Control(WindowConstructorTag, Window* window);
public: