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

Function WindowUpdateAllViewports

src/openrct2/interface/Window.cpp:120–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118 }
119
120 void WindowUpdateAllViewports()
121 {
122 WindowVisitEach([&](WindowBase* w) {
123 if (w->viewport != nullptr && w->isVisible)
124 {
125 ViewportUpdatePosition(w);
126 }
127 });
128 }
129
130 static void WindowUpdateVisibilities()
131 {

Callers 2

PaintWindowsMethod · 0.85
PaintWindowsMethod · 0.85

Calls 2

WindowVisitEachFunction · 0.85
ViewportUpdatePositionFunction · 0.85

Tested by

no test coverage detected