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

Method invalidate

src/OpenLoco/src/Ui/Window.cpp:430–433  ·  view source on GitHub ↗

0x004CA4BD input: regs.esi - window (this)

Source from the content-addressed store, hash-verified

428 // 0x004CA4BD
429 // input: regs.esi - window (this)
430 void Window::invalidate()
431 {
432 Gfx::invalidateRegion(x, y, x + width, y + height);
433 }
434
435 // 0x004CA115
436 void Window::updateScrollWidgets()

Callers 15

updateScrollWidgetsMethod · 0.95
viewportCentreOnTileMethod · 0.95
viewportZoomSetMethod · 0.95
moveMethod · 0.95
moveInsideScreenEdgesMethod · 0.95
updateFunction · 0.45
invalidateFunction · 0.45
bringToFrontFunction · 0.45
createWindowFunction · 0.45
closeFunction · 0.45
moveOtherWindowsDownFunction · 0.45

Calls 1

invalidateRegionFunction · 0.85

Tested by 4

scrollMouseDownFunction · 0.36
scrollMouseOverFunction · 0.36
onMouseDownFunction · 0.36
onToolDownFunction · 0.36