forked from organicmaps/organicmaps
Review fixes.
This commit is contained in:
parent
baba7b7953
commit
a1b0d6cd60
2 changed files with 6 additions and 6 deletions
|
@ -242,19 +242,19 @@ void BackendRenderer::AcceptMessage(ref_ptr<Message> message)
|
|||
{
|
||||
ref_ptr<AddRouteMessage> msg = message;
|
||||
m_routeBuilder->Build(msg->GetRoutePolyline(), msg->GetTurns(),
|
||||
msg->GetColor(), msg->GetPattern(), m_texMng, msg->GetRechacheId());
|
||||
msg->GetColor(), msg->GetPattern(), m_texMng, msg->GetRecacheId());
|
||||
break;
|
||||
}
|
||||
case Message::CacheRouteSign:
|
||||
{
|
||||
ref_ptr<CacheRouteSignMessage> msg = message;
|
||||
m_routeBuilder->BuildSign(msg->GetPosition(), msg->IsStart(), msg->IsValid(), m_texMng, msg->GetRechacheId());
|
||||
m_routeBuilder->BuildSign(msg->GetPosition(), msg->IsStart(), msg->IsValid(), m_texMng, msg->GetRecacheId());
|
||||
break;
|
||||
}
|
||||
case Message::CacheRouteArrows:
|
||||
{
|
||||
ref_ptr<CacheRouteArrowsMessage> msg = message;
|
||||
m_routeBuilder->BuildArrows(msg->GetRouteIndex(), msg->GetBorders(), m_texMng, msg->GetRechacheId());
|
||||
m_routeBuilder->BuildArrows(msg->GetRouteIndex(), msg->GetBorders(), m_texMng, msg->GetRecacheId());
|
||||
break;
|
||||
}
|
||||
case Message::RemoveRoute:
|
||||
|
|
|
@ -613,7 +613,7 @@ public:
|
|||
df::ColorConstant GetColor() const { return m_color; }
|
||||
vector<double> const & GetTurns() const { return m_turns; }
|
||||
df::RoutePattern const & GetPattern() const { return m_pattern; }
|
||||
int GetRechacheId() const { return m_recacheId; }
|
||||
int GetRecacheId() const { return m_recacheId; }
|
||||
|
||||
private:
|
||||
m2::PolylineD m_routePolyline;
|
||||
|
@ -642,7 +642,7 @@ public:
|
|||
m2::PointD const & GetPosition() const { return m_position; }
|
||||
bool IsStart() const { return m_isStart; }
|
||||
bool IsValid() const { return m_isValid; }
|
||||
int GetRechacheId() const { return m_recacheId; }
|
||||
int GetRecacheId() const { return m_recacheId; }
|
||||
|
||||
private:
|
||||
m2::PointD const m_position;
|
||||
|
@ -668,7 +668,7 @@ public:
|
|||
|
||||
int GetRouteIndex() const { return m_routeIndex; }
|
||||
vector<ArrowBorders> const & GetBorders() const { return m_borders; }
|
||||
int GetRechacheId() const { return m_recacheId; }
|
||||
int GetRecacheId() const { return m_recacheId; }
|
||||
|
||||
private:
|
||||
int m_routeIndex;
|
||||
|
|
Loading…
Add table
Reference in a new issue