aboutsummaryrefslogtreecommitdiff
path: root/CruUI/ui/control.h
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2018-09-16 23:48:54 +0800
committercrupest <crupest@outlook.com>2018-09-16 23:48:54 +0800
commit94c066a34900845297c41c134a9a910124a5833d (patch)
treefe717d4d80137c005ae3f2c1675ab3ba7d990b23 /CruUI/ui/control.h
parent683419f2856d348436ca64cfd4b3abbfc73cda89 (diff)
downloadcru-94c066a34900845297c41c134a9a910124a5833d.tar.gz
cru-94c066a34900845297c41c134a9a910124a5833d.tar.bz2
cru-94c066a34900845297c41c134a9a910124a5833d.zip
Develop toggle button.
Diffstat (limited to 'CruUI/ui/control.h')
-rw-r--r--CruUI/ui/control.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/CruUI/ui/control.h b/CruUI/ui/control.h
index b889fcd5..ca2dfb84 100644
--- a/CruUI/ui/control.h
+++ b/CruUI/ui/control.h
@@ -28,7 +28,7 @@ namespace cru
class Control : public Object
{
friend class Window;
- friend class WindowLayoutManager;
+ friend class LayoutManager;
protected:
struct WindowConstructorTag {}; //Used for constructor for class Window.
@@ -123,7 +123,7 @@ namespace cru
//Absolute point to local point.
Point AbsoluteToLocal(const Point& point) const;
- bool IsPointInside(const Point& point);
+ virtual bool IsPointInside(const Point& point);
//*************** region: graphic ***************