diff options
author | ExMix <rahuba.youri@mapswithme.com> | 2014-07-08 22:15:33 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:20:01 +0300 |
commit | bb40090b78a4d3c380d0de041a98bab75e1e1ad6 (patch) | |
tree | 1f70445fa8b5a9bdf9eb5520c5faa5937e97fce9 /drape_head/testing_engine.cpp | |
parent | e4b46395bff2dbbd24f5e3417752679df17a19c6 (diff) |
[drape] compile fix
Diffstat (limited to 'drape_head/testing_engine.cpp')
-rw-r--r-- | drape_head/testing_engine.cpp | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/drape_head/testing_engine.cpp b/drape_head/testing_engine.cpp index 965a613f94..cc8cb2f8ac 100644 --- a/drape_head/testing_engine.cpp +++ b/drape_head/testing_engine.cpp @@ -69,21 +69,19 @@ void TestingEngine::Draw() context->present(); } -void TestingEngine::OnSizeChanged(int x0, int y0, int w, int h) +void TestingEngine::Resize(int w, int h) { - m_viewport.SetViewport(x0, y0, w, h); + m_viewport.SetViewport(0, 0, w, h); ModelViewInit(); ProjectionInit(); Draw(); } -void TestingEngine::SetAngle(float radians) -{ - ModelViewInit(); - ProjectionInit(); +void TestingEngine::DragStarted(m2::PointF const & p) {} +void TestingEngine::Drag(m2::PointF const & p) {} +void TestingEngine::DragEnded(m2::PointF const & p) {} +void TestingEngine::Scale(m2::PointF const & p, double factor) {} - Draw(); -} void TestingEngine::DrawImpl() { |