| 994 | } |
| 995 | |
| 996 | void Framework::LoadViewport() |
| 997 | { |
| 998 | m2::AnyRectD rect; |
| 999 | if (settings::Get(kScreenViewport, rect) && df::GetWorldRect().IsRectInside(rect.GetGlobalRect())) |
| 1000 | { |
| 1001 | if (m_drapeEngine != nullptr) |
| 1002 | m_drapeEngine->SetModelViewAnyRect(rect, false /* isAnim */, false /* useVisibleViewport */); |
| 1003 | } |
| 1004 | else |
| 1005 | { |
| 1006 | ShowAll(); |
| 1007 | } |
| 1008 | } |
| 1009 | |
| 1010 | void Framework::ShowAll() |
| 1011 | { |
nothing calls this directly
no test coverage detected