quick fix for bug reported by ricardus: faders in Play are no longer dark gray which made them invisible. and they update color when their auto state changes.

git-svn-id: svn://localhost/ardour2/branches/3.0@13773 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Ben Loftis 2013-01-04 16:52:10 +00:00
parent b938923bad
commit 2c95bfcd46
3 changed files with 4 additions and 2 deletions

View file

@ -38,6 +38,8 @@ class PixFader : public Gtk::DrawingArea
void set_fader_length (int);
void set_border_colors (uint32_t rgba_left, uint32_t rgba_right);
void create_patterns();
void set_default_value (float);
void set_text (const std::string&);
@ -94,7 +96,6 @@ class PixFader : public Gtk::DrawingArea
GdkRectangle view;
void create_patterns();
cairo_pattern_t* pattern;
cairo_pattern_t* shine_pattern;