X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Flocation_ui.h;h=bf4474e669bdd79b67200ef4f26cb4e38cc99f66;hb=b15e1cba3b11f73f3155c5dbd8a162c2512f5641;hp=5ab297f69c7de8fa78eff5198fa4b4bea238a8b7;hpb=dc65bd801c7a2e5a7b96900b21ad125169367652;p=ardour.git diff --git a/gtk2_ardour/location_ui.h b/gtk2_ardour/location_ui.h index 5ab297f69c..bf4474e669 100644 --- a/gtk2_ardour/location_ui.h +++ b/gtk2_ardour/location_ui.h @@ -42,6 +42,8 @@ namespace ARDOUR { class Location; } +class ClockGroup; + class LocationEditRow : public Gtk::HBox, public ARDOUR::SessionHandlePtr { public: @@ -55,7 +57,8 @@ class LocationEditRow : public Gtk::HBox, public ARDOUR::SessionHandlePtr void set_number (int); void focus_name(); - + void set_clock_group (ClockGroup&); + sigc::signal remove_requested; sigc::signal redraw_ranges; @@ -97,11 +100,12 @@ class LocationEditRow : public Gtk::HBox, public ARDOUR::SessionHandlePtr Gtk::Label performer_label; - Gtk::Entry performer_entry; + Gtk::Entry performer_entry; Gtk::Label composer_label; - Gtk::Entry composer_entry; + Gtk::Entry composer_entry; Gtk::CheckButton scms_check_button; Gtk::CheckButton preemph_check_button; + ClockGroup* _clock_group; guint32 i_am_the_modifier; int number; @@ -146,6 +150,7 @@ class LocationUI : public Gtk::HBox, public ARDOUR::SessionHandlePtr ~LocationUI (); void set_session (ARDOUR::Session *); + void set_clock_mode (AudioClock::Mode); void add_new_location(); void add_new_range(); @@ -191,6 +196,8 @@ class LocationUI : public Gtk::HBox, public ARDOUR::SessionHandlePtr void location_added (ARDOUR::Location *); void locations_changed (ARDOUR::Locations::Change); void map_locations (ARDOUR::Locations::LocationList&); + + ClockGroup* _clock_group; }; class LocationUIWindow : public ArdourDialog