MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / isMaximized

Method isMaximized

Engine/source/windowManager/sdl/sdlWindow.cpp:404–414  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

402}
403
404bool PlatformWindowSDL::isMaximized()
405{
406 if (mOffscreenRender)
407 return true;
408
409 U32 flags = SDL_GetWindowFlags( mWindowHandle );
410 if( flags & SDL_WINDOW_MAXIMIZED)
411 return true;
412
413 return false;
414}
415
416WindowId PlatformWindowSDL::getWindowId()
417{

Callers 1

DefineEngineMethodFunction · 0.45

Calls 1

SDL_GetWindowFlagsFunction · 0.85

Tested by

no test coverage detected