From b2b736d596123de52dac700db769ac4eb576da5c Mon Sep 17 00:00:00 2001 From: Ben Loftis Date: Fri, 18 Jul 2014 08:47:45 -0500 Subject: 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. --- gtk2_ardour/ardour_button.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gtk2_ardour/ardour_button.h') 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 _layout; Glib::RefPtr _pixbuf; std::string _text; -- cgit v1.2.3