summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/region.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2010-02-11 17:08:34 +0000
committerCarl Hetherington <carl@carlh.net>2010-02-11 17:08:34 +0000
commit3a27410dcbaaca10480ffc14770b41c11e9ca1da (patch)
tree0b017597b99f3279dc3981033382a4d3f18a2b14 /libs/ardour/ardour/region.h
parent24fbade20a831fe629ed9bbc1d68a33ac1bd4d74 (diff)
More tinkering with State<>. Use some StateDiffCommands instead of
MementoCommand<Region>. More use of State<> for Region members. git-svn-id: svn://localhost/ardour2/branches/3.0@6675 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/region.h')
-rw-r--r--libs/ardour/ardour/region.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/libs/ardour/ardour/region.h b/libs/ardour/ardour/region.h
index 414a1723f9..9c78285a09 100644
--- a/libs/ardour/ardour/region.h
+++ b/libs/ardour/ardour/region.h
@@ -314,21 +314,21 @@ class Region
virtual void recompute_at_end () = 0;
DataType _type;
- Flag _flags;
+ PBD::EnumState<Flag> _flags;
PBD::State<nframes_t> _start;
- nframes_t _length;
+ PBD::State<nframes_t> _length;
nframes_t _last_length;
PBD::State<nframes_t> _position;
nframes_t _last_position;
PositionLockStyle _positional_lock_style;
- nframes_t _sync_position;
+ PBD::State<nframes_t> _sync_position;
PBD::State<layer_t> _layer;
mutable RegionEditState _first_edit;
int _frozen;
- nframes64_t _ancestral_start;
- nframes64_t _ancestral_length;
- float _stretch;
- float _shift;
+ PBD::State<nframes64_t> _ancestral_start;
+ PBD::State<nframes64_t> _ancestral_length;
+ PBD::State<float> _stretch;
+ PBD::State<float> _shift;
BBT_Time _bbt_time;
AnalysisFeatureList _transients;
bool _valid_transients;