diff options
author | ExMix <rahuba.youri@mapswithme.com> | 2014-09-23 13:38:15 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:27:19 +0300 |
commit | 09e13c7196c8cd46d75230f59b1f1f0521abebc6 (patch) | |
tree | 7c75331e421e83b320a55e2ba59d84aa13f207f5 /graphics | |
parent | 2d5f1fa4206518b6bb9d57aa1bc5b37b87fc9cf2 (diff) |
[core] iphone6+ scaling fix
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/defines.cpp | 5 | ||||
-rw-r--r-- | graphics/defines.hpp | 3 |
2 files changed, 5 insertions, 3 deletions
diff --git a/graphics/defines.cpp b/graphics/defines.cpp index c0fd2b0dcc..b3884dffc0 100644 --- a/graphics/defines.cpp +++ b/graphics/defines.cpp @@ -63,7 +63,8 @@ namespace graphics {EDensityMDPI, "mdpi"}, {EDensityHDPI, "hdpi"}, {EDensityXHDPI, "xhdpi"}, - {EDensityXXHDPI, "xxhdpi"} + {EDensityXXHDPI, "xxhdpi"}, + {EDensityIPhone6Plus, "xhdpi"} }; char const * convert(EDensity density) @@ -83,7 +84,7 @@ namespace graphics double visualScale(EDensity density) { - static double const vs [5] = { 0.75, 1, 1.5, 2, 3 }; + static double const vs [6] = { 0.75, 1, 1.5, 2, 3, 2.4 }; return vs[density]; } diff --git a/graphics/defines.hpp b/graphics/defines.hpp index 9ec798e7ef..64d4ad34b5 100644 --- a/graphics/defines.hpp +++ b/graphics/defines.hpp @@ -13,7 +13,8 @@ namespace graphics EDensityMDPI, EDensityHDPI, EDensityXHDPI, - EDensityXXHDPI + EDensityXXHDPI, + EDensityIPhone6Plus }; /// get density name |