* Changes the Lock Mouse option. * @param action Pointer to an action. */
| 523 | * @param action Pointer to an action. |
| 524 | */ |
| 525 | void OptionsVideoState::btnLockMouseClick(Action *) |
| 526 | { |
| 527 | Options::captureMouse = (SDL_GrabMode)_btnLockMouse->getPressed(); |
| 528 | SDL_WM_GrabInput(Options::captureMouse); |
| 529 | } |
| 530 | |
| 531 | /** |
| 532 | * Changes the geoscape scale. |
nothing calls this directly
no test coverage detected