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

Method getClientExtent

Engine/source/windowManager/sdl/sdlWindow.cpp:260–267  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

258}
259
260const Point2I PlatformWindowSDL::getClientExtent()
261{
262 // Fetch Client Rect from Windows
263 Point2I size;
264 SDL_GetWindowSize(mWindowHandle, &size.x, &size.y);
265
266 return size;
267}
268
269void PlatformWindowSDL::setBounds( const RectI &newBounds )
270{

Callers 9

handleMouseMoveMethod · 0.45
allocWindowTargetMethod · 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