Based on 0x004C8689
| 489 | |
| 490 | // Based on 0x004C8689 |
| 491 | void scrollModalRight(const int16_t x, const int16_t y, Ui::Window& window, Ui::Widget* const widget, [[maybe_unused]] const WidgetIndex_t widgetIndex) |
| 492 | { |
| 493 | auto res = getPart(window, widget, x, y); |
| 494 | |
| 495 | _currentScrollArea = res.area; |
| 496 | _currentScrollIndex = res.index; |
| 497 | |
| 498 | if (res.area == Ui::ScrollPart::view) |
| 499 | { |
| 500 | window.callScrollMouseDown(res.scrollviewLoc.x, res.scrollviewLoc.y, static_cast<uint8_t>(res.index)); |
| 501 | } |
| 502 | } |
| 503 | |
| 504 | // 0x004C72ED |
| 505 | void clearPressedButtons(const WindowType type, const WindowNumber_t number, const WidgetIndex_t widgetIndex) |
no test coverage detected