diff options
author | Robin Gareus <robin@gareus.org> | 2016-07-04 22:14:00 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-07-05 00:39:43 +0200 |
commit | 4f7d3069abdf4feb7e7c5df9bf155ec591b4b3c6 (patch) | |
tree | 6c371e84377474a9480a9b622bf67ad97c68a667 /gtk2_ardour/automation_line.cc | |
parent | 17b162c5dac40ccd608fc90117d3fa5c2012cb71 (diff) |
highlight area below automation lanes
Diffstat (limited to 'gtk2_ardour/automation_line.cc')
-rw-r--r-- | gtk2_ardour/automation_line.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gtk2_ardour/automation_line.cc b/gtk2_ardour/automation_line.cc index 5d3f0782e8..eb53ebce17 100644 --- a/gtk2_ardour/automation_line.cc +++ b/gtk2_ardour/automation_line.cc @@ -86,6 +86,7 @@ AutomationLine::AutomationLine (const string& name, , _parent_group (parent) , _offset (0) , _maximum_time (max_framepos) + , _fill (false) , _desc (desc) { if (converter) { @@ -229,6 +230,11 @@ AutomationLine::set_height (guint32 h) (*i)->set_size (bsz); } + if (_fill) { + line->set_fill_y1 (_height); + } else { + line->set_fill_y1 (0); + } reset (); } } @@ -238,6 +244,7 @@ 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 } void |