New simple transport button icons + some slight UI code tweaks
This commit is contained in:
@@ -252,7 +252,7 @@ songEditor::songEditor( song * _song, songEditor * & _engine_ptr ) :
|
||||
|
||||
|
||||
// fill own tool-bar
|
||||
m_playButton = new toolButton( embed::getIconPixmap( "play", 24, 24 ),
|
||||
m_playButton = new toolButton( embed::getIconPixmap( "play" ),
|
||||
tr( "Play song (Space)" ),
|
||||
this, SLOT( play() ), m_toolBar );
|
||||
|
||||
@@ -275,7 +275,7 @@ songEditor::songEditor( song * _song, songEditor * & _engine_ptr ) :
|
||||
m_recordAccompanyButton->setDisabled( true );
|
||||
}
|
||||
|
||||
m_stopButton = new toolButton( embed::getIconPixmap( "stop", 24, 24 ),
|
||||
m_stopButton = new toolButton( embed::getIconPixmap( "stop" ),
|
||||
tr( "Stop song (Space)" ),
|
||||
this, SLOT( stop() ), m_toolBar );
|
||||
|
||||
|
||||
@@ -299,7 +299,7 @@ void fader::paintEvent( QPaintEvent * ev)
|
||||
|
||||
if( m_persistentPeak_R > 0.05 )
|
||||
{
|
||||
painter.fillRect( QRect( 16, persistentPeak_R, 4, 1 ), (m_persistentPeak_R < 1.0 )? QColor( 0, 200, 0) : QColor( 200, 0, 0));
|
||||
painter.fillRect( QRect( 16, persistentPeak_R, 4, 1 ), (m_persistentPeak_R < 1.0 )? QColor( 74, 253, 133) : QColor( 255, 100, 100));
|
||||
}
|
||||
|
||||
// knob
|
||||
|
||||
Reference in New Issue
Block a user