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

Function macClickTerm

outdated/sys/mac/macwin.c:2286–2294  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2284#else
2285
2286static void
2287macClickTerm(EventRecord *theEvent, WindowPtr theWindow)
2288{
2289 Point where = theEvent->where;
2290
2291 GlobalToLocal(&where);
2292 BaseClick(GetNhWin(theWindow), where, theEvent->modifiers);
2293 return;
2294}
2295
2296static void
2297macCursorTerm(EventRecord *theEvent, WindowPtr theWindow, RgnHandle mouseRgn)

Callers

nothing calls this directly

Calls 2

BaseClickFunction · 0.85
GetNhWinFunction · 0.85

Tested by

no test coverage detected