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
This commit is contained in:
Carl Hetherington 2009-05-20 13:28:30 +00:00
parent dbe20bd3a9
commit 64524c0ba4
10 changed files with 191 additions and 96 deletions

View file

@ -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();