Lines Matching defs:oldmode
60 vidupdate(chtype newmode, chtype oldmode, int (*outc)(char))
63 chtype oldvideo = (oldmode & A_ATTRIBUTES) & ~A_COLOR;
74 short oldcolor = (short) PAIR_NUMBER(oldmode & A_COLOR);
121 /* were contained in the oldmode, and then deal with video. */
136 _change_video(chtype newmode, chtype oldmode, int (*outc)(char))
145 * The trick is that we want to pre-process the new and oldmode
153 * modes and be left with and oldmode of STANDOUT and a new mode
154 * of STANDOUT, in which case the check for newmode and oldmode
166 * oldmode and the newmode and only leave the bits that are
170 * STANDOUT and UNDERLINE to STANDOUT and REVERSE the oldmode will
180 int k = (cur_term->sgr_mode == oldmode) ? 1 : 2;
183 modes[1] = oldmode;
209 oldmode = modes[1];
212 if (newmode == oldmode)
217 fprintf(outf, "vidupdate oldmode=%o, newmode=%o\n",
218 oldmode, newmode);
245 ((turn_on = ((oldmode ^ newmode) & newmode)) !=
250 if ((turn_off = (oldmode & newmode) ^ oldmode) != A_NORMAL) {
264 oldmode = A_NORMAL;
271 oldmode &= ~bit_attributes[i];
278 if ((turn_on = ((oldmode ^ newmode) & newmode)) != A_NORMAL) {