Skip to content

Commit

Permalink
apps/radar/Lucid - linking zooms to rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-dixon committed Jan 22, 2025
1 parent 90aa42d commit 07dcb25
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 16 deletions.
1 change: 1 addition & 0 deletions codebase/apps/radar/src/Lucid/GuiManager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1029,6 +1029,7 @@ void GuiManager::_populateZoomsMenu()
// create item for this entry

ZoomMenuItem *item = new ZoomMenuItem;
item->setManager(this);
item->setZoomParams(&zparams);
item->setZoomIndex(izoom);

Expand Down
4 changes: 4 additions & 0 deletions codebase/apps/radar/src/Lucid/HorizWidget.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1955,6 +1955,10 @@ void HorizWidget::zoomBackView()
}
_setTransform(_zoomWorld.getTransform());
_setGridSpacing();
_manager.setXyZoom(_zoomWorld.getYMinWorld(),
_zoomWorld.getYMaxWorld(),
_zoomWorld.getXMinWorld(),
_zoomWorld.getXMaxWorld());
_refreshImages();
}

Expand Down
Loading

0 comments on commit 07dcb25

Please sign in to comment.