Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorExMix <rahuba.youri@mapswithme.com>2014-03-14 15:31:37 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:12:42 +0300
commit29e2e6e262c3d030c58aa8dd4cfd6b28f2d8190a (patch)
tree1d784e72fbc2181e478d80c0169b3526480a3ffc /map/compass_arrow.hpp
parentca79bc3d4b5439a3c86d1a84f92285191636801d (diff)
compass hiding fix
Diffstat (limited to 'map/compass_arrow.hpp')
-rw-r--r--map/compass_arrow.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/map/compass_arrow.hpp b/map/compass_arrow.hpp
index b375bfc3bc..03a367a652 100644
--- a/map/compass_arrow.hpp
+++ b/map/compass_arrow.hpp
@@ -22,8 +22,8 @@ class Framework;
class CompassArrow : public gui::Element
{
private:
-
typedef gui::Element base_t;
+
double m_angle;
graphics::DisplayList * m_displayList;
@@ -42,6 +42,7 @@ private:
void cache();
void purge();
+ bool isBaseVisible() const;
public:
@@ -61,6 +62,7 @@ public:
vector<m2::AnyRectD> const & boundRects() const;
void draw(graphics::OverlayRenderer * r, math::Matrix<double, 3, 3> const & m) const;
+ virtual bool isVisible() const;
bool onTapEnded(m2::PointD const & pt);