From 2d249f3816552afdae7fea87b80b760eeaf5feac Mon Sep 17 00:00:00 2001 From: rachytski Date: Mon, 20 Aug 2012 14:40:50 +0300 Subject: [PATCH] passing touches through the location::State GUI element. --- map/location_state.cpp | 4 ++++ map/location_state.hpp | 2 ++ 2 files changed, 6 insertions(+) diff --git a/map/location_state.cpp b/map/location_state.cpp index 37f65794d5..55a4dc6105 100644 --- a/map/location_state.cpp +++ b/map/location_state.cpp @@ -372,6 +372,10 @@ namespace location } } + bool State::hitTest(m2::PointD const & pt) const + { + return false; + } void State::FollowCompass() { diff --git a/map/location_state.hpp b/map/location_state.hpp index 8dac2bdd29..0909a1432b 100644 --- a/map/location_state.hpp +++ b/map/location_state.hpp @@ -128,5 +128,7 @@ namespace location vector const & boundRects() const; void draw(yg::gl::OverlayRenderer * r, math::Matrix const & m) const; + + bool hitTest(m2::PointD const & pt) const; }; }