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

Function in_topl_mode

outdated/sys/mac/macwin.c:969–979  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

967}
968
969static Boolean
970in_topl_mode(void)
971{
972 Rect rect;
973
974 GetWindowBounds(theWindows[WIN_MESSAGE].its_window, kWindowContentRgn,
975 &rect);
976 OffsetRect(&rect, -rect.left, -rect.top);
977 return (WIN_MESSAGE != WIN_ERR && top_line
978 && (*top_line)->viewRect.left < rect.right);
979}
980
981#define BTN_IND 2
982#define BTN_W 40

Callers 4

enter_topl_modeFunction · 0.85
leave_topl_modeFunction · 0.85
mac_nhgetchFunction · 0.85
MsgUpdateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected