* * rct2: 0x006E7499 * left (ax) * top (bx) * right (dx) * bottom (bp) */
| 861 | * bottom (bp) |
| 862 | */ |
| 863 | void WindowDrawAll(Drawing::RenderTarget& rt, int32_t left, int32_t top, int32_t right, int32_t bottom) |
| 864 | { |
| 865 | auto windowRT = rt.Crop({ left, top }, { right - left, bottom - top }); |
| 866 | WindowVisitEach([&windowRT, left, top, right, bottom](WindowBase* w) { |
| 867 | if (w->flags.has(WindowFlag::transparent)) |
| 868 | return; |
| 869 | if (right <= w->windowPos.x || bottom <= w->windowPos.y) |
| 870 | return; |
| 871 | if (left >= w->windowPos.x + w->width || top >= w->windowPos.y + w->height) |
| 872 | return; |
| 873 | WindowDraw(windowRT, *w, left, top, right, bottom); |
| 874 | }); |
| 875 | } |
| 876 | |
| 877 | void WindowInitAll() |
| 878 | { |
no test coverage detected