MCPcopy Create free account
hub / github.com/OpenLoco/OpenLoco / viewportZoomIn

Method viewportZoomIn

src/OpenLoco/src/Ui/Window.cpp:702–710  ·  view source on GitHub ↗

0x0045EFDB

Source from the content-addressed store, hash-verified

700
701 // 0x0045EFDB
702 void Window::viewportZoomIn(bool toCursor)
703 {
704 if (this->viewports[0] == nullptr)
705 {
706 return;
707 }
708
709 this->viewportZoomSet(this->viewports[0]->zoom - 1, toCursor);
710 }
711
712 // 0x0045F015
713 void Window::viewportZoomOut(bool toCursor)

Callers 3

wheelInputFunction · 0.80
zoomMenuDropdownFunction · 0.80
zoomViewInFunction · 0.80

Calls 1

viewportZoomSetMethod · 0.95

Tested by

no test coverage detected