void console_heartbeat() { static int onoff = 0; if (onoff) { graphics_char(xpos * 8, ypos * 8, '_', fgcolor, bgcolor); } else { graphics_char(xpos * 8, ypos * 8, '_', bgcolor, bgcolor); } onoff = !onoff; }
static void console_writechar( int x, int y, char ch ) { graphics_char(x*8,y*8,ch,fgcolor,bgcolor); }
void window_draw_char(struct window *w, int x, int y, char ch, struct graphics_color fgcolor, struct graphics_color bgcolor) { x += w->x_offset; y += w->y_offset; graphics_char(x, y, ch, fgcolor, bgcolor); }