diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2006-03-11 16:01:06 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2006-03-11 16:01:06 +0000 |
commit | ddfc8d2185ec9cef7afe74091ea544ec286f13a8 (patch) | |
tree | 03cd195a2624e7389c2ed1e3f1fa40e43bf68345 /libs/ardour/ardour/location.h | |
parent | b6f309bb85307d36b6fa1eaea2e7178066cb3f38 (diff) |
start marker implemented, along with GotoZero command for old behaviour; R binding for global rec-enable now works (menu item added)
git-svn-id: svn://localhost/trunk/ardour2@376 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/location.h')
-rw-r--r-- | libs/ardour/ardour/location.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libs/ardour/ardour/location.h b/libs/ardour/ardour/location.h index 3728d0b346..ee55adb600 100644 --- a/libs/ardour/ardour/location.h +++ b/libs/ardour/ardour/location.h @@ -51,7 +51,8 @@ class Location : public Stateful, public sigc::trackable IsHidden = 0x8, IsCDMarker = 0x10, IsEnd = 0x20, - IsRangeMarker = 0x40 + IsRangeMarker = 0x40, + IsStart = 0x80 }; Location (jack_nframes_t sample_start, @@ -89,6 +90,7 @@ class Location : public Stateful, public sigc::trackable void set_hidden (bool yn, void *src); void set_cd (bool yn, void *src); void set_is_end (bool yn, void* src); + void set_is_start (bool yn, void* src); bool is_auto_punch () { return _flags & IsAutoPunch; } bool is_auto_loop () { return _flags & IsAutoLoop; } @@ -96,6 +98,7 @@ class Location : public Stateful, public sigc::trackable bool is_hidden () { return _flags & IsHidden; } bool is_cd_marker () { return _flags & IsCDMarker; } bool is_end() { return _flags & IsEnd; } + bool is_start() { return _flags & IsStart; } bool is_range_marker() { return _flags & IsRangeMarker; } sigc::signal<void,Location*> name_changed; @@ -146,6 +149,7 @@ class Locations : public Stateful, public StateManager Location* auto_loop_location () const; Location* auto_punch_location () const; Location* end_location() const; + Location* start_location() const; uint32_t num_range_markers() const; |