Lines Matching refs:amount
709 AlternateScroll(Widget w, long amount)
719 amount /= FontHeight(screen);
724 if (amount > 0) {
727 amount = -amount;
730 while (amount-- > 0) {
734 ScrollTextUpDownBy(w, (XtPointer) 0, (XtPointer) amount);
752 long amount;
756 amount = to_top * FontHeight(screen);
758 amount = -to_top * FontHeight(screen);
760 amount = (value + to_top) * FontHeight(screen);
762 amount = 0;
764 AlternateScroll(w, amount);
776 long amount;
778 if ((amount = AmountToScroll(xw, params, *nparams)) != 0) {
779 AlternateScroll(xw, amount);
791 long amount;
793 if ((amount = -AmountToScroll(xw, params, *nparams)) != 0) {
794 AlternateScroll(xw, amount);