note volume bars are painted blue if selected
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1920 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -2542,6 +2542,10 @@ void pianoRoll::paintEvent( QPaintEvent * _pe )
|
||||
{
|
||||
QColor color = QColor::fromHsv( 120, 221,
|
||||
qMin(255, 60 + ( *it )->getVolume() ) );
|
||||
if( ( *it )->selected() )
|
||||
{
|
||||
color.setRgb( 0x00, 0x40, 0xC0 );
|
||||
}
|
||||
p.setPen( QPen( color,
|
||||
NE_LINE_WIDTH ) );
|
||||
|
||||
@@ -2583,7 +2587,7 @@ void pianoRoll::paintEvent( QPaintEvent * _pe )
|
||||
y_base - key * KEY_LINE_HEIGHT );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
p.setPen( QPen( QColor( 0xEA, 0xA1, 0x00 ),
|
||||
NE_LINE_WIDTH*2 ) );
|
||||
p.drawPoints( editHandles );
|
||||
|
||||
Reference in New Issue
Block a user