summaryrefslogtreecommitdiff
path: root/gtk2_ardour/automation_selectable.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2007-01-23 21:45:05 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2007-01-23 21:45:05 +0000
commit3cfa32d6c23b360f1772aaff0753972722dcc539 (patch)
treea23c845f055ec51605cdea33112db5e621be7f74 /gtk2_ardour/automation_selectable.h
parentd38944becdac0deec9cd4344efbc6b531db4161d (diff)
a variety of bits and pieces for selection ops
git-svn-id: svn://localhost/ardour2/trunk@1375 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/automation_selectable.h')
-rw-r--r--gtk2_ardour/automation_selectable.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/gtk2_ardour/automation_selectable.h b/gtk2_ardour/automation_selectable.h
index 5b7f4d5705..2ce8f29a70 100644
--- a/gtk2_ardour/automation_selectable.h
+++ b/gtk2_ardour/automation_selectable.h
@@ -16,6 +16,14 @@ struct AutomationSelectable : public Selectable
AutomationSelectable (nframes_t s, nframes_t e, double l, double h, TimeAxisView& atv)
: start (s), end (e), low_fract (l), high_fract (h), track (atv) {}
+
+ bool operator== (const AutomationSelectable& other) {
+ return start == other.start &&
+ end == other.end &&
+ low_fract == other.low_fract &&
+ high_fract == other.high_fract &&
+ &track == &other.track;
+ }
};
#endif /* __ardour_gtk_automation_selectable_h__ */