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

Function GeneralCursor

outdated/sys/mac/macwin.c:3168–3179  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3166#if 1 //!TARGET_API_MAC_CARBON
3167
3168static void
3169GeneralCursor(EventRecord *theEvent, WindowPtr theWindow, RgnHandle mouseRgn)
3170{
3171#if defined(__SC__) || defined(__MRC__)
3172#pragma unused(theWindow)
3173#endif
3174 Rect r = { -1, -1, 2, 2 };
3175
3176 SetCursor(&qdarrow);
3177 OffsetRect(&r, theEvent->where.h, theEvent->where.v);
3178 RectRgn(mouseRgn, &r);
3179}
3180
3181static void
3182DoOsEvt(EventRecord *theEvent)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected