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

Function getMainWindow

src/OpenLoco/src/Ui/WindowManager.cpp:153–156  ·  view source on GitHub ↗

0x004CE438

Source from the content-addressed store, hash-verified

151
152 // 0x004CE438
153 Window* getMainWindow()
154 {
155 return find(WindowType::main);
156 }
157
158 Viewport* getMainViewport()
159 {

Callers 15

resizeFunction · 0.85
handleStepFunction · 0.85
updateOwnerStatusFunction · 0.85
viewportCentreMainMethod · 0.85
saveGiantScreenshotFunction · 0.85
getMainViewportFunction · 0.85
viewportSetVisibilityFunction · 0.85
onMouseUpFunction · 0.85
zoomMenuMouseDownFunction · 0.85
viewMenuMouseDownFunction · 0.85
zoomMenuDropdownFunction · 0.85
rotateMenuDropdownFunction · 0.85

Calls 1

findFunction · 0.85

Tested by

no test coverage detected