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

Method getClientExtent

Engine/source/windowManager/sdl/sdlWindow.cpp:291–298  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

289}
290
291const Point2I PlatformWindowSDL::getClientExtent()
292{
293 // Fetch Client Rect from Windows
294 Point2I size;
295 SDL_GetWindowSize(mWindowHandle, &size.x, &size.y);
296
297 return size;
298}
299
300void PlatformWindowSDL::setBounds( const RectI &newBounds )
301{

Callers 8

handleMouseMoveMethod · 0.45
getSizeMethod · 0.45
allocWindowTargetMethod · 0.45
InitMethod · 0.45
ResizeMethod · 0.45
handleResizeMethod · 0.45
InitTextureMethod · 0.45
getWindowSizeMethod · 0.45

Calls 1

SDL_GetWindowSizeFunction · 0.85

Tested by

no test coverage detected