Lines Matching refs:scaleVal
1467 int minimum,maximum,scaleVal;
1506 scaleVal = ConvertUnitsToScaleValue(desc->ctrls->ax_timeout/60,
1509 if (scaleVal > maximum)
1511 XtSetArg(argList[0], XmNmaximum, scaleVal);
1514 else if (scaleVal < minimum)
1516 XtSetArg(argList[0], XmNminimum, scaleVal);
1519 XmScaleSetValue(widgets[TIME_OUT_SCL],scaleVal);
1585 scaleVal = ConvertUnitsToScaleValue(desc->ctrls->mk_max_speed,
1588 if (scaleVal > maximum)
1590 XtSetArg(argList[0], XmNmaximum, scaleVal);
1593 else if (scaleVal < minimum)
1595 XtSetArg(argList[0], XmNminimum, scaleVal);
1598 XmScaleSetValue(widgets[MOUSE_MAX_SPEED_SCL],scaleVal);
1604 scaleVal = ConvertUnitsToScaleValue(MILLISTOSECS(desc->ctrls->mk_time_to_max),
1607 if (scaleVal > maximum)
1609 XtSetArg(argList[0], XmNmaximum, scaleVal);
1612 else if (scaleVal < minimum)
1614 XtSetArg(argList[0], XmNminimum, scaleVal);
1617 XmScaleSetValue(widgets[MOUSE_TIME_TO_MAX_SCL],scaleVal);
1623 scaleVal = ConvertUnitsToScaleValue(MILLISTOSECS(desc->ctrls->mk_delay),
1626 if (scaleVal > maximum)
1628 XtSetArg(argList[0], XmNmaximum, scaleVal);
1631 else if (scaleVal < minimum)
1633 XtSetArg(argList[0], XmNminimum, scaleVal);
1636 XmScaleSetValue(widgets[MOUSE_DELAY_SCL],scaleVal);
1647 scaleVal = ConvertUnitsToScaleValue(((float)1.0 / (float)MILLISTOSECS(desc->ctrls->repeat_interval)),
1650 if (scaleVal > maximum)
1652 XtSetArg(argList[0], XmNmaximum, scaleVal);
1655 else if (scaleVal < minimum)
1657 XtSetArg(argList[0], XmNminimum, scaleVal);
1660 XmScaleSetValue(widgets[KRG_REPEAT_RATE_SCL],scaleVal);
1666 scaleVal = ConvertUnitsToScaleValue(MILLISTOSECS(desc->ctrls->repeat_delay),
1669 if (scaleVal > maximum)
1671 XtSetArg(argList[0], XmNmaximum, scaleVal);
1674 else if (scaleVal < minimum)
1676 XtSetArg(argList[0], XmNminimum, scaleVal);
1679 XmScaleSetValue(widgets[KRG_REPEAT_DELAY_SCL],scaleVal);
1700 scaleVal = ConvertUnitsToScaleValue(MILLISTOSECS(desc->ctrls->slow_keys_delay),
1703 if (scaleVal > maximum)
1705 XtSetArg(argList[0], XmNmaximum, scaleVal);
1708 else if (scaleVal < minimum)
1710 XtSetArg(argList[0], XmNminimum, scaleVal);
1713 XmScaleSetValue(widgets[KRG_SLOW_DELAY_SCL],scaleVal);
1724 scaleVal = ConvertUnitsToScaleValue(MILLISTOSECS(desc->ctrls->debounce_delay),
1727 if (scaleVal > maximum)
1729 XtSetArg(argList[0], XmNmaximum, scaleVal);
1732 else if (scaleVal < minimum)
1734 XtSetArg(argList[0], XmNminimum, scaleVal);
1737 XmScaleSetValue(widgets[KRG_DEBOUNCE_SCL],scaleVal);