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

Function WindowGetIterator

src/openrct2/interface/Window.cpp:81–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79 Drawing::RenderTarget& rt, WindowBase& w, int32_t left, int32_t top, int32_t right, int32_t bottom);
80
81 std::vector<std::unique_ptr<WindowBase>>::iterator WindowGetIterator(const WindowBase* w)
82 {
83 return std::find_if(gWindowList.begin(), gWindowList.end(), [w](auto&& w2) { return w == w2.get(); });
84 }
85
86 void WindowVisitEach(std::function<void(WindowBase*)> func)
87 {

Callers 7

WindowScrollToLocationFunction · 0.85
WindowDrawFunction · 0.85
WindowDrawCoreFunction · 0.85
ViewportRedrawAfterShiftFunction · 0.85
ViewportShiftPixelsFunction · 0.85
DrawWeatherWindowFunction · 0.85
BringToFrontMethod · 0.85

Calls 3

endMethod · 0.65
getMethod · 0.65
beginMethod · 0.45

Tested by

no test coverage detected