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
path: root/gui
diff options
context:
space:
mode:
authorrachytski <siarhei.rachytski@gmail.com>2013-01-03 11:45:47 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:49:03 +0300
commit83e03625f50d3527b5c5b2613825cda419ecc81f (patch)
treecf736a9ad2d7925d8de17da8f8336a9e5519b84f /gui
parent0d3366464e4929dabcd902b6678086b5333a600e (diff)
changed OverlayElement::visualRank into OverlayElement::priority and turned on sorting by OverlayElement::depth(which is essentially a priority in drules_proto.txt).
Diffstat (limited to 'gui')
-rw-r--r--gui/element.cpp2
-rw-r--r--gui/element.hpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/gui/element.cpp b/gui/element.cpp
index 48f2a18510..7e5f76a358 100644
--- a/gui/element.cpp
+++ b/gui/element.cpp
@@ -92,7 +92,7 @@ namespace gui
r->drawRectangle(boundRects()[i], color(state()), depth());
}
- int Element::visualRank() const
+ int Element::priority() const
{
return 0;
}
diff --git a/gui/element.hpp b/gui/element.hpp
index 5179101735..b87457e1e3 100644
--- a/gui/element.hpp
+++ b/gui/element.hpp
@@ -69,7 +69,7 @@ namespace gui
graphics::OverlayElement * clone(math::Matrix<double, 3, 3> const & m) const;
void draw(graphics::OverlayRenderer * r, math::Matrix<double, 3, 3> const & m) const;
- int visualRank() const;
+ int priority() const;
virtual void cache();
/// this method is called upon renderPolicy destruction and should clean