[android] added "empty model" message to PartialRenderPolicy.

This commit is contained in:
rachytski 2011-12-05 18:39:34 +04:00 committed by Alex Zolotarev
parent 08d5dafd28
commit abbb5027d5
2 changed files with 6 additions and 0 deletions

View file

@ -292,6 +292,11 @@ bool PartialRenderPolicy::NeedRedraw() const
return RenderPolicy::NeedRedraw() || !m_glQueue.Empty();
}
bool PartialRenderPolicy::IsEmptyModel() const
{
return m_renderQueue->renderState().m_isEmptyModelActual;
}
m2::RectI const PartialRenderPolicy::OnSize(int w, int h)
{
RenderPolicy::OnSize(w, h);

View file

@ -50,6 +50,7 @@ public:
m2::RectI const OnSize(int w, int h);
bool NeedRedraw() const;
bool IsEmptyModel() const;
void StartDrag();
void StopDrag();