| 1010 | } |
| 1011 | |
| 1012 | void Window::callToolUpdate(WidgetIndex_t widgetIndex, const WidgetId id, int16_t xPos, int16_t yPos) |
| 1013 | { |
| 1014 | if (eventHandlers->onToolUpdate == nullptr) |
| 1015 | { |
| 1016 | return; |
| 1017 | } |
| 1018 | |
| 1019 | eventHandlers->onToolUpdate(*this, widgetIndex, id, xPos, yPos); |
| 1020 | } |
| 1021 | |
| 1022 | void Window::callToolDown(WidgetIndex_t widgetIndex, const WidgetId id, int16_t xPos, int16_t yPos) |
| 1023 | { |