Lines Matching defs:newbot
256 Position oldtop, oldbot, newtop, newbot;
261 newbot = newtop + (int)(w->scrollbar.length * w->scrollbar.shown);
262 if (newbot < newtop + w->scrollbar.min_thumb)
263 newbot = newtop + w->scrollbar.min_thumb;
265 w->scrollbar.shownLength = newbot - newtop;
268 if (newtop < oldtop) FillArea(w, newtop, MIN(newbot, oldtop), 1);
270 if (newbot < oldbot) FillArea(w, MAX(newbot, oldtop), oldbot, 0);
271 if (newbot > oldbot) FillArea(w, MAX(newtop, oldbot), newbot, 1);