diff options
author | rachytski <siarhei.rachytski@gmail.com> | 2012-06-04 22:31:06 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:39:23 +0300 |
commit | 8ade6cd76836bc053168bf41bcda6358aa29a04a (patch) | |
tree | 1979e2ea3f522e23a201e9cab7fc01e972eb103b /gui/element.cpp | |
parent | 28a1cb63de4573451226455ccf7177e1df43938e (diff) |
removed yg::Overlay for guy::Element's. added list instead.
Diffstat (limited to 'gui/element.cpp')
-rw-r--r-- | gui/element.cpp | 18 |
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() {} |