X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Flocation_ui.h;h=b01b63e8e454eb2c990ab072cce6c0e4fa4cef5f;hb=af3056769cdc09d9ce3b21f9f8e0aa8145ed8f0e;hp=ec19389f4a63dac342d70442c53ddc4435b832b2;hpb=a94098ae9bc8d36ebc9deee00bc91b1c3e27b521;p=ardour.git diff --git a/gtk2_ardour/location_ui.h b/gtk2_ardour/location_ui.h index ec19389f4a..b01b63e8e4 100644 --- a/gtk2_ardour/location_ui.h +++ b/gtk2_ardour/location_ui.h @@ -104,7 +104,9 @@ class LocationEditRow : public Gtk::HBox, public ARDOUR::SessionHandlePtr Gtk::Label composer_label; Gtk::Entry composer_entry; Gtk::CheckButton scms_check_button; + Gtk::Label scms_label; Gtk::CheckButton preemph_check_button; + Gtk::Label preemph_label; ClockGroup* _clock_group; guint32 i_am_the_modifier; @@ -118,6 +120,7 @@ class LocationEditRow : public Gtk::HBox, public ARDOUR::SessionHandlePtr void to_playhead_button_pressed (LocationPart part); void clock_changed (LocationPart part); + bool locate_to_clock (GdkEventButton*, AudioClock*); void cd_toggled (); void hide_toggled (); @@ -136,7 +139,7 @@ class LocationEditRow : public Gtk::HBox, public ARDOUR::SessionHandlePtr void lock_changed (ARDOUR::Location *); void position_lock_style_changed (ARDOUR::Location *); - void set_clock_sensitivity (); + void set_clock_editable_status (); PBD::ScopedConnectionList connections; }; @@ -159,6 +162,10 @@ class LocationUI : public Gtk::HBox, public ARDOUR::SessionHandlePtr private: ARDOUR::LocationStack* locations; + /** set to the location that has just been created with the LocationUI `add' button + (if Config->get_name_new_markers() is true); if it is non-0, the name entry of + the location is given the focus by location_added(). + */ ARDOUR::Location *newest_location; void session_going_away ();