Searched refs:newPos (Results 1 - 2 of 2) sorted by relevance

/solaris-x11-s11/open-src/lib/libXaw4/sun-src/
H A DXaw3_1Label.c330 Position newPos; local
334 newPos = lw->label.internal_width;
338 newPos = width -
343 newPos = (width - lw->label.label_width) / 2;
346 if (newPos < (Position)lw->label.internal_width)
347 newPos = lw->label.internal_width;
348 *dx = newPos - lw->label.label_x;
349 lw->label.label_x = newPos;
350 *dy = (newPos = (height - lw->label.label_height) / 2) - lw->label.label_y;
351 lw->label.label_y = newPos;
[all...]
/solaris-x11-s11/open-src/lib/libXaw5/sun-src/
H A DLabel.c598 Position newPos; local
604 newPos = leftedge;
608 newPos = width -
614 newPos = (int)(width - lw->label.label_width) / 2;
617 if (newPos < (Position)leftedge)
618 newPos = leftedge;
619 *dx = newPos - lw->label.label_x;
620 lw->label.label_x = newPos;
621 *dy = (newPos = (int)(height - lw->label.label_height) / 2)
623 lw->label.label_y = newPos;
[all...]

Completed in 12 milliseconds