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:
Diffstat (limited to 'map/navigator.hpp')
-rw-r--r--map/navigator.hpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/map/navigator.hpp b/map/navigator.hpp
index 7739c771c6..8c33800657 100644
--- a/map/navigator.hpp
+++ b/map/navigator.hpp
@@ -1,5 +1,4 @@
#pragma once
-#include "render/scales_processor.hpp"
#include "anim/task.hpp"
@@ -14,7 +13,7 @@
class Navigator
{
public:
- Navigator(ScalesProcessor const & scales);
+ Navigator();
void SetFromRect(m2::AnyRectD const & r);
void CenterViewport(m2::PointD const & p);
@@ -72,8 +71,6 @@ public:
int GetDrawScale() const;
private:
- ScalesProcessor const & m_scales;
-
bool CheckMinScale(ScreenBase const & screen) const;
bool CheckMaxScale(ScreenBase const & screen) const;
bool CheckBorders(ScreenBase const & screen) const;
@@ -81,9 +78,6 @@ private:
static bool CanShrinkInto(ScreenBase const & screen, m2::RectD const & boundRect);
static ScreenBase const ShrinkInto(ScreenBase const & screen, m2::RectD boundRect);
- static bool CanRotateInto(ScreenBase const & screen, m2::RectD const & boundRect);
- static ScreenBase const RotateInto(ScreenBase const & screen, m2::RectD const & boundRect);
-
static ScreenBase const ScaleInto(ScreenBase const & screen, m2::RectD boundRect);
static ScreenBase const ShrinkAndScaleInto(ScreenBase const & screen, m2::RectD boundRect);