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/latency_gui.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/latency_gui.h')
-rw-r--r-- | gtk2_ardour/latency_gui.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk2_ardour/latency_gui.h b/gtk2_ardour/latency_gui.h index 2e350762ec..35fad9e296 100644 --- a/gtk2_ardour/latency_gui.h +++ b/gtk2_ardour/latency_gui.h @@ -31,6 +31,8 @@ class LatencyGUI : public Gtk::VBox void refresh (); private: + std::string get_label (int&); + ARDOUR::Latent& _latent; nframes64_t initial_value; nframes64_t sample_rate; @@ -48,7 +50,6 @@ class LatencyGUI : public Gtk::VBox Gtk::ComboBoxText units_combo; void change_latency_from_button (int dir); - void latency_printer (char* buf, unsigned int bufsize); static std::vector<std::string> unit_strings; }; |