MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / WindowDecrease

Method WindowDecrease

Source/Window.cpp:352–367  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

350}
351
352void 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
369void cWindow::RenderAt( cSurface* pImage ) {
370 SDL_Rect Src, Dest;

Callers 1

keyProcessMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected