| 1070 | } |
| 1071 | |
| 1072 | Ui::CursorId Window::callCursor(WidgetIndex_t widgetIdx, const WidgetId id, int16_t xPos, int16_t yPos, Ui::CursorId fallback) |
| 1073 | { |
| 1074 | if (eventHandlers->cursor == nullptr) |
| 1075 | { |
| 1076 | return fallback; |
| 1077 | } |
| 1078 | |
| 1079 | return eventHandlers->cursor(*this, widgetIdx, id, xPos, yPos, fallback); |
| 1080 | } |
| 1081 | |
| 1082 | void Window::callOnMouseUp(WidgetIndex_t widgetIndex, const WidgetId id) |
| 1083 | { |