MCPcopy Create free account
hub / github.com/comaps/comaps / ResizeImpl

Method ResizeImpl

libs/drape_frontend/drape_engine.cpp:457–462  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

455}
456
457void DrapeEngine::ResizeImpl(int w, int h)
458{
459 gui::DrapeGui::Instance().SetSurfaceSize(m2::PointF(w, h));
460 m_viewport.SetViewport(0, 0, w, h);
461 PostUserEvent(make_unique_dp<ResizeEvent>(w, h));
462}
463
464void DrapeEngine::SetCompassInfo(location::CompassInfo const & info)
465{

Callers

nothing calls this directly

Calls 2

SetSurfaceSizeMethod · 0.80
SetViewportMethod · 0.45

Tested by

no test coverage detected