summaryrefslogtreecommitdiff
path: root/libs/pbd/pbd/stateful.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2010-09-21 15:15:06 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2010-09-21 15:15:06 +0000
commit90e73a3a6dc196f8295291eca7e67e85595b82d4 (patch)
tree7e37d218a30f5e6f8320301b3664ce5668809c86 /libs/pbd/pbd/stateful.h
parente6ecd36b266c173a65371d50cde5b955072a98ff (diff)
(1) remove almost-never used block/unlock_property_changes() methods from PBD::Stateful (2) hide used and path columns from region list (3) detect mouse position within MIDI notes and thus allow move or trim from the same mouse mode (object or trim; first & last 1/4 of each note is for trimming
git-svn-id: svn://localhost/ardour2/branches/3.0@7823 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/pbd/pbd/stateful.h')
-rw-r--r--libs/pbd/pbd/stateful.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/libs/pbd/pbd/stateful.h b/libs/pbd/pbd/stateful.h
index 735ffbdc4a..1f0f73b3ef 100644
--- a/libs/pbd/pbd/stateful.h
+++ b/libs/pbd/pbd/stateful.h
@@ -86,10 +86,9 @@ class Stateful {
virtual void suspend_property_changes ();
virtual void resume_property_changes ();
+
+ virtual bool frozen() const { return _frozen; }
- void unlock_property_changes () { _no_property_changes = false; }
- void block_property_changes () { _no_property_changes = true; }
-
protected:
void add_instant_xml (XMLNode&, const sys::path& directory_path);
@@ -108,7 +107,6 @@ class Stateful {
XMLNode *_instant_xml;
PBD::ID _id;
int32_t _frozen;
- bool _no_property_changes;
PBD::PropertyChange _pending_changed;
Glib::Mutex _lock;