summaryrefslogtreecommitdiff
path: root/gtk2_ardour/location_ui.h
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2016-04-25 18:17:35 +0200
committerRobin Gareus <robin@gareus.org>2016-04-25 18:17:35 +0200
commit674fa50fb8552f358ac3201c9d780890c9d575e3 (patch)
treef871b3de54efe68f9cb45bb8b3f8858dca58bde6 /gtk2_ardour/location_ui.h
parent77a36d639201704bc145c15e89a7c516646923a6 (diff)
return of the location GoTo Button
Despite the tooltip, middle-click to locate is not very discoverable, and tricky to not-available on MacBooks.
Diffstat (limited to 'gtk2_ardour/location_ui.h')
-rw-r--r--gtk2_ardour/location_ui.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk2_ardour/location_ui.h b/gtk2_ardour/location_ui.h
index c9e7b49625..3ddc2cb248 100644
--- a/gtk2_ardour/location_ui.h
+++ b/gtk2_ardour/location_ui.h
@@ -81,10 +81,12 @@ class LocationEditRow : public Gtk::HBox, public ARDOUR::SessionHandlePtr
Gtk::HBox start_hbox;
AudioClock start_clock;
Gtk::Button start_to_playhead_button;
+ Gtk::Button locate_to_start_button;
Gtk::HBox end_hbox;
AudioClock end_clock;
Gtk::Button end_to_playhead_button;
+ Gtk::Button locate_to_end_button;
AudioClock length_clock;
Gtk::CheckButton cd_check_button;
@@ -118,6 +120,7 @@ class LocationEditRow : public Gtk::HBox, public ARDOUR::SessionHandlePtr
void composer_entry_changed ();
void to_playhead_button_pressed (LocationPart part);
+ void locate_button_pressed (LocationPart part);
void clock_changed (LocationPart part);
bool locate_to_clock (GdkEventButton*, AudioClock*);