diff options
Diffstat (limited to 'src/ui/control.hpp')
-rw-r--r-- | src/ui/control.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ui/control.hpp b/src/ui/control.hpp index 4374983b..6de7f450 100644 --- a/src/ui/control.hpp +++ b/src/ui/control.hpp @@ -121,6 +121,8 @@ namespace cru::ui // fill and stroke with width of border. virtual bool IsPointInside(const Point& point); + // Get the top control among all descendants (including self) in local coordinate. + Control* HitTest(const Point& point); //*************** region: graphic *************** |