Lines Matching refs:newbot
347 Position oldtop, oldbot, newtop, newbot; in PaintThumb() local
353 newbot = newtop + (int)(tzl * sbw->scrollbar.shown) + 1; in PaintThumb()
354 if (newbot < newtop + (int)sbw->scrollbar.min_thumb) in PaintThumb()
355 newbot = newtop + sbw->scrollbar.min_thumb; in PaintThumb()
360 sbw->scrollbar.shownLength = newbot - newtop; in PaintThumb()
364 FillArea(sbw, newtop, AT_MIN(newbot, oldtop+1),1,0); in PaintThumb()
367 if (newbot < oldbot) in PaintThumb()
368 FillArea(sbw, AT_MAX(newbot, oldtop), oldbot, 0,0); in PaintThumb()
369 if (newbot > oldbot) in PaintThumb()
370 FillArea(sbw, AT_MAX(newtop, oldbot-1), newbot, 1,0); in PaintThumb()
373 FillArea(sbw, newtop, newbot, 0, 1); in PaintThumb()