Lines Matching refs:newbot
419 Position oldtop, oldbot, newtop, newbot;
424 newbot = (Position)(newtop + (int)(w->scrollbar.length * w->scrollbar.shown));
425 if (newbot < newtop + (int)w->scrollbar.min_thumb)
426 newbot = (Position)(newtop + w->scrollbar.min_thumb);
428 w->scrollbar.shownLength = (Dimension)(newbot - newtop);
432 FillArea(w, newtop, XawMin(newbot, oldtop), 1);
435 if (newbot < oldbot)
436 FillArea(w, XawMax(newbot, oldtop), oldbot, 0);
437 if (newbot > oldbot)
438 FillArea(w, XawMax(newtop, oldbot), newbot, 1);