diff options
author | Ben Loftis <ben@glw.com> | 2013-01-04 16:52:10 +0000 |
---|---|---|
committer | Ben Loftis <ben@glw.com> | 2013-01-04 16:52:10 +0000 |
commit | 2c95bfcd46d9093f665bbedfad3cdf73e45f3d35 (patch) | |
tree | 89b9b5f13d4652c931e9ccdfeb42447bbb0682f0 /libs | |
parent | b938923bad16bee58847503eed1d9045a0ada099 (diff) |
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
Diffstat (limited to 'libs')
-rw-r--r-- | libs/gtkmm2ext/gtkmm2ext/pixfader.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/gtkmm2ext/gtkmm2ext/pixfader.h b/libs/gtkmm2ext/gtkmm2ext/pixfader.h index d105bbb2d1..40f214f087 100644 --- a/libs/gtkmm2ext/gtkmm2ext/pixfader.h +++ b/libs/gtkmm2ext/gtkmm2ext/pixfader.h @@ -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; |