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

Method SetDirty

src/window.cpp:968–971  ·  view source on GitHub ↗

* Mark entire window as dirty (in need of re-paint) * @ingroup dirty */

Source from the content-addressed store, hash-verified

966 * @ingroup dirty
967 */
968void Window::SetDirty() const
969{
970 AddDirtyBlock(this->left, this->top, this->left + this->width, this->top + this->height);
971}
972
973/**
974 * Re-initialize a window, and optionally change its size.

Callers 15

ReInitMethod · 0.95
CloseMethod · 0.95
InvalidateDataMethod · 0.95
OnRealtimeTickMethod · 0.45
OnInitMethod · 0.45
SignListWindowClass · 0.45
ShowTerraformToolbarFunction · 0.45
OnClickMethod · 0.45
OnPlaceObjectAbortMethod · 0.45
OnClickMethod · 0.45
OnRailRoadTypeChangeMethod · 0.45

Calls 1

AddDirtyBlockFunction · 0.85

Tested by

no test coverage detected