From 48bb90eb88202c683f3bb78f7ddf11da6114c1ab Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sat, 29 Nov 2014 14:49:03 +0100 Subject: show values on faders (fixes bug in 55c6165) --- gtk2_ardour/automation_controller.h | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'gtk2_ardour/automation_controller.h') diff --git a/gtk2_ardour/automation_controller.h b/gtk2_ardour/automation_controller.h index db79ac249e..c5d64c16c7 100644 --- a/gtk2_ardour/automation_controller.h +++ b/gtk2_ardour/automation_controller.h @@ -42,6 +42,18 @@ namespace ARDOUR { class Automatable; } +class AutomationBarController : public Gtkmm2ext::BarController { +public: + AutomationBarController(boost::shared_ptr printer, + boost::shared_ptr ac, + Gtk::Adjustment* adj); + ~AutomationBarController(); +private: + std::string get_label (double&); + boost::shared_ptr _printer; + boost::shared_ptr _controllable; +}; + /** A BarController which displays the value and allows control of an AutomationControl */ class AutomationController : public Gtk::Alignment { public: @@ -72,7 +84,6 @@ private: AutomationController (boost::shared_ptr printer, boost::shared_ptr ac, Gtk::Adjustment* adj); - std::string get_label (double&); void start_touch(); void end_touch(); -- cgit v1.2.3