diff options
author | Ilya Grechuhin <i.grechuhin@mapswithme.com> | 2015-10-02 18:41:45 +0300 |
---|---|---|
committer | Ilya Grechuhin <i.grechuhin@gmail.com> | 2015-10-07 14:34:51 +0300 |
commit | eee5a566a02cac84ab2b22dd779afca83a0fc20c (patch) | |
tree | 8aa2f075c16032b008d11f649a7b4f3f4eebee68 /iphone/Maps/Classes/CustomViews/MapViewControls/APIBar/MWMMapViewControlsCommon.h | |
parent | 41b431de52608d99419c9874082d6322a6920213 (diff) |
[ios] Removed side menu.
Diffstat (limited to 'iphone/Maps/Classes/CustomViews/MapViewControls/APIBar/MWMMapViewControlsCommon.h')
-rw-r--r-- | iphone/Maps/Classes/CustomViews/MapViewControls/APIBar/MWMMapViewControlsCommon.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/iphone/Maps/Classes/CustomViews/MapViewControls/APIBar/MWMMapViewControlsCommon.h b/iphone/Maps/Classes/CustomViews/MapViewControls/APIBar/MWMMapViewControlsCommon.h new file mode 100644 index 0000000000..9c35e8556d --- /dev/null +++ b/iphone/Maps/Classes/CustomViews/MapViewControls/APIBar/MWMMapViewControlsCommon.h @@ -0,0 +1,11 @@ +static NSTimeInterval const kMenuViewHideFramesCount = 7.0; +static NSTimeInterval const kMenuViewMoveFramesCount = 7.0; + +static inline NSTimeInterval framesDuration(NSTimeInterval const framesCount) +{ + static NSTimeInterval const kFPS = 30.0; + static NSTimeInterval const kFrameDuration = 1.0 / kFPS; + return kFrameDuration * framesCount; +} + +static CGFloat const kViewControlsOffsetToBounds = 4.0; |