MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / btnLetterboxClick

Method btnLetterboxClick

src/Menu/OptionsVideoState.cpp:516–519  ·  view source on GitHub ↗

* Changes the Letterboxing option. * @param action Pointer to an action. */

Source from the content-addressed store, hash-verified

514 * @param action Pointer to an action.
515 */
516void OptionsVideoState::btnLetterboxClick(Action *)
517{
518 Options::keepAspectRatio = _btnLetterbox->getPressed();
519}
520
521/**
522 * Changes the Lock Mouse option.

Callers

nothing calls this directly

Calls 1

getPressedMethod · 0.80

Tested by

no test coverage detected