Searched defs:newbot (Results 1 - 2 of 2) sorted by relevance

/solaris-x11-s11/open-src/lib/libXaw4/sun-src/
H A DXaw3_1Scrollbar.c256 Position oldtop, oldbot, newtop, newbot; local
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,
[all...]
/solaris-x11-s11/open-src/lib/libXaw5/sun-src/
H A DScrollbar.c277 Position oldtop, oldbot, newtop, newbot; local
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,
[all...]

Completed in 11 milliseconds