mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-16 11:46:25 +01:00
change AutomationLine::_line_color to _line_color_name
This commit is contained in:
parent
05476514c0
commit
ebcbed53e6
2 changed files with 5 additions and 5 deletions
|
|
@ -93,7 +93,7 @@ AutomationLine::AutomationLine (const string& name,
|
|||
const ParameterDescriptor& desc)
|
||||
:_name (name)
|
||||
, _height (0)
|
||||
, _line_color ("automation line")
|
||||
, _line_color_name ("automation line")
|
||||
, _view_index_offset (0)
|
||||
, alist (al)
|
||||
, _visible (Line)
|
||||
|
|
@ -147,7 +147,7 @@ AutomationLine::set_sensitive (bool yn)
|
|||
{
|
||||
_sensitive = yn;
|
||||
|
||||
set_line_color (_line_color);
|
||||
set_line_color (_line_color_name);
|
||||
|
||||
for (auto & cp : control_points) {
|
||||
if (yn) {
|
||||
|
|
@ -294,7 +294,7 @@ AutomationLine::set_height (guint32 h)
|
|||
void
|
||||
AutomationLine::set_line_color (string const & color_name, string color_mod)
|
||||
{
|
||||
_line_color = color_name;
|
||||
_line_color_name = color_name;
|
||||
|
||||
if (_sensitive) {
|
||||
line->set_outline_color (UIConfiguration::instance().color (color_name));
|
||||
|
|
@ -1065,7 +1065,7 @@ AutomationLine::set_selected_points (PointSelection const & points)
|
|||
void
|
||||
AutomationLine::set_colors ()
|
||||
{
|
||||
set_line_color (_line_color);
|
||||
set_line_color (_line_color_name);
|
||||
for (auto & cp : control_points) {
|
||||
cp->set_color ();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -192,7 +192,7 @@ protected:
|
|||
|
||||
std::string _name;
|
||||
guint32 _height;
|
||||
std::string _line_color;
|
||||
std::string _line_color_name;
|
||||
std::string _line_color_mod;
|
||||
uint32_t _view_index_offset;
|
||||
std::shared_ptr<ARDOUR::AutomationList> alist;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue