Lines Matching refs:attributes

58 	struct tty3270_attribute attributes;
97 struct tty3270_attribute attributes;
326 if (cell->attributes.highlight != highlight) {
328 highlight = cell->attributes.highlight;
330 if (cell->attributes.f_color != f_color) {
332 f_color = cell->attributes.f_color;
334 if (cell->attributes.b_color != b_color) {
336 b_color = cell->attributes.b_color;
338 if (cell->attributes.alternate_charset)
424 if (cell->attributes.highlight != attr->highlight) {
425 attr->highlight = cell->attributes.highlight;
428 if (cell->attributes.f_color != attr->f_color) {
429 attr->f_color = cell->attributes.f_color;
432 if (cell->attributes.b_color != attr->b_color) {
433 attr->b_color = cell->attributes.b_color;
437 if (cell->attributes.alternate_charset)
1268 cell->attributes = tp->attributes;
1275 cell->attributes = tp->attributes;
1318 tty3270_reset_attributes(&cell->attributes);
1342 line->cells[tp->cx + n].attributes = tp->attributes;
1417 cell->attributes.b_color = tp->attributes.b_color;
1461 * Set attributes found in an escape sequence.
1472 tty3270_reset_attributes(&tp->attributes);
1476 tp->attributes.highlight = TTY3270_HIGHLIGHT_UNDERSCORE;
1479 tp->attributes.highlight = TTY3270_HIGHLIGHT_BLINK;
1482 tp->attributes.highlight = TTY3270_HIGHLIGHT_REVERSE;
1485 tp->attributes.highlight &= ~TTY3270_HIGHLIGHT_UNDERSCORE;
1488 tp->attributes.highlight &= ~TTY3270_HIGHLIGHT_BLINK;
1491 tp->attributes.highlight &= ~TTY3270_HIGHLIGHT_REVERSE;
1503 tp->attributes.f_color = attr - 30;
1515 tp->attributes.b_color = attr - 40;
1538 cell->attributes = tp->attributes;
1548 * Esc [ Pn ; Pn ; .. m Set attributes
1599 tp->saved_attributes = tp->attributes;
1603 tp->attributes = tp->saved_attributes;
1610 tty3270_reset_attributes(&tp->attributes);
1623 tp->attributes.alternate_charset = 0;
1626 tp->attributes.alternate_charset = 1;
1716 tp->saved_attributes = tp->attributes;
1720 tp->attributes = tp->saved_attributes;
1777 tp->attributes.alternate_charset = 1;
1780 tp->attributes.alternate_charset = 0;
1919 tty3270_reset_attributes(&tp->attributes);