mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 07:45:00 +01:00
use selected (outline) color for MIDI note velocity bar (thanks, cooltehno, for the idea)
This commit is contained in:
parent
3a8c443499
commit
02b05f295a
3 changed files with 9 additions and 2 deletions
|
|
@ -97,5 +97,11 @@ void
|
|||
Note::set_fill_color (Gtkmm2ext::Color c)
|
||||
{
|
||||
Fill::set_fill_color (c);
|
||||
_velocity_color = UINT_INTERPOLATE (c, 0x000000ff, 0.5);
|
||||
}
|
||||
|
||||
void
|
||||
Note::set_outline_color (Gtkmm2ext::Color c)
|
||||
{
|
||||
Outline::set_outline_color (c);
|
||||
_velocity_color = c;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue