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

Function select_offscreen_port

outdated/sys/mac/mactty.c:441–449  ·  view source on GitHub ↗

* Use offscreen drawing - lock the pixels through use_port */

Source from the content-addressed store, hash-verified

439 * Use offscreen drawing - lock the pixels through use_port
440 */
441static void
442select_offscreen_port(tty_record *record)
443{
444 if (record->uses_gworld) {
445 use_port(record, record->offscreen_world);
446 } else {
447 use_port(record, record->offscreen_port);
448 }
449}
450
451/*
452 * Use the window - unlock pixels

Callers 12

allocate_offscreen_worldFunction · 0.85
tty_environment_changedFunction · 0.85
do_add_stringFunction · 0.85
set_tty_attribFunction · 0.85
scroll_ttyFunction · 0.85
clear_ttyFunction · 0.85
clear_tty_windowFunction · 0.85
mangle_tty_rows_columnsFunction · 0.85
frame_tty_windowFunction · 0.85
invert_tty_windowFunction · 0.85
draw_tty_lineFunction · 0.85

Calls 1

use_portFunction · 0.85

Tested by

no test coverage detected