diff options
author | Carl Hetherington <carl@carlh.net> | 2009-05-20 13:28:30 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2009-05-20 13:28:30 +0000 |
commit | 64524c0ba40b9f69f06a395f8763615700244fda (patch) | |
tree | 35178c663851a00069c6f3c3a7fbe4ee99f17d5d /gtk2_ardour/automation_controller.h | |
parent | dbe20bd3a9d23e1e49556a1f47a31c5b8144dfda (diff) |
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
Diffstat (limited to 'gtk2_ardour/automation_controller.h')
-rw-r--r-- | gtk2_ardour/automation_controller.h | 5 |
1 files changed, 3 insertions, 2 deletions
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<ARDOUR::AutomationControl> ac, Gtk::Adjustment* adj); + AutomationController (boost::shared_ptr<ARDOUR::AutomationControl> ac, Gtk::Adjustment* adj); + std::string get_label (int&); + void start_touch(); void end_touch(); |