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

Function torque_resizewindow

Engine/source/cinterface/cinterface.cpp:400–404  ·  view source on GitHub ↗

resize the Torque 3D child window to the specified width and height

Source from the content-addressed store, hash-verified

398
399 // resize the Torque 3D child window to the specified width and height
400 void torque_resizewindow(S32 width, S32 height)
401 {
402 if (PlatformWindowManager::get() && PlatformWindowManager::get()->getFirstWindow())
403 PlatformWindowManager::get()->getFirstWindow()->setSize(Point2I(width,height));
404 }
405
406#if defined(TORQUE_OS_WIN) && !defined(TORQUE_SDL)
407 // retrieve the hwnd of our render window

Callers 4

OnSizeMethod · 0.85
NPWebGamePluginWinProcFunction · 0.85
OnSizeMethod · 0.85
NPWebGamePluginWinProcFunction · 0.85

Calls 4

getFunction · 0.50
Point2IClass · 0.50
getFirstWindowMethod · 0.45
setSizeMethod · 0.45

Tested by

no test coverage detected