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

Method invalidate

src/openrct2/interface/WindowBase.cpp:26–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24 }
25
26 void WindowBase::invalidate()
27 {
28 GfxSetDirtyBlocks({ windowPos, windowPos + ScreenCoordsXY{ width, height } });
29 }
30
31 void WindowBase::removeViewport()
32 {

Callers 15

WindowUpdateAllFunction · 0.45
WindowPushOthersRightFunction · 0.45
WindowPushOthersBelowFunction · 0.45
WindowScrollToLocationFunction · 0.45
WindowZoomSetFunction · 0.45
ShowGridlinesFunction · 0.45
HideGridlinesFunction · 0.45
ShowLandRightsFunction · 0.45
HideLandRightsFunction · 0.45
ShowConstructionRightsFunction · 0.45

Calls 1

GfxSetDirtyBlocksFunction · 0.85

Tested by

no test coverage detected