Lines Matching refs:attr
57 uint8 attr; member
111 console->attr = 0x0f; in reset_console()
136 console->attr); in scrup()
158 console->attr); in scrdown()
210 console->module->put_glyph(console->x, console->y, ' ', console->attr); in del()
220 console->attr); in erase_line()
224 console->attr); in erase_line()
228 console->columns - console->x, 1, ' ', console->attr); in erase_line()
241 console->module->clear(console->attr); in erase_screen()
245 ' ', console->attr); in erase_screen()
249 console->lines - console->y, ' ', console->attr); in erase_screen()
264 console->saved_attr = console->attr; in save_cur()
275 console->attr = console->saved_attr; in restore_cur()
286 console->module->put_glyph(console->x - 1, console->y, c, console->attr); in console_putch()
330 console->attr = 0x0f; in set_vt100_attributes()
336 console->attr |= 0x08; // set the bright bit in set_vt100_attributes()
340 console->attr &= ~0x08; // unset the bright bit in set_vt100_attributes()
345 console->attr |= 0x80; // set the blink bit in set_vt100_attributes()
349 console->attr = ((console->attr & BMASK) >> 4) in set_vt100_attributes()
350 | ((console->attr & FMASK) << 4); in set_vt100_attributes()
352 console->attr |= 0x08; in set_vt100_attributes()
358 …case 30: console->attr = (console->attr & ~FMASK) | 0 | (console->bright_attr ? 0x08 : 0); break; … in set_vt100_attributes()
359 …case 31: console->attr = (console->attr & ~FMASK) | 4 | (console->bright_attr ? 0x08 : 0); break; … in set_vt100_attributes()
360 …case 32: console->attr = (console->attr & ~FMASK) | 2 | (console->bright_attr ? 0x08 : 0); break; … in set_vt100_attributes()
361 …case 33: console->attr = (console->attr & ~FMASK) | 6 | (console->bright_attr ? 0x08 : 0); break; … in set_vt100_attributes()
362 …case 34: console->attr = (console->attr & ~FMASK) | 1 | (console->bright_attr ? 0x08 : 0); break; … in set_vt100_attributes()
363 …case 35: console->attr = (console->attr & ~FMASK) | 5 | (console->bright_attr ? 0x08 : 0); break; … in set_vt100_attributes()
364 …case 36: console->attr = (console->attr & ~FMASK) | 3 | (console->bright_attr ? 0x08 : 0); break; … in set_vt100_attributes()
365 …case 37: console->attr = (console->attr & ~FMASK) | 7 | (console->bright_attr ? 0x08 : 0); break; … in set_vt100_attributes()
368 case 40: console->attr = (console->attr & ~BMASK) | (0 << 4); break; // black in set_vt100_attributes()
369 case 41: console->attr = (console->attr & ~BMASK) | (4 << 4); break; // red in set_vt100_attributes()
370 case 42: console->attr = (console->attr & ~BMASK) | (2 << 4); break; // green in set_vt100_attributes()
371 case 43: console->attr = (console->attr & ~BMASK) | (6 << 4); break; // yellow in set_vt100_attributes()
372 case 44: console->attr = (console->attr & ~BMASK) | (1 << 4); break; // blue in set_vt100_attributes()
373 case 45: console->attr = (console->attr & ~BMASK) | (5 << 4); break; // magenta in set_vt100_attributes()
374 case 46: console->attr = (console->attr & ~BMASK) | (3 << 4); break; // cyan in set_vt100_attributes()
375 case 47: console->attr = (console->attr & ~BMASK) | (7 << 4); break; // white in set_vt100_attributes()