* Mark a particular widget in a particular window as dirty (in need of repainting) * @param cls Window class * @param number Window number in that class * @param widget_index Index number of the widget that needs repainting */
| 3190 | * @param widget_index Index number of the widget that needs repainting |
| 3191 | */ |
| 3192 | void SetWindowWidgetDirty(WindowClass cls, WindowNumber number, WidgetID widget_index) |
| 3193 | { |
| 3194 | for (const Window *w : Window::Iterate()) { |
| 3195 | if (w->window_class == cls && w->window_number == number) { |
| 3196 | w->SetWidgetDirty(widget_index); |
| 3197 | } |
| 3198 | } |
| 3199 | } |
| 3200 | |
| 3201 | /** |
| 3202 | * Mark all windows of a particular class as dirty (in need of repainting) |
no test coverage detected