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/drape_engine.cpp')
-rw-r--r--drape_frontend/drape_engine.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/drape_frontend/drape_engine.cpp b/drape_frontend/drape_engine.cpp
index 42b4b554a2..402a9d732a 100644
--- a/drape_frontend/drape_engine.cpp
+++ b/drape_frontend/drape_engine.cpp
@@ -111,6 +111,13 @@ void DrapeEngine::Resize(int w, int h)
ResizeImpl(w, h);
}
+void DrapeEngine::SetVisibleViewport(m2::RectD const & rect) const
+{
+ m_threadCommutator->PostMessage(ThreadsCommutator::RenderThread,
+ make_unique_dp<SetVisibleViewportMessage>(rect),
+ MessagePriority::Normal);
+}
+
void DrapeEngine::Invalidate()
{
m_threadCommutator->PostMessage(ThreadsCommutator::RenderThread,