| 1030 | } |
| 1031 | |
| 1032 | void Window::callToolDrag(const WidgetIndex_t widgetIndex, const WidgetId id, const int16_t xPos, const int16_t yPos) |
| 1033 | { |
| 1034 | if (eventHandlers->toolDrag == nullptr) |
| 1035 | { |
| 1036 | return; |
| 1037 | } |
| 1038 | |
| 1039 | eventHandlers->toolDrag(*this, widgetIndex, id, xPos, yPos); |
| 1040 | } |
| 1041 | |
| 1042 | void Window::callToolUp(const WidgetIndex_t widgetIndex, const WidgetId id, const int16_t xPos, const int16_t yPos) |
| 1043 | { |