| 350 | } |
| 351 | |
| 352 | void cWindow::WindowDecrease() { |
| 353 | |
| 354 | // If we're in full screen mode remove it |
| 355 | if (!mWindowMode) { |
| 356 | |
| 357 | mWindowMode = true; |
| 358 | SetWindowSize(mScaler); |
| 359 | //ToggleFullscreen(); |
| 360 | return; |
| 361 | } |
| 362 | |
| 363 | if (!CanChangeToMultiplier(mScaler - 1)) |
| 364 | return; |
| 365 | |
| 366 | SetWindowSize( mScaler - 1 ); |
| 367 | } |
| 368 | |
| 369 | void cWindow::RenderAt( cSurface* pImage ) { |
| 370 | SDL_Rect Src, Dest; |