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:
authorDaria Volvenkova <d.volvenkova@corp.mail.ru>2015-12-10 18:58:09 +0300
committerDaria Volvenkova <d.volvenkova@corp.mail.ru>2015-12-29 16:42:33 +0300
commit2996e48cee3838dc1c1451251e03b4cfa2ef4af6 (patch)
tree57cb1ac9e4c652326535f568538d9d8a8cc5b9ff /drape/overlay_handle.hpp
parent046e8f6b0fc5eb8748fc66900439ad227279fb3d (diff)
Rendering poi and texts on the tops of buildings.
Diffstat (limited to 'drape/overlay_handle.hpp')
-rw-r--r--drape/overlay_handle.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/drape/overlay_handle.hpp b/drape/overlay_handle.hpp
index 8cfda56e3e..214c599177 100644
--- a/drape/overlay_handle.hpp
+++ b/drape/overlay_handle.hpp
@@ -58,6 +58,8 @@ public:
virtual m2::RectD GetPixelRect(ScreenBase const & screen, bool perspective) const = 0;
virtual void GetPixelShape(ScreenBase const & screen, Rects & rects, bool perspective) const = 0;
+ void SetPivotZ(double pivotZ) { m_pivotZ = pivotZ; }
+
double GetExtendingSize() const { return m_extendingSize; }
void SetExtendingSize(double extendingSize) { m_extendingSize = extendingSize; }
m2::RectD GetExtendedPixelRect(ScreenBase const & screen) const;
@@ -96,6 +98,7 @@ protected:
int m_overlayRank;
double m_extendingSize;
+ double m_pivotZ;
steady_clock::time_point m_visibilityTimestamp;