| 386 | } |
| 387 | |
| 388 | void SdlUi::ToggleFullscreen() { |
| 389 | BeginDisplayModeChange(); |
| 390 | if (toggle_fs_available && mode_changing) { |
| 391 | if ((current_display_mode.flags & SDL_FULLSCREEN) == SDL_FULLSCREEN) { |
| 392 | current_display_mode.flags &= ~SDL_FULLSCREEN; |
| 393 | } else { |
| 394 | current_display_mode.flags |= SDL_FULLSCREEN; |
| 395 | } |
| 396 | } |
| 397 | EndDisplayModeChange(); |
| 398 | } |
| 399 | |
| 400 | void SdlUi::ToggleZoom() { |
| 401 | BeginDisplayModeChange(); |
no outgoing calls
no test coverage detected