diff options
author | Alex Zolotarev <deathbaba@gmail.com> | 2011-10-23 05:24:51 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:26:35 +0300 |
commit | bf559047229bf85e109d30b49ac7dd9d4b10a85f (patch) | |
tree | d3af6d4b3d0bc109aa2e876c16084f79ea162e4b /geometry | |
parent | 175ec47793aa169b2d237fee2ed2383971189679 (diff) |
Removed unnecessary device orientation support in framework.
[ios] Fixed orientation bug when map controller didn't receive orientation change event if another modal controller was on the top
@TODO [ios] Set correct angle in compass events using UIDeviceOrientationChanged notification
Diffstat (limited to 'geometry')
-rw-r--r-- | geometry/screenbase.cpp | 2 | ||||
-rw-r--r-- | geometry/screenbase.hpp | 12 |
2 files changed, 0 insertions, 14 deletions
diff --git a/geometry/screenbase.cpp b/geometry/screenbase.cpp index 4b789f82a2..d1a6f00fe9 100644 --- a/geometry/screenbase.cpp +++ b/geometry/screenbase.cpp @@ -6,8 +6,6 @@ #include "transformations.hpp" #include "angles.hpp" -#include "../base/start_mem_debug.hpp" - ScreenBase::ScreenBase() : m_PixelRect(0, 0, 640, 480), m_Scale(0.1), diff --git a/geometry/screenbase.hpp b/geometry/screenbase.hpp index 46f50ac0e5..d23d9c00f4 100644 --- a/geometry/screenbase.hpp +++ b/geometry/screenbase.hpp @@ -6,16 +6,6 @@ #include "../base/math.hpp" -#include "../base/start_mem_debug.hpp" - -enum EOrientation -{ - EOrientation0, - EOrientation90, - EOrientation180, - EOrientation270 -}; - class ScreenBase { m2::RectD m_PixelRect; @@ -134,5 +124,3 @@ public: /// checking whether the s1 transforms into s2 without scaling, only with shift and rotation bool IsPanningAndRotate(ScreenBase const & s1, ScreenBase const & s2); - -#include "../base/stop_mem_debug.hpp" |