Lines Matching defs:pad
274 Position pad = pw->panner.internal_border * 2;
275 Position maxx = (((Position) pw->core.width) - pad -
277 Position maxy = (((Position) pw->core.height) - pad -
307 int pad = pw->panner.internal_border;
311 r->x = (short) (pw->panner.knob_x + pad + pw->panner.knob_width);
312 r->y = (short) (pw->panner.knob_y + pad + lw);
316 r->x = (short) (pw->panner.knob_x + pad + lw);
317 r->y = (short) (pw->panner.knob_y + pad + pw->panner.knob_height);
381 Dimension pad = pw->panner.internal_border * 2;
382 *wp = PANNER_DSCALE (pw, pw->panner.canvas_width) + pad;
383 *hp = PANNER_DSCALE (pw, pw->panner.canvas_height) + pad;
391 int pad = pw->panner.internal_border;
396 *x = event->xbutton.x - pad;
397 *y = event->xbutton.y - pad;
402 *x = event->xkey.x - pad;
403 *y = event->xkey.y - pad;
408 *x = event->xcrossing.x - pad;
409 *y = event->xcrossing.y - pad;
413 *x = event->xmotion.x - pad;
414 *y = event->xmotion.y - pad;
585 int pad = pw->panner.internal_border;
588 int kx = pw->panner.knob_x + pad, ky = pw->panner.knob_y + pad;
592 (int) pw->panner.last_x - ((int) lw) + pad,
593 (int) pw->panner.last_y - ((int) lw) + pad,
843 int pad = pw->panner.internal_border * 2;
851 ((int) pw->core.width) - pad, &relx);
853 ((int) pw->core.height) - pad, &rely);