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

Method WindowIncrease

Source/Window.cpp:333–350  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

331}
332
333void cWindow::WindowIncrease() {
334
335 if (!mWindowMode)
336 return;
337
338 // Once we reach the max window size, go to full screen
339 if (!CanChangeToMultiplier( mScaler + 1 )) {
340
341 ToggleFullscreen();
342 mWindowMode = false;
343 return;
344 }
345
346 if (!mWindowMode)
347 return;
348
349 SetWindowSize( mScaler + 1 );
350}
351
352void cWindow::WindowDecrease() {
353

Callers 1

keyProcessMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected