From 2bf3ed423f7aecdaabf5fbb078d9e2f20d26880c Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 16 Nov 2006 18:42:48 +0000 Subject: track naming patch from brian; slightly modified F11-bug workaround from brian; undo/redo items in edit menu now show operation to be undone/redone; canvas allocations now handled by an idle handler; region views respond to changes in fade/in/out curves ; undo/redo possible for some fade in/out operations; automation tracks extend to max_frames git-svn-id: svn://localhost/ardour2/trunk@1134 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/pbd/pbd/undo.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libs/pbd/pbd/undo.h') diff --git a/libs/pbd/pbd/undo.h b/libs/pbd/pbd/undo.h index 277c41c2af..eb46750e4f 100644 --- a/libs/pbd/pbd/undo.h +++ b/libs/pbd/pbd/undo.h @@ -74,7 +74,7 @@ class UndoTransaction : public Command friend void command_death (UndoTransaction*, Command *); }; -class UndoHistory +class UndoHistory : public sigc::trackable { public: UndoHistory(); @@ -97,6 +97,8 @@ class UndoHistory XMLNode &get_state(); void save_state(); + sigc::signal Changed; + private: bool _clearing; std::list UndoList; -- cgit v1.2.3