summaryrefslogtreecommitdiff
path: root/gtk2_ardour/location_ui.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2011-03-02 22:43:19 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2011-03-02 22:43:19 +0000
commitb3ddcbcee491a48091f9b4b927c953cbcd0e8963 (patch)
tree8b3298021871f58c3bb468792a5f8ef3cc678220 /gtk2_ardour/location_ui.h
parent10b224790b5a371d70f99d84b38ff82b82680e97 (diff)
group clocks in location UI and region editor so that they all change modes together
git-svn-id: svn://localhost/ardour2/branches/3.0@9048 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/location_ui.h')
-rw-r--r--gtk2_ardour/location_ui.h13
1 files changed, 10 insertions, 3 deletions
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<void,ARDOUR::Location*> remove_requested;
sigc::signal<void> 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