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

Function vesa_cl_end

sys/msdos/vidvesa.c:571–581  ·  view source on GitHub ↗

clear to end of line */

Source from the content-addressed store, hash-verified

569
570/* clear to end of line */
571void
572vesa_cl_end(int col, int row)
573{
574 unsigned left = vesa_x_center + col * vesa_char_width;
575 unsigned top = vesa_y_center + row * vesa_char_height;
576 unsigned width = (CO - 1 - col) * vesa_char_width;
577 unsigned height = vesa_char_height;
578
579 vesa_flush_text();
580 vesa_FillRect(left, top, width, height, BACKGROUND_VESA_COLOR);
581}
582
583/* clear to end of screen */
584void

Callers 1

cl_endFunction · 0.85

Calls 2

vesa_flush_textFunction · 0.85
vesa_FillRectFunction · 0.85

Tested by

no test coverage detected