MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / ProcessScheduledInvalidations

Method ProcessScheduledInvalidations

src/window.cpp:3250–3257  ·  view source on GitHub ↗

* Process all scheduled invalidations. */

Source from the content-addressed store, hash-verified

3248 * Process all scheduled invalidations.
3249 */
3250void Window::ProcessScheduledInvalidations()
3251{
3252 for (int data : this->scheduled_invalidation_data) {
3253 if (this->window_class == WC_INVALID) break;
3254 this->OnInvalidateData(data, true);
3255 }
3256 this->scheduled_invalidation_data.clear();
3257}
3258
3259/**
3260 * Process all invalidation of highlighted widgets.

Callers 1

UpdateWindowsFunction · 0.80

Calls 2

OnInvalidateDataMethod · 0.95
clearMethod · 0.45

Tested by

no test coverage detected