Graph code improvements, graphics

This commit is contained in:
Vesa
2014-02-12 20:58:30 +02:00
parent 4b125abc0e
commit 58e451925e
5 changed files with 34 additions and 17 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 60 KiB

After

Width:  |  Height:  |  Size: 65 KiB

View File

@@ -57,13 +57,13 @@ waveShaperControlDialog::waveShaperControlDialog(
waveGraph -> setMaximumSize( 204, 204 );
knob * inputKnob = new knob( knobBright_26, this);
inputKnob -> move( 10, 251 );
inputKnob -> move( 14, 251 );
inputKnob->setModel( &_controls->m_inputModel );
inputKnob->setLabel( tr( "INPUT" ) );
inputKnob->setHintText( tr( "Input gain:" ) + " ", "" );
knob * outputKnob = new knob( knobBright_26, this );
outputKnob -> move( 50, 251 );
outputKnob -> move( 54, 251 );
outputKnob->setModel( &_controls->m_outputModel );
outputKnob->setLabel( tr( "OUTPUT" ) );
outputKnob->setHintText( tr( "Output gain:" ) + " ", "" );

View File

@@ -134,7 +134,7 @@ void waveShaperControls::resetClicked()
void waveShaperControls::smoothClicked()
{
m_wavegraphModel.smooth();
m_wavegraphModel.smoothNonCyclic();
engine::getSong()->setModified();
}