mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 00:34:59 +01:00
allow automation line fill opacity to be theme-able
This commit is contained in:
parent
008e51ed03
commit
a869b39cd9
2 changed files with 5 additions and 1 deletions
|
|
@ -244,7 +244,10 @@ AutomationLine::set_line_color (uint32_t color)
|
|||
{
|
||||
_line_color = color;
|
||||
line->set_outline_color (color);
|
||||
line->set_fill_color ((color & 0xffff00) + 80); // XXX TODO configurable transparency
|
||||
|
||||
ArdourCanvas::SVAModifier mod = UIConfiguration::instance().modifier ("automation line fill");
|
||||
|
||||
line->set_fill_color ((color & 0xffffff00) + mod.a()*255);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue