Lines Matching refs:newbot
277 Position oldtop, oldbot, newtop, newbot;
282 newbot = newtop + (int)(w->scrollbar.length * w->scrollbar.shown);
283 if (newbot < newtop + (int)w->scrollbar.min_thumb)
284 newbot = newtop + w->scrollbar.min_thumb;
286 w->scrollbar.shownLength = newbot - newtop;
289 if (newtop < oldtop) FillArea(w, newtop, MIN(newbot, oldtop), 1);
291 if (newbot < oldbot) FillArea(w, MAX(newbot, oldtop), oldbot, 0);
292 if (newbot > oldbot) FillArea(w, MAX(newtop, oldbot), newbot, 1);