Lines Matching refs:dx
188 static void ScrollBy(Widget w, long dx, long dy);
531 static void ComputeOffsets(DPSScrolledWindowWidget dsw, int *dx, int *dy)
534 *dx = *dy = 0;
536 if (dsw->sw.pixmap_width == dsw->sw.drawing_area->core.width) *dx = 0;
537 else *dx = -dsw->sw.origin_x;
1167 int dx, dy;
1169 ComputeOffsets(dsw, &dx, &dy);
1194 xr[0] + dx, xr[1] + dy, xr[2], xr[3], xr[0], xr[1]);
1236 int dx, dy;
1238 ComputeOffsets(dsw, &dx, &dy);
1246 llx, ury, urx-llx, lly-ury, llx + dx, ury + dy);
1261 ev->x -= dx;
1313 int dx, dy;
1317 ComputeOffsets(dsw, &dx, &dy);
1324 LEFT(r) + dx, BOTTOM(r) + dy, WIDTH(r), HEIGHT(r),
1335 int dx, dy;
1340 ComputeOffsets(dsw, &dx, &dy);
1350 llx+dx-1, ury+dy-1, urx-llx+2, lly-ury+2, llx-1, ury-1);
2345 int dx, dy;
2355 ComputeOffsets(dsw, &dx, &dy);
2359 dsw->sw.no_ge_gc, ev->x + dx, ev->y + dy,
2395 ComputeOffsets(dsw, &dx, &dy);
2400 ev->x + dx, ev->y + dy, ev->width, ev->height, ev->x, ev->y);
2480 int dx, dy;
2509 ComputeOffsets(dsw, &dx, &dy);
2513 dsw->sw.no_ge_gc, dx, dy,
2836 int dx, dy;
2840 ComputeOffsets(dsw, &dx, &dy);
2849 llx+dx-1, ury+dy-1, urx-llx+2, lly-ury+2, llx-1, ury-1);
2936 static void ScrollBy(Widget w, long dx, long dy)
2941 if (dx == 0 && dy == 0) return;
2944 dsw->sw.scroll_win_x += dx;
2947 value = dsw->sw.scroll_h_value + dx;
2975 void DSWScrollBy(Widget w, long dx, long dy)
2980 sw_class.scroll_by) (w, dx, dy);
3340 int dx, dy;
3347 ComputeOffsets(dsw, &dx, &dy);
3355 llx-1, ury-1, urx-llx+2, lly-ury+2, llx+dx-1, ury+dy-1);