From 94c066a34900845297c41c134a9a910124a5833d Mon Sep 17 00:00:00 2001 From: crupest Date: Sun, 16 Sep 2018 23:48:54 +0800 Subject: Develop toggle button. --- CruUI/ui/control.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'CruUI/ui/control.h') 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 *************** -- cgit v1.2.3