diff options
author | Ben Loftis <ben@harrisonconsoles.com> | 2014-07-18 08:47:45 -0500 |
---|---|---|
committer | Ben Loftis <ben@harrisonconsoles.com> | 2014-07-18 08:47:45 -0500 |
commit | b2b736d596123de52dac700db769ac4eb576da5c (patch) | |
tree | c800fa5fd3a84d3c7b0749ba3edb5b9fd89629ed /gtk2_ardour/ardour_button.h | |
parent | ac9219a3c884b69352ff5ab0d13f30fb15cf8e6e (diff) |
tweaks for the monitor section. refactoring of some buttons, using new ArdourKnob instead of VolumeController. New ArdourDisplay shows a controllables user value, and provides support for preset values (hardcoded at present). Further refactoring to come, so that ArdourWidgets are derived from a common class. Controllable now has more responsibility for scaling between internal, user, and interface (knob percent) values. This also needs more refactoring and might have some unintended consequences. tested with audio and nothing seems amiss, yet.
Diffstat (limited to 'gtk2_ardour/ardour_button.h')
-rw-r--r-- | gtk2_ardour/ardour_button.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/ardour_button.h b/gtk2_ardour/ardour_button.h index 7b8d2a2372..260e0b21ab 100644 --- a/gtk2_ardour/ardour_button.h +++ b/gtk2_ardour/ardour_button.h @@ -115,7 +115,7 @@ class ArdourButton : public CairoWidget , public Gtkmm2ext::Activatable void controllable_changed (); PBD::ScopedConnection watch_connection; - private: + protected: Glib::RefPtr<Pango::Layout> _layout; Glib::RefPtr<Gdk::Pixbuf> _pixbuf; std::string _text; |