* Mark all windows of a particular class as dirty (in need of repainting) * @param cls Window class */
| 3203 | * @param cls Window class |
| 3204 | */ |
| 3205 | void SetWindowClassesDirty(WindowClass cls) |
| 3206 | { |
| 3207 | for (const Window *w : Window::Iterate()) { |
| 3208 | if (w->window_class == cls) w->SetDirty(); |
| 3209 | } |
| 3210 | } |
| 3211 | |
| 3212 | /** |
| 3213 | * Mark this window as resized and in need of OnResize() event. |
no test coverage detected