Lines Matching refs:old_attr
1140 attributes_t old_attr, attributes_t new_attr)
1146 if ((new_attr.color == COLOR_DEFAULT && old_attr.color != COLOR_DEFAULT)
1147 || (new_attr.bgcolor == COLOR_DEFAULT && old_attr.bgcolor != COLOR_DEFAULT))
1151 old_attr.color = COLOR_DEFAULT;
1152 old_attr.bgcolor = COLOR_DEFAULT;
1177 if (old_attr.posture != POSTURE_NORMAL
1182 old_attr.posture = POSTURE_NORMAL;
1185 if (old_attr.underline != UNDERLINE_OFF
1190 old_attr.underline = UNDERLINE_OFF;
1193 if ((old_attr.weight != WEIGHT_NORMAL
1195 || (old_attr.posture != POSTURE_NORMAL
1198 || (old_attr.underline != UNDERLINE_OFF
1205 old_attr.weight = WEIGHT_NORMAL;
1207 old_attr.posture = POSTURE_NORMAL;
1209 old_attr.underline = UNDERLINE_OFF;
1214 if (new_attr.color != old_attr.color
1302 if (new_attr.bgcolor != old_attr.bgcolor
1394 if (new_attr.weight != old_attr.weight
1403 if (new_attr.posture != old_attr.posture
1412 if (new_attr.underline != old_attr.underline