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

Function get_rect_size

win/win32/mhdlg.c:507–512  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

505}
506
507void
508get_rect_size(RECT * rect, SIZE * size)
509{
510 size->cx = rect->right - rect->left + 1;
511 size->cy = rect->bottom - rect->top + 1;
512}
513
514/* center given dialog in the main window */
515void

Callers 2

center_dialogFunction · 0.85
size_dialogFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected