MCPcopy Create free account
hub / github.com/NetHack/NetHack / SaveWindowSize

Function SaveWindowSize

outdated/sys/mac/maccurs.c:202–212  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

200}
201
202void
203SaveWindowSize(WindowPtr win)
204{
205 short width, height;
206 Rect r;
207
208 GetWindowBounds(win, kWindowContentRgn, &r);
209 width = r.right - r.left;
210 height = r.bottom - r.top;
211 SaveSize(GetWinKind(win), height, width);
212}

Callers 1

HandleClickFunction · 0.85

Calls 2

SaveSizeFunction · 0.85
GetWinKindFunction · 0.85

Tested by

no test coverage detected