* Handler for clicking on a timer button. * @param action pointer to the mouse action. */
| 2226 | * @param action pointer to the mouse action. |
| 2227 | */ |
| 2228 | void GeoscapeState::btnTimerClick(Action *action) |
| 2229 | { |
| 2230 | SDL_Event ev; |
| 2231 | ev.type = SDL_MOUSEBUTTONDOWN; |
| 2232 | ev.button.button = SDL_BUTTON_LEFT; |
| 2233 | Action a = Action(&ev, 0.0, 0.0, 0, 0); |
| 2234 | action->getSender()->mousePress(&a, this); |
| 2235 | } |
| 2236 | |
| 2237 | /** |
| 2238 | * Updates the scale. |
nothing calls this directly
no test coverage detected