Add Stereomatrix artwork
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1212 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -66,7 +66,11 @@
|
||||
* include/lfo_controller.h:
|
||||
* src/gui/lfo_controller_dialog.cpp:
|
||||
* data/themes/default/lfo_controller_artwork.png:
|
||||
Add LFO artwork (almost)
|
||||
Add LFO artwork (except it doesn't work for some odd reason)
|
||||
|
||||
* plugins/stereo_matrix/stereomatrix_control_dialog.cpp:
|
||||
* plugins/stereo_matrix/artwork.png:
|
||||
Add StereoMatrix artwork
|
||||
|
||||
2008-06-28 Tobias Doerffel <tobydox/at/users/dot/sourceforge/dot/net>
|
||||
|
||||
|
||||
BIN
plugins/stereo_matrix/artwork.png
Normal file
BIN
plugins/stereo_matrix/artwork.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 8.0 KiB |
@@ -29,6 +29,7 @@
|
||||
|
||||
#include "stereomatrix_control_dialog.h"
|
||||
#include "stereomatrix_controls.h"
|
||||
#include "embed.h"
|
||||
|
||||
|
||||
|
||||
@@ -37,36 +38,33 @@ stereoMatrixControlDialog::stereoMatrixControlDialog(
|
||||
effectControlDialog( _controls )
|
||||
{
|
||||
|
||||
setFixedSize( 92, 92 );
|
||||
setFixedSize( 105, 115);
|
||||
|
||||
QGridLayout * l = new QGridLayout( this );
|
||||
setAutoFillBackground( TRUE );
|
||||
QPalette pal;
|
||||
pal.setBrush( backgroundRole(),
|
||||
PLUGIN_NAME::getIconPixmap( "artwork" ) );
|
||||
setPalette( pal );
|
||||
|
||||
knob * llKnob = new knob( knobBright_26, this );
|
||||
|
||||
knob * llKnob = new knob( knobSmall_17, this );
|
||||
llKnob->setModel( &_controls->m_llModel );
|
||||
llKnob->setHintText( tr( "Left to Left Vol:" ) + " ", "" );
|
||||
llKnob->move( 40, 60 );
|
||||
|
||||
knob * lrKnob = new knob( knobBright_26, this );
|
||||
knob * lrKnob = new knob( knobSmall_17, this );
|
||||
lrKnob->setModel( &_controls->m_lrModel );
|
||||
lrKnob->setHintText( tr( "Left to Right Vol:" ) + " ", "" );
|
||||
lrKnob->move( 40, 60+28 );
|
||||
|
||||
knob * rlKnob = new knob( knobBright_26, this );
|
||||
knob * rlKnob = new knob( knobSmall_17, this );
|
||||
rlKnob->setModel( &_controls->m_rlModel );
|
||||
rlKnob->setHintText( tr( "Right to Left Vol:" ) + " ", "" );
|
||||
rlKnob->move( 40+28, 60 );
|
||||
|
||||
knob * rrKnob = new knob( knobBright_26, this );
|
||||
knob * rrKnob = new knob( knobSmall_17, this );
|
||||
rrKnob->setModel( &_controls->m_rrModel );
|
||||
rrKnob->setHintText( tr( "Right to Right Vol:" ) + " ", "" );
|
||||
|
||||
l->addWidget( new QLabel( "L", this ), 1, 0);
|
||||
l->addWidget( new QLabel( "R", this ), 2, 0);
|
||||
l->addWidget( new QLabel( "L", this ), 0, 1);
|
||||
l->addWidget( new QLabel( "R", this ), 0, 2);
|
||||
|
||||
l->addWidget( llKnob, 1, 1 );
|
||||
l->addWidget( lrKnob, 1, 2 );
|
||||
l->addWidget( rlKnob, 2, 1 );
|
||||
l->addWidget( rrKnob, 2, 2 );
|
||||
|
||||
this->setLayout(l);
|
||||
rrKnob->move( 40+28, 60+28 );
|
||||
}
|
||||
|
||||
|
||||
@@ -70,7 +70,7 @@ lfoControllerDialog::lfoControllerDialog( controller * _model, QWidget * _parent
|
||||
title.append( " (" );
|
||||
title.append( _model->name() );
|
||||
title.append( ")" );
|
||||
setWindowTitle( tr( "LFO (name)" ) );
|
||||
setWindowTitle( title );
|
||||
setWindowIcon( embed::getIconPixmap( "controller" ) );
|
||||
setFixedSize( 240, 80 );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user