| 1040 | } |
| 1041 | |
| 1042 | void Window::callToolUp(const WidgetIndex_t widgetIndex, const WidgetId id, const int16_t xPos, const int16_t yPos) |
| 1043 | { |
| 1044 | if (eventHandlers->toolUp == nullptr) |
| 1045 | { |
| 1046 | return; |
| 1047 | } |
| 1048 | |
| 1049 | eventHandlers->toolUp(*this, widgetIndex, id, xPos, yPos); |
| 1050 | } |
| 1051 | |
| 1052 | void Window::callToolAbort(WidgetIndex_t widgetIndex, const WidgetId id) |
| 1053 | { |