Lines Matching refs:top

113        Offset(scrollbar.top), XtRFloat, (XtPointer)&floatZero},
238 Position top, in FillArea() argument
243 int tlen = bottom - top; // length of thumb in pixels in FillArea()
247 if (bottom <= 0 || bottom <= top) in FillArea()
257 lx = ((top < margin) ? margin : top); in FillArea()
259 lw = (((top + tlen) > floor) ? floor - top : tlen); in FillArea()
265 ly = ((top < margin) ? margin : top); in FillArea()
267 lh = (((top + tlen) > floor) ? floor - top : tlen); in FillArea()
352 newtop = margin + (int)(tzl * sbw->scrollbar.top); in PaintThumb()
574 if (dsbw->scrollbar.top < 0.0 || dsbw->scrollbar.top > 1.0) in SetValues()
575 dsbw->scrollbar.top = sbw->scrollbar.top; in SetValues()
593 if (sbw->scrollbar.top != dsbw->scrollbar.top || in SetValues()
1016 float top; in MoveThumb() local
1029 top = FractionLoc(sbw, x, y); in MoveThumb()
1036 sbw->scrollbar.scroll_off = top - sbw->scrollbar.top; in MoveThumb()
1039 top -= sbw->scrollbar.scroll_off; in MoveThumb()
1041 top = FloatInRange(top, 0.0, in MoveThumb()
1044 top = FloatInRange(top, 0.0, sbw->scrollbar.max); in MoveThumb()
1046 sbw->scrollbar.top = top; in MoveThumb()
1073 xtpf.xtf = sbw->scrollbar.top; in NotifyThumb()
1075 XtCallCallbacks(w, XtNjumpProc, (XtPointer)&sbw->scrollbar.top); in NotifyThumb()
1127 GC top, bot; in _Xaw3dDrawShadows() local
1131 top = sbw->scrollbar.top_shadow_GC; in _Xaw3dDrawShadows()
1136 top = sbw->scrollbar.bot_shadow_GC; in _Xaw3dDrawShadows()
1151 XFillPolygon (dpy, win, top, pt, 6, Complex, CoordModeOrigin); in _Xaw3dDrawShadows()
1175 vim_XawScrollbarSetThumb(Widget w, double top, double shown, double max) in vim_XawScrollbarSetThumb() argument
1185 sbw->scrollbar.top = (top > sbw->scrollbar.max) ? sbw->scrollbar.max : in vim_XawScrollbarSetThumb()
1186 (top >= 0.0) ? top : sbw->scrollbar.top; in vim_XawScrollbarSetThumb()