Subversion Repositories svn.mios32

Rev

Rev 1724 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1724 Rev 2180
Line 197... Line 197...
197
197
198
//==============================================================================
198
//==============================================================================
199
void MbhpMfToolConfigGlobals::sliderValueChanged(Slider* slider)
199
void MbhpMfToolConfigGlobals::sliderValueChanged(Slider* slider)
200
{
200
{
201
    if( slider == pwmStepsSlider ) {
201
    if( slider == pwmStepsSlider ) {
202
        pwmStepsLabel->setText(String::formatted(T("PWM Steps (resulting period: %4.2f mS):"), (float)(slider->getValue()*0.05)), true);
202
        pwmStepsLabel->setText(String::formatted(T("PWM Steps (resulting period: %4.2f mS):"), (float)(slider->getValue()*0.05)), sendNotification);
203
    }
203
    }
204
204
205
    // request SysEx update
205
    // request SysEx update
206
    if( mbhpMfTool->mbhpMfToolControl != NULL )
206
    if( mbhpMfTool->mbhpMfToolControl != NULL )
207
        mbhpMfTool->mbhpMfToolControl->sysexUpdateRequest();
207
        mbhpMfTool->mbhpMfToolControl->sysexUpdateRequest();
Line 698... Line 698...
698
//==============================================================================
698
//==============================================================================
699
void MbhpMfToolCalibration::sliderValueChanged(Slider* slider)
699
void MbhpMfToolCalibration::sliderValueChanged(Slider* slider)
700
{
700
{
701
    if( slider == traceScaleSlider ) {
701
    if( slider == traceScaleSlider ) {
702
        calibrationCurveLabel->setText(String::
702
        calibrationCurveLabel->setText(String::
703
formatted(T("x=%d mS per unit, y=256 steps per unit"), (unsigned)traceScaleSlider->getValue()*50), true);
703
formatted(T("x=%d mS per unit, y=256 steps per unit"), (unsigned)traceScaleSlider->getValue()*50), sendNotification);
704
        Array<uint16> emptyTrace;
704
        Array<uint16> emptyTrace;
705
        calibrationCurve->setTrace(emptyTrace);
705
        calibrationCurve->setTrace(emptyTrace);
706
    } else if( slider == traceSlider ) {
706
    } else if( slider == traceSlider ) {
707
        Array<uint16> emptyTrace;
707
        Array<uint16> emptyTrace;
708
        calibrationCurve->setTrace(emptyTrace);
708
        calibrationCurve->setTrace(emptyTrace);