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

Function topl_set_def

outdated/sys/mac/macwin.c:1136–1146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1134}
1135
1136static void
1137topl_set_def(int new_def_idx)
1138{
1139 Rect frame;
1140 SetPortWindowPort(theWindows[WIN_MESSAGE].its_window);
1141 topl_resp_rect(topl_def_idx, &frame);
1142 InvalWindowRect(theWindows[WIN_MESSAGE].its_window, &frame);
1143 topl_def_idx = new_def_idx;
1144 topl_resp_rect(new_def_idx, &frame);
1145 InvalWindowRect(theWindows[WIN_MESSAGE].its_window, &frame);
1146}
1147
1148void
1149topl_set_resp(char *resp, char def)

Callers 1

topl_resp_keyFunction · 0.85

Calls 1

topl_resp_rectFunction · 0.85

Tested by

no test coverage detected