| 2294 | } |
| 2295 | |
| 2296 | static void |
| 2297 | macCursorTerm(EventRecord *theEvent, WindowPtr theWindow, RgnHandle mouseRgn) |
| 2298 | { |
| 2299 | GrafPtr gp; |
| 2300 | Point where = theEvent->where; |
| 2301 | Rect r = { 0, 0, 1, 1 }; |
| 2302 | |
| 2303 | GetPort(&gp); |
| 2304 | SetPortWindowPort(theWindow); |
| 2305 | GlobalToLocal(&where); |
| 2306 | BaseCursor(GetNhWin(theWindow), where); |
| 2307 | OffsetRect(&r, theEvent->where.h, theEvent->where.v); |
| 2308 | RectRgn(mouseRgn, &r); |
| 2309 | SetPort(gp); |
| 2310 | return; |
| 2311 | } |
| 2312 | |
| 2313 | #endif /* !TARGET_API_MAC_CARBON */ |
| 2314 |
nothing calls this directly
no test coverage detected