Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrachytski <siarhei.rachytski@gmail.com>2012-06-04 22:31:06 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:39:23 +0300
commit8ade6cd76836bc053168bf41bcda6358aa29a04a (patch)
tree1979e2ea3f522e23a201e9cab7fc01e972eb103b /gui/element.cpp
parent28a1cb63de4573451226455ccf7177e1df43938e (diff)
removed yg::Overlay for guy::Element's. added list instead.
Diffstat (limited to 'gui/element.cpp')
-rw-r--r--gui/element.cpp18
1 files changed, 0 insertions, 18 deletions
diff --git a/gui/element.cpp b/gui/element.cpp
index 2af1be5f85..24e411937c 100644
--- a/gui/element.cpp
+++ b/gui/element.cpp
@@ -63,24 +63,6 @@ namespace gui
}
}
- void Element::setPivot(m2::PointD const & pv)
- {
- shared_ptr<Element> e = m_controller->FindElement(this);
-
- Controller * controller = m_controller;
-
- if (e)
- {
- controller->RemoveElement(e);
- m_controller = controller;
- }
-
- OverlayElement::setPivot(pv);
-
- if (e)
- controller->AddElement(e);
- }
-
void Element::cache()
{}