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:
authorr.kuznetsov <r.kuznetsov@corp.mail.ru>2015-07-06 16:03:39 +0300
committerr.kuznetsov <r.kuznetsov@corp.mail.ru>2015-11-30 16:09:29 +0300
commit3d6b3cde35b48eeb84e6d217027d3c6a7c6d398d (patch)
tree8eb1a4e40a84aaf437ff148d14f411c825cc55e3 /drape/overlay_handle.hpp
parent80c864685038b34af3ff742329581633ef8eeedb (diff)
Fixed bug with path texts and removed isValid flag
Diffstat (limited to 'drape/overlay_handle.hpp')
-rw-r--r--drape/overlay_handle.hpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/drape/overlay_handle.hpp b/drape/overlay_handle.hpp
index cd38cc01f6..e05ff00f24 100644
--- a/drape/overlay_handle.hpp
+++ b/drape/overlay_handle.hpp
@@ -31,11 +31,9 @@ public:
bool IsVisible() const;
void SetIsVisible(bool isVisible);
- bool IsValid() const { return m_isValid; }
-
m2::PointD GetPivot(ScreenBase const & screen) const;
- virtual void Update(ScreenBase const & /*screen*/) {}
+ virtual bool Update(ScreenBase const & /*screen*/) { return true; }
virtual m2::RectD GetPixelRect(ScreenBase const & screen) const = 0;
virtual void GetPixelShape(ScreenBase const & screen, Rects & rects) const = 0;
@@ -55,9 +53,6 @@ public:
double const & GetPriority() const;
protected:
- void SetIsValid(bool isValid) { m_isValid = isValid; }
-
-protected:
FeatureID const m_id;
dp::Anchor const m_anchor;
double const m_priority;
@@ -67,7 +62,6 @@ protected:
private:
bool m_isVisible;
- bool m_isValid;
dp::IndexStorage m_indexes;
struct LessOffsetNode