aboutsummaryrefslogtreecommitdiff
path: root/src/ui/window.hpp
diff options
context:
space:
mode:
author杨宇千 <crupest@outlook.com>2018-11-13 22:44:07 +0800
committerGitHub <noreply@github.com>2018-11-13 22:44:07 +0800
commitb08ba6c83902d140fb14131b3f01837985d39c17 (patch)
tree98719593d5854f2162ea8d87b7fecdc3472968bc /src/ui/window.hpp
parent91dda866a0919f9e6cfb5e7857ac0466572d96d8 (diff)
parent6d0a44597eb6e35993b46642ebf85abd94bca2d7 (diff)
downloadcru-b08ba6c83902d140fb14131b3f01837985d39c17.tar.gz
cru-b08ba6c83902d140fb14131b3f01837985d39c17.tar.bz2
cru-b08ba6c83902d140fb14131b3f01837985d39c17.zip
Merge pull request #18 from crupest/bound
Add support for enhanced bound check.
Diffstat (limited to 'src/ui/window.hpp')
-rw-r--r--src/ui/window.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui/window.hpp b/src/ui/window.hpp
index b2b8cde0..2955cd32 100644
--- a/src/ui/window.hpp
+++ b/src/ui/window.hpp
@@ -197,6 +197,9 @@ namespace cru::ui
//This method has no effect for a window. Use SetClientSize instead.
void SetSize(const Size& size) override final;
+ //Override. If point is in client area, it is in window.
+ bool IsPointInside(const Point& point) override final;
+
//*************** region: layout ***************
void WindowInvalidateLayout();