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

Function select_onscreen_window

outdated/sys/mac/mactty.c:454–463  ·  view source on GitHub ↗

* Use the window - unlock pixels */

Source from the content-addressed store, hash-verified

452 * Use the window - unlock pixels
453 */
454static void
455select_onscreen_window(tty_record *record)
456{
457 if (record->uses_gworld) {
458 use_port(record, record->its_window_world);
459 SetPortWindowPort(record->its_window);
460 } else {
461 use_port(record, record->its_window);
462 }
463}
464
465/*
466 * Do bits copy depending on if we're using color or not

Callers 12

allocate_offscreen_worldFunction · 0.85
tty_environment_changedFunction · 0.85
curs_posFunction · 0.85
update_ttyFunction · 0.85
do_add_stringFunction · 0.85
set_tty_attribFunction · 0.85
scroll_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