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:
Diffstat (limited to 'drape_frontend/path_text_shape.hpp')
-rw-r--r--drape_frontend/path_text_shape.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/drape_frontend/path_text_shape.hpp b/drape_frontend/path_text_shape.hpp
index b9dde17f22..d229f52858 100644
--- a/drape_frontend/path_text_shape.hpp
+++ b/drape_frontend/path_text_shape.hpp
@@ -9,15 +9,16 @@ namespace df
{
class PathTextLayout;
+
class PathTextShape : public MapShape
{
public:
PathTextShape(m2::SharedSpline const & spline, PathTextViewParams const & params);
void Draw(ref_ptr<dp::Batcher> batcher, ref_ptr<dp::TextureManager> textures) const override;
- MapShapePriority GetPriority() const override { return MapShapePriority::LinePriority; }
+ MapShapeType GetType() const override { return MapShapeType::OverlayType; }
private:
- uint64_t GetOverlayPriority(bool followingMode) const;
+ uint64_t GetOverlayPriority(size_t textIndex, bool followingMode) const;
void DrawPathTextPlain(ref_ptr<dp::TextureManager> textures,
ref_ptr<dp::Batcher> batcher,