From 64524c0ba40b9f69f06a395f8763615700244fda Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 20 May 2009 13:28:30 +0000 Subject: Make pan double-click entry work in percentage left or right. Write pan position to the panner as text (except when centered). Use a virtual function rather than a signal for BarController labels. git-svn-id: svn://localhost/ardour2/branches/3.0@5104 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/automation_controller.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'gtk2_ardour/automation_controller.h') diff --git a/gtk2_ardour/automation_controller.h b/gtk2_ardour/automation_controller.h index 767c4ced00..6217aa10d2 100644 --- a/gtk2_ardour/automation_controller.h +++ b/gtk2_ardour/automation_controller.h @@ -46,12 +46,13 @@ public: Gtk::Adjustment* adjustment() { return _adjustment; } - void update_label(char* label, int label_len); void display_effective_value(); void value_adjusted(); private: - AutomationController(boost::shared_ptr ac, Gtk::Adjustment* adj); + AutomationController (boost::shared_ptr ac, Gtk::Adjustment* adj); + std::string get_label (int&); + void start_touch(); void end_touch(); -- cgit v1.2.3