Dynamics Processor Plugin Redesign (#3327)
* Dynamics Processor Redesign * Spacing tweak
BIN
plugins/dynamics_processor/add1_active.png
Normal file → Executable file
|
Before Width: | Height: | Size: 959 B After Width: | Height: | Size: 555 B |
BIN
plugins/dynamics_processor/add1_inactive.png
Normal file → Executable file
|
Before Width: | Height: | Size: 928 B After Width: | Height: | Size: 573 B |
|
Before Width: | Height: | Size: 73 KiB After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.2 KiB |
@@ -44,23 +44,23 @@ dynProcControlDialog::dynProcControlDialog(
|
||||
pal.setBrush( backgroundRole(),
|
||||
PLUGIN_NAME::getIconPixmap( "artwork" ) );
|
||||
setPalette( pal );
|
||||
setFixedSize( 224, 340 );
|
||||
setFixedSize( 224, 319 );
|
||||
|
||||
Graph * waveGraph = new Graph( this, Graph::LinearNonCyclicStyle, 204, 205 );
|
||||
waveGraph -> move( 10, 32 );
|
||||
waveGraph -> move( 10, 6 );
|
||||
waveGraph -> setModel( &_controls -> m_wavegraphModel );
|
||||
waveGraph -> setAutoFillBackground( true );
|
||||
pal = QPalette();
|
||||
pal.setBrush( backgroundRole(),
|
||||
PLUGIN_NAME::getIconPixmap("wavegraph") );
|
||||
waveGraph->setPalette( pal );
|
||||
waveGraph->setGraphColor( QColor( 170, 255, 255 ) );
|
||||
waveGraph->setGraphColor( QColor( 85, 204, 145 ) );
|
||||
waveGraph -> setMaximumSize( 204, 205 );
|
||||
|
||||
Knob * inputKnob = new Knob( knobBright_26, this);
|
||||
inputKnob -> setVolumeKnob( true );
|
||||
inputKnob -> setVolumeRatio( 1.0 );
|
||||
inputKnob -> move( 14, 251 );
|
||||
inputKnob -> move( 26, 223 );
|
||||
inputKnob->setModel( &_controls->m_inputModel );
|
||||
inputKnob->setLabel( tr( "INPUT" ) );
|
||||
inputKnob->setHintText( tr( "Input gain:" ) , "" );
|
||||
@@ -68,19 +68,19 @@ dynProcControlDialog::dynProcControlDialog(
|
||||
Knob * outputKnob = new Knob( knobBright_26, this );
|
||||
outputKnob -> setVolumeKnob( true );
|
||||
outputKnob -> setVolumeRatio( 1.0 );
|
||||
outputKnob -> move( 54, 251 );
|
||||
outputKnob -> move( 76, 223 );
|
||||
outputKnob->setModel( &_controls->m_outputModel );
|
||||
outputKnob->setLabel( tr( "OUTPUT" ) );
|
||||
outputKnob->setHintText( tr( "Output gain:" ) , "" );
|
||||
|
||||
Knob * attackKnob = new Knob( knobBright_26, this);
|
||||
attackKnob -> move( 11, 291 );
|
||||
attackKnob -> move( 24, 268 );
|
||||
attackKnob->setModel( &_controls->m_attackModel );
|
||||
attackKnob->setLabel( tr( "ATTACK" ) );
|
||||
attackKnob->setHintText( tr( "Peak attack time:" ) , "ms" );
|
||||
|
||||
Knob * releaseKnob = new Knob( knobBright_26, this );
|
||||
releaseKnob -> move( 52, 291 );
|
||||
releaseKnob -> move( 74, 268 );
|
||||
releaseKnob->setModel( &_controls->m_releaseModel );
|
||||
releaseKnob->setLabel( tr( "RELEASE" ) );
|
||||
releaseKnob->setHintText( tr( "Peak release time:" ) , "ms" );
|
||||
@@ -88,51 +88,51 @@ dynProcControlDialog::dynProcControlDialog(
|
||||
//waveform control buttons
|
||||
|
||||
PixmapButton * resetButton = new PixmapButton( this, tr("Reset waveform") );
|
||||
resetButton -> move( 164, 251 );
|
||||
resetButton -> resize( 12, 48 );
|
||||
resetButton -> move( 162, 223 );
|
||||
resetButton -> resize( 13, 48 );
|
||||
resetButton -> setActiveGraphic( PLUGIN_NAME::getIconPixmap( "reset_active" ) );
|
||||
resetButton -> setInactiveGraphic( PLUGIN_NAME::getIconPixmap( "reset_inactive" ) );
|
||||
ToolTip::add( resetButton, tr( "Click here to reset the wavegraph back to default" ) );
|
||||
|
||||
PixmapButton * smoothButton = new PixmapButton( this, tr("Smooth waveform") );
|
||||
smoothButton -> move( 164, 267 );
|
||||
smoothButton -> resize( 12, 48 );
|
||||
smoothButton -> move( 162, 239 );
|
||||
smoothButton -> resize( 13, 48 );
|
||||
smoothButton -> setActiveGraphic( PLUGIN_NAME::getIconPixmap( "smooth_active" ) );
|
||||
smoothButton -> setInactiveGraphic( PLUGIN_NAME::getIconPixmap( "smooth_inactive" ) );
|
||||
ToolTip::add( smoothButton, tr( "Click here to apply smoothing to wavegraph" ) );
|
||||
|
||||
PixmapButton * addOneButton = new PixmapButton( this, tr("Increase wavegraph amplitude by 1dB") );
|
||||
addOneButton -> move( 133, 251 );
|
||||
addOneButton -> resize( 12, 29 );
|
||||
addOneButton -> move( 131, 223 );
|
||||
addOneButton -> resize( 13, 29 );
|
||||
addOneButton -> setActiveGraphic( PLUGIN_NAME::getIconPixmap( "add1_active" ) );
|
||||
addOneButton -> setInactiveGraphic( PLUGIN_NAME::getIconPixmap( "add1_inactive" ) );
|
||||
ToolTip::add( addOneButton, tr( "Click here to increase wavegraph amplitude by 1dB" ) );
|
||||
|
||||
PixmapButton * subOneButton = new PixmapButton( this, tr("Decrease wavegraph amplitude by 1dB") );
|
||||
subOneButton -> move( 133, 267 );
|
||||
subOneButton -> resize( 12, 29 );
|
||||
subOneButton -> move( 131, 239 );
|
||||
subOneButton -> resize( 13, 29 );
|
||||
subOneButton -> setActiveGraphic( PLUGIN_NAME::getIconPixmap( "sub1_active" ) );
|
||||
subOneButton -> setInactiveGraphic( PLUGIN_NAME::getIconPixmap( "sub1_inactive" ) );
|
||||
ToolTip::add( subOneButton, tr( "Click here to decrease wavegraph amplitude by 1dB" ) );
|
||||
|
||||
//stereomode switches
|
||||
PixmapButton * smMaxButton = new PixmapButton( this, tr( "Stereomode Maximum" ) );
|
||||
smMaxButton -> move( 165, 290 );
|
||||
smMaxButton -> resize( 48, 13 );
|
||||
smMaxButton -> move( 131, 257 );
|
||||
smMaxButton -> resize( 78, 17 );
|
||||
smMaxButton -> setActiveGraphic( PLUGIN_NAME::getIconPixmap( "max_active" ) );
|
||||
smMaxButton -> setInactiveGraphic( PLUGIN_NAME::getIconPixmap( "max_inactive" ) );
|
||||
ToolTip::add( smMaxButton, tr( "Process based on the maximum of both stereo channels" ) );
|
||||
|
||||
PixmapButton * smAvgButton = new PixmapButton( this, tr( "Stereomode Average" ) );
|
||||
smAvgButton -> move( 165, 290 + 13 );
|
||||
smAvgButton -> resize( 48, 13 );
|
||||
smAvgButton -> move( 131, 274 );
|
||||
smAvgButton -> resize( 78, 16 );
|
||||
smAvgButton -> setActiveGraphic( PLUGIN_NAME::getIconPixmap( "avg_active" ) );
|
||||
smAvgButton -> setInactiveGraphic( PLUGIN_NAME::getIconPixmap( "avg_inactive" ) );
|
||||
ToolTip::add( smAvgButton, tr( "Process based on the average of both stereo channels" ) );
|
||||
|
||||
PixmapButton * smUnlButton = new PixmapButton( this, tr( "Stereomode Unlinked" ) );
|
||||
smUnlButton -> move( 165, 290 + (13*2) );
|
||||
smUnlButton -> resize( 48, 13 );
|
||||
smUnlButton -> move( 131, 290 );
|
||||
smUnlButton -> resize( 78, 17 );
|
||||
smUnlButton -> setActiveGraphic( PLUGIN_NAME::getIconPixmap( "unl_active" ) );
|
||||
smUnlButton -> setInactiveGraphic( PLUGIN_NAME::getIconPixmap( "unl_inactive" ) );
|
||||
ToolTip::add( smUnlButton, tr( "Process each stereo channel independently" ) );
|
||||
|
||||
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.0 KiB |
|
Before Width: | Height: | Size: 969 B After Width: | Height: | Size: 1.1 KiB |
BIN
plugins/dynamics_processor/reset_active.png
Normal file → Executable file
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 563 B |
BIN
plugins/dynamics_processor/reset_inactive.png
Normal file → Executable file
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 581 B |
BIN
plugins/dynamics_processor/smooth_active.png
Normal file → Executable file
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 674 B |
BIN
plugins/dynamics_processor/smooth_inactive.png
Normal file → Executable file
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 699 B |
BIN
plugins/dynamics_processor/sub1_active.png
Normal file → Executable file
|
Before Width: | Height: | Size: 927 B After Width: | Height: | Size: 525 B |
BIN
plugins/dynamics_processor/sub1_inactive.png
Normal file → Executable file
|
Before Width: | Height: | Size: 900 B After Width: | Height: | Size: 555 B |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 927 B |
|
Before Width: | Height: | Size: 854 B After Width: | Height: | Size: 1.0 KiB |
BIN
plugins/dynamics_processor/wavegraph.png
Normal file → Executable file
|
Before Width: | Height: | Size: 40 KiB After Width: | Height: | Size: 1.5 KiB |