diff options
author | rachytski <siarhei.rachytski@gmail.com> | 2011-03-15 02:45:13 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:13:35 +0300 |
commit | b8f6f73964aee38700eac8053ac9c9811ed2e06b (patch) | |
tree | 0cc5016cb7a05e485e47ee97e4a184bdf84d78ab /map/information_display.hpp | |
parent | 90a1c8a23e7c780aa5701c5f29e3cc2c633b15bd (diff) |
limiting max and min global rect.
Diffstat (limited to 'map/information_display.hpp')
-rw-r--r-- | map/information_display.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/map/information_display.hpp b/map/information_display.hpp index 11655c21b6..f0f5822cf6 100644 --- a/map/information_display.hpp +++ b/map/information_display.hpp @@ -37,6 +37,8 @@ private: bool m_isRulerEnabled; m2::PointD m_basePoint; + unsigned m_pxMinWidth; + double m_metresMinWidth; bool m_isCenterEnabled; m2::PointD m_centerPt; @@ -96,6 +98,7 @@ public: void enableRuler(bool doEnable); void drawRuler(DrawerYG * pDrawer); + void setRulerParams(unsigned pxMinWidth, double metresMinWidth); void enableCenter(bool doEnable); void setCenter(m2::PointD const & latLongPt); |