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

Function draw_growicon_vert_only

outdated/sys/mac/macwin.c:1644–1662  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1642}
1643
1644static void
1645draw_growicon_vert_only(WindowPtr wind)
1646{
1647 GrafPtr org_port;
1648 RgnHandle org_clip = NewRgn();
1649 Rect r;
1650
1651 GetPort(&org_port);
1652 SetPortWindowPort(wind);
1653 GetClip(org_clip);
1654 GetWindowBounds(wind, kWindowContentRgn, &r);
1655 OffsetRect(&r, -r.left, -r.top);
1656 r.left = r.right - SBARWIDTH;
1657 ClipRect(&r);
1658 DrawGrowIcon(wind);
1659 SetClip(org_clip);
1660 DisposeRgn(org_clip);
1661 SetPort(org_port);
1662}
1663
1664/* NOT_IN_CARBON */
1665static void

Callers 1

TextUpdateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected