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:
Andrew Kelley
2008-12-14 09:55:06 +00:00
parent 1e0bf14904
commit 20f50350e6
3 changed files with 7 additions and 3 deletions

View File

@@ -7,6 +7,7 @@
and panning
- switching between note edit modes is more clear with label text and
a right click menu
- note volume bars are painted blue if selected
2008-12-14 Tobias Doerffel <tobydox/at/users/dot/sourceforge/dot/net>

3
TODO
View File

@@ -52,8 +52,6 @@
- add FLAC as export-format?
Andrew Kelley's todo:
- paint note volume blue if selected
- make the tip of a panning bar blue too so the user knows it's selected
- when you click on a note in the piano roll, it plays the note, but not the correct panning
- fix ctrl+mousewheel zooming in
- if you press both controls at the same time, the piano roll gets stuck in selection mode
@@ -83,3 +81,4 @@ Andrew Kelley's todo:
- make it so that 3xosc notes don't max out
- implement note detuning (used to be ctrl+click to access note detuning) (need some other intuitive way to access note detuning as ctrl, shift, and alt are all being used)
- copy-pasted automation patterns have to be manually linked back to their knob for some reason
- fix memory leaks

View File

@@ -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 );