MCPcopy Create free account
hub / github.com/bwapi/bwapi / GetBorderSize

Function GetBorderSize

bwapi/BWAPI/Source/WMode.cpp:88–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86}
87
88void GetBorderSize(HWND hWnd, LPSIZE lpSize)
89{
90 RECT diff;
91 GetBorderRect(hWnd, &diff);
92 if ( lpSize )
93 {
94 lpSize->cx = diff.left + diff.right;
95 lpSize->cy = diff.top + diff.bottom;
96 }
97}
98
99LPARAM FixPoints(LPARAM lParam)
100{

Callers 2

WindowProcFunction · 0.85
SetWModeFunction · 0.85

Calls 1

GetBorderRectFunction · 0.85

Tested by

no test coverage detected