void DisablePan() { GlueMapWindow *map = UIGlobals::GetMapIfActive(); if (map == NULL || !map->IsPanning()) return; map->SetPan(false); InputEvents::UpdatePan(); }
void LeavePan() { GlueMapWindow *map = UIGlobals::GetMapIfActive(); if (map == NULL || !map->IsPanning()) return; map->SetPan(false); InputEvents::UpdatePan(); PageActions::Restore(); }
void LeavePan() { assert(CommonInterface::main_window != NULL); GlueMapWindow *map = CommonInterface::main_window->GetMapIfActive(); if (map == NULL || !map->IsPanning()) return; map->SetPan(false); setMode(InputEvents::MODE_DEFAULT); Pages::Update(); }
void EnterPan() { assert(CommonInterface::main_window != NULL); GlueMapWindow *map = PageActions::ShowOnlyMap(); if (map == NULL || map->IsPanning()) return; map->SetPan(true); InputEvents::setMode(InputEvents::MODE_DEFAULT); InputEvents::UpdatePan(); }
void EnterPan() { assert(CommonInterface::main_window != NULL); GlueMapWindow *map = CommonInterface::main_window->ActivateMap(); if (map == NULL || map->IsPanning()) return; map->SetPan(true); InputEvents::setMode(InputEvents::MODE_PAN); CommonInterface::main_window->SetFullScreen(true); }