Lines Matching refs:y

215 #define PICKLENGTH(widget, x, y) \  argument
216 ((widget->scrollbar.orientation == XtorientHorizontal) ? (x) : (y))
217 #define AT_MIN(x,y) ((x) < (y) ? (x) : (y)) argument
218 #define AT_MAX(x,y) ((x) > (y) ? (x) : (y)) argument
398 point[0].y = size; in PaintArrows()
400 point[1].y = size; in PaintArrows()
402 point[2].y = sbw->scrollbar.shadow_width; in PaintArrows()
405 point[3].y = sbw->scrollbar.length - size; in PaintArrows()
407 point[4].y = sbw->scrollbar.length - size; in PaintArrows()
409 point[5].y = sbw->scrollbar.length - sbw->scrollbar.shadow_width - 1; in PaintArrows()
419 point[n].x = point[n].y; in PaintArrows()
420 point[n].y = swap; in PaintArrows()
434 point[0].x, point[0].y, in PaintArrows()
435 point[2].x, point[2].y); in PaintArrows()
443 point[3].x, point[3].y, in PaintArrows()
444 point[4].x, point[4].y); in PaintArrows()
447 point[3].x, point[3].y, in PaintArrows()
448 point[5].x, point[5].y); in PaintArrows()
451 point[4].x, point[4].y, in PaintArrows()
452 point[5].x, point[5].y); in PaintArrows()
483 int x, y; in CreateGC() local
486 if (XGetGeometry (XtDisplay(w), sbw->scrollbar.thumb, &root, &x, &y, in CreateGC()
614 int x, y; in Redisplay() local
622 y = 1; in Redisplay()
629 y = sbw->scrollbar.topLoc; in Redisplay()
634 XRectInRegion (region, x, y, width, height) != RectangleOut) in Redisplay()
723 Position *y, // RETURN in ExtractPosition() argument
730 *y = event->xmotion.y; in ExtractPosition()
737 *y = event->xbutton.y; in ExtractPosition()
744 *y = event->xkey.y; in ExtractPosition()
751 *y = event->xcrossing.y; in ExtractPosition()
756 *x = 0; *y = 0; in ExtractPosition()
769 Position x, y, loc; in HandleThumb() local
772 ExtractPosition(event, &x, &y, (unsigned int *)NULL); in HandleThumb()
773 loc = PICKLENGTH(sbw, x, y); in HandleThumb()
897 Position x, y, loc; in NotifyScroll() local
909 ExtractPosition(event, &x, &y, &state); in NotifyScroll()
910 loc = PICKLENGTH(sbw, x, y); in NotifyScroll()
994 FractionLoc(ScrollbarWidget sbw, int x, int y) in FractionLoc() argument
1001 y -= margin; in FractionLoc()
1004 return PICKLENGTH(sbw, x / width, y / height); in FractionLoc()
1015 Position x, y; in MoveThumb() local
1027 ExtractPosition(event, &x, &y, (unsigned int *)NULL); in MoveThumb()
1029 top = FractionLoc(sbw, x, y); in MoveThumb()
1145 pt[0].x = 0; pt[0].y = h; in _Xaw3dDrawShadows()
1146 pt[1].x = pt[1].y = 0; in _Xaw3dDrawShadows()
1147 pt[2].x = w; pt[2].y = 0; in _Xaw3dDrawShadows()
1148 pt[3].x = wms; pt[3].y = s; in _Xaw3dDrawShadows()
1149 pt[4].x = pt[4].y = s; in _Xaw3dDrawShadows()
1150 pt[5].x = s; pt[5].y = hms; in _Xaw3dDrawShadows()
1159 pt[0].x = 0; pt[0].y = h; in _Xaw3dDrawShadows()
1160 pt[1].x = w; pt[1].y = h; in _Xaw3dDrawShadows()
1161 pt[2].x = w; pt[2].y = 0; in _Xaw3dDrawShadows()
1162 pt[3].x = wms; pt[3].y = s; in _Xaw3dDrawShadows()
1163 pt[4].x = wms; pt[4].y = hms; in _Xaw3dDrawShadows()
1164 pt[5].x = s; pt[5].y = hms; in _Xaw3dDrawShadows()