0x004CB966
| 325 | |
| 326 | // 0x004CB966 |
| 327 | void invalidateWidget(WindowType type, WindowNumber_t number, WidgetIndex_t widgetIndex) |
| 328 | { |
| 329 | for (auto&& w : _windows) |
| 330 | { |
| 331 | if (w.type != type) |
| 332 | { |
| 333 | continue; |
| 334 | } |
| 335 | |
| 336 | if (w.number != number) |
| 337 | { |
| 338 | continue; |
| 339 | } |
| 340 | |
| 341 | auto widget = w.widgets[widgetIndex]; |
| 342 | |
| 343 | if (widget.left != -2) |
| 344 | { |
| 345 | Gfx::invalidateRegion( |
| 346 | w.x + widget.left, |
| 347 | w.y + widget.top, |
| 348 | w.x + widget.right + 1, |
| 349 | w.y + widget.bottom + 1); |
| 350 | } |
| 351 | } |
| 352 | } |
| 353 | |
| 354 | // 0x004C9984 |
| 355 | void invalidateAllWindowsAfterInput() |
no test coverage detected