summaryrefslogtreecommitdiff
path: root/muse2/muse/undo.h
diff options
context:
space:
mode:
authorFlorian Jung <flo@windfisch.org>2011-06-05 22:05:16 +0000
committerFlorian Jung <flo@windfisch.org>2011-06-05 22:05:16 +0000
commite2e536eab73dc7d1e2294078628eea80ecf6d120 (patch)
treecabbb8d54c58e178a98fe62b898b2176f63f29f6 /muse2/muse/undo.h
parente7fa4482decd01231531eae9da73ecbad2b12094 (diff)
speeded up the arranger's part canvas
Diffstat (limited to 'muse2/muse/undo.h')
-rw-r--r--muse2/muse/undo.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/muse2/muse/undo.h b/muse2/muse/undo.h
index 88810b80..b8f69d9f 100644
--- a/muse2/muse/undo.h
+++ b/muse2/muse/undo.h
@@ -36,7 +36,8 @@ struct UndoOp {
AddKey, DeleteKey,
SwapTrack,
ModifyClip,
- ModifyMarker
+ ModifyMarker,
+ DoNothing
};
UndoType type;
@@ -99,6 +100,7 @@ struct UndoOp {
UndoOp(UndoType type, SigEvent* oevent, SigEvent* nevent);
UndoOp(UndoType type, const char* changedFile, const char* changeData, int startframe, int endframe);
UndoOp(UndoType type, Marker* copyMarker, Marker* realMarker);
+ UndoOp(UndoType type);
};
class Undo : public std::list<UndoOp> {