Lines Matching defs:top
81 Offset(scrollbar.top), XtRFloat, (caddr_t)&floatZero},
202 /* Fill the area specified by top and bottom with the given pattern. */
215 static void FillArea(w, top, bottom, thumb)
217 Position top, bottom;
220 Dimension length = bottom-top;
229 w->scrollbar.gc, top, 1, length,
233 1, top, w->core.width-2, length);
239 XClearArea(XtDisplay(w), XtWindow(w), top, 1,
243 top, w->core.width-2, length, FALSE);
249 /* Paint the thumb in the area specified by w->top and
260 newtop = w->scrollbar.length * w->scrollbar.top;
411 if (dw->scrollbar.top < 0.0 || dw->scrollbar.top > 1.0)
412 dw->scrollbar.top = w->scrollbar.top;
430 if (w->scrollbar.top != dw->scrollbar.top ||
685 w->scrollbar.top = FractionLoc(w, x, y);
704 XtCallCallbacks( gw, XtNthumbProc, &w->scrollbar.top);
705 XtCallCallbacks( gw, XtNjumpProc, &w->scrollbar.top);
719 XawScrollbarSetThumb( gw, top, shown )
721 float top, shown;
727 w->scrollbar.top = (top > 1.0) ? 1.0 :
728 (top >= 0.0) ? top :
729 w->scrollbar.top;