Lines Matching refs:attributes
58 struct tty3270_attribute attributes; member
97 struct tty3270_attribute attributes; member
326 if (cell->attributes.highlight != highlight) { in tty3270_required_length()
328 highlight = cell->attributes.highlight; in tty3270_required_length()
330 if (cell->attributes.f_color != f_color) { in tty3270_required_length()
332 f_color = cell->attributes.f_color; in tty3270_required_length()
334 if (cell->attributes.b_color != b_color) { in tty3270_required_length()
336 b_color = cell->attributes.b_color; in tty3270_required_length()
338 if (cell->attributes.alternate_charset) in tty3270_required_length()
424 if (cell->attributes.highlight != attr->highlight) { in tty3270_add_attributes()
425 attr->highlight = cell->attributes.highlight; in tty3270_add_attributes()
428 if (cell->attributes.f_color != attr->f_color) { in tty3270_add_attributes()
429 attr->f_color = cell->attributes.f_color; in tty3270_add_attributes()
432 if (cell->attributes.b_color != attr->b_color) { in tty3270_add_attributes()
433 attr->b_color = cell->attributes.b_color; in tty3270_add_attributes()
437 if (cell->attributes.alternate_charset) in tty3270_add_attributes()
1268 cell->attributes = tp->attributes; in tty3270_put_character()
1275 cell->attributes = tp->attributes; in tty3270_put_character()
1318 tty3270_reset_attributes(&cell->attributes); in tty3270_reset_cell()
1342 line->cells[tp->cx + n].attributes = tp->attributes; in tty3270_insert_characters()
1417 cell->attributes.b_color = tp->attributes.b_color; in tty3270_erase_line()
1472 tty3270_reset_attributes(&tp->attributes); in tty3270_set_attributes()
1476 tp->attributes.highlight = TTY3270_HIGHLIGHT_UNDERSCORE; in tty3270_set_attributes()
1479 tp->attributes.highlight = TTY3270_HIGHLIGHT_BLINK; in tty3270_set_attributes()
1482 tp->attributes.highlight = TTY3270_HIGHLIGHT_REVERSE; in tty3270_set_attributes()
1485 tp->attributes.highlight &= ~TTY3270_HIGHLIGHT_UNDERSCORE; in tty3270_set_attributes()
1488 tp->attributes.highlight &= ~TTY3270_HIGHLIGHT_BLINK; in tty3270_set_attributes()
1491 tp->attributes.highlight &= ~TTY3270_HIGHLIGHT_REVERSE; in tty3270_set_attributes()
1503 tp->attributes.f_color = attr - 30; in tty3270_set_attributes()
1515 tp->attributes.b_color = attr - 40; in tty3270_set_attributes()
1538 cell->attributes = tp->attributes; in tty3270_goto_xy()
1599 tp->saved_attributes = tp->attributes; in tty3270_escape_sequence()
1603 tp->attributes = tp->saved_attributes; in tty3270_escape_sequence()
1610 tty3270_reset_attributes(&tp->attributes); in tty3270_escape_sequence()
1623 tp->attributes.alternate_charset = 0; in tty3270_escape_sequence()
1626 tp->attributes.alternate_charset = 1; in tty3270_escape_sequence()
1716 tp->saved_attributes = tp->attributes; in tty3270_escape_sequence()
1720 tp->attributes = tp->saved_attributes; in tty3270_escape_sequence()
1777 tp->attributes.alternate_charset = 1; in tty3270_do_write()
1780 tp->attributes.alternate_charset = 0; in tty3270_do_write()
1919 tty3270_reset_attributes(&tp->attributes); in tty3270_hangup()