Searched refs:newtop (Results 1 – 1 of 1) sorted by relevance
| /vim-8.2.3635/src/ |
| H A D | gui_at_sb.c | 347 Position oldtop, oldbot, newtop, newbot; in PaintThumb() local 352 newtop = margin + (int)(tzl * sbw->scrollbar.top); in PaintThumb() 354 if (newbot < newtop + (int)sbw->scrollbar.min_thumb) in PaintThumb() 355 newbot = newtop + sbw->scrollbar.min_thumb; in PaintThumb() 359 sbw->scrollbar.topLoc = newtop; in PaintThumb() 360 sbw->scrollbar.shownLength = newbot - newtop; in PaintThumb() 363 if (newtop < oldtop) in PaintThumb() 364 FillArea(sbw, newtop, AT_MIN(newbot, oldtop+1),1,0); in PaintThumb() 365 if (newtop > oldtop) in PaintThumb() 366 FillArea(sbw, oldtop, AT_MIN(newtop, oldbot ),0,0); in PaintThumb() [all …]
|