MCPcopy Create free account
hub / github.com/ZDoom/Raze / GetClientWidth

Method GetClientWidth

source/common/platform/win32/base_sysfb.cpp:405–410  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

403//==========================================================================
404
405int SystemBaseFrameBuffer::GetClientWidth()
406{
407 RECT rect = { 0 };
408 GetClientRect(mainwindow.GetHandle(), &rect);
409 return rect.right - rect.left;
410}
411
412int SystemBaseFrameBuffer::GetClientHeight()
413{

Callers 1

CCMDFunction · 0.45

Calls 1

GetHandleMethod · 0.45

Tested by

no test coverage detected