| 1191 | } |
| 1192 | |
| 1193 | std::optional<FormatArguments> Window::callTooltip(WidgetIndex_t widgetIndex, const WidgetId id) |
| 1194 | { |
| 1195 | // We only return std::nullopt when required by the tooltip function |
| 1196 | if (eventHandlers->tooltip == nullptr) |
| 1197 | { |
| 1198 | return FormatArguments(); |
| 1199 | } |
| 1200 | |
| 1201 | return eventHandlers->tooltip(*this, widgetIndex, id); |
| 1202 | } |
| 1203 | |
| 1204 | void Window::callOnMove(int16_t xPos, int16_t yPos) |
| 1205 | { |
no test coverage detected