diff options
author | vng <viktor.govako@gmail.com> | 2013-02-11 21:50:37 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:50:46 +0300 |
commit | e1bb2b713b9f1305b0ddebea0ccc93f1727b04a5 (patch) | |
tree | a7039e262d6ff9cae472fdef3f1cbc8c99539a0c /map/information_display.cpp | |
parent | 7c8634e74fc1f94b0a730d14ddb6ca6c603e4da7 (diff) |
[android] Add gui::BookmarkBalloon to android::Framework.
Diffstat (limited to 'map/information_display.cpp')
-rw-r--r-- | map/information_display.cpp | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/map/information_display.cpp b/map/information_display.cpp index de88d296e1..6ca449d820 100644 --- a/map/information_display.cpp +++ b/map/information_display.cpp @@ -75,25 +75,6 @@ InformationDisplay::InformationDisplay(Framework * framework) m_locationState.reset(new location::State(lsp)); - gui::Balloon::Params bp; - - bp.m_position = graphics::EPosAbove; - bp.m_depth = graphics::maxDepth; - bp.m_pivot = m2::PointD(0, 0); - bp.m_imageMarginBottom = 10; - bp.m_imageMarginLeft = 10; - bp.m_imageMarginRight = 10; - bp.m_imageMarginTop = 10; - bp.m_textMarginBottom = 10; - bp.m_textMarginLeft = 10; - bp.m_textMarginRight = 10; - bp.m_textMarginTop = 10; - bp.m_image = graphics::Image::Info("arrow.png"); - bp.m_text = "Bookmark"; - - m_bookmarkBalloon.reset(new gui::BookmarkBalloon(bp, framework)); - m_bookmarkBalloon->setIsVisible(false); - enableDebugPoints(false); enableRuler(false); enableCenter(false); @@ -116,7 +97,6 @@ void InformationDisplay::setController(gui::Controller *controller) m_controller->AddElement(m_compassArrow); m_controller->AddElement(m_locationState); m_controller->AddElement(m_ruler); - m_controller->AddElement(m_bookmarkBalloon); } void InformationDisplay::setScreen(ScreenBase const & screen) @@ -499,11 +479,6 @@ shared_ptr<CountryStatusDisplay> const & InformationDisplay::countryStatusDispla return m_countryStatusDisplay; } -shared_ptr<gui::BookmarkBalloon> const & InformationDisplay::bookmarkBalloon() const -{ - return m_bookmarkBalloon; -} - shared_ptr<location::State> const & InformationDisplay::locationState() const { return m_locationState; |