| 479 | } |
| 480 | |
| 481 | static void onMouseUp(Ui::Window& self, WidgetIndex_t widgetIndex, [[maybe_unused]] const WidgetId id) |
| 482 | { |
| 483 | switch (widgetIndex) |
| 484 | { |
| 485 | case widx::close: |
| 486 | WindowManager::close(self.type); |
| 487 | break; |
| 488 | |
| 489 | case widx::select: |
| 490 | activateMapSelectionTool(self); |
| 491 | break; |
| 492 | } |
| 493 | } |
| 494 | |
| 495 | static void onMouseDown(Ui::Window& self, const WidgetIndex_t widgetIndex, [[maybe_unused]] const WidgetId id) |
| 496 | { |
nothing calls this directly
no test coverage detected