| 89 | } |
| 90 | |
| 91 | void DisplaySettingsDialog::setFullscreen(int selectionIndex) |
| 92 | { |
| 93 | if (0 == selectionIndex) { |
| 94 | WindowController::get().setDesktopMode(); |
| 95 | } else { |
| 96 | WindowController::get().setUserDefinedResolution(_videoModes[selectionIndex - 1]); |
| 97 | } |
| 98 | } |
| 99 | |
| 100 | namespace |
| 101 | { |
nothing calls this directly
no test coverage detected