* Takes care of any events from the core game engine. * @param action Pointer to an action. */
| 567 | * @param action Pointer to an action. |
| 568 | */ |
| 569 | void OptionsVideoState::handle(Action *action) |
| 570 | { |
| 571 | State::handle(action); |
| 572 | if (action->getDetails()->key.keysym.sym == SDLK_g && (SDL_GetModState() & KMOD_CTRL) != 0) |
| 573 | { |
| 574 | _btnLockMouse->setPressed(Options::captureMouse == SDL_GRAB_ON); |
| 575 | } |
| 576 | } |
| 577 | } |
nothing calls this directly
no test coverage detected