Lines Matching refs:old_attr
1117 attributes_t old_attr, attributes_t new_attr)
1123 if ((new_attr.color == COLOR_DEFAULT && old_attr.color != COLOR_DEFAULT)
1124 || (new_attr.bgcolor == COLOR_DEFAULT && old_attr.bgcolor != COLOR_DEFAULT))
1128 old_attr.color = COLOR_DEFAULT;
1129 old_attr.bgcolor = COLOR_DEFAULT;
1154 if (old_attr.posture != POSTURE_NORMAL
1159 old_attr.posture = POSTURE_NORMAL;
1162 if (old_attr.underline != UNDERLINE_OFF
1167 old_attr.underline = UNDERLINE_OFF;
1170 if ((old_attr.weight != WEIGHT_NORMAL
1172 || (old_attr.posture != POSTURE_NORMAL
1175 || (old_attr.underline != UNDERLINE_OFF
1182 old_attr.weight = WEIGHT_NORMAL;
1184 old_attr.posture = POSTURE_NORMAL;
1186 old_attr.underline = UNDERLINE_OFF;
1191 if (new_attr.color != old_attr.color
1279 if (new_attr.bgcolor != old_attr.bgcolor
1371 if (new_attr.weight != old_attr.weight
1380 if (new_attr.posture != old_attr.posture
1389 if (new_attr.underline != old_attr.underline