summaryrefslogtreecommitdiff
path: root/muse2/muse/midiedit/ecanvas.h
diff options
context:
space:
mode:
authorFlorian Jung <flo@windfisch.org>2011-05-22 13:29:19 +0000
committerFlorian Jung <flo@windfisch.org>2011-05-22 13:29:19 +0000
commitdef4fdb391f5207ebbe61881416f39f3d896cc5d (patch)
treec761d3662c2dd78521317830dc35e0f91120416a /muse2/muse/midiedit/ecanvas.h
parent8fbfa07b464210054a177b1e92f47b5f2744d1cc (diff)
- speeded up pasting, shrinking parts, drawing controllers in
the ctrlcanvas and reordering the drum list - applyOperationGroup() now doesn't apply empty opGroups any more - reordering the drum list doesn't cause undo be triggered any more - removed unneccessary song->update() calls after a song->applyOperationGroup() call - cleaned up (removed some commented out code blocks)
Diffstat (limited to 'muse2/muse/midiedit/ecanvas.h')
-rw-r--r--muse2/muse/midiedit/ecanvas.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/muse2/muse/midiedit/ecanvas.h b/muse2/muse/midiedit/ecanvas.h
index 23875598..b3275607 100644
--- a/muse2/muse/midiedit/ecanvas.h
+++ b/muse2/muse/midiedit/ecanvas.h
@@ -53,10 +53,9 @@ class EventCanvas : public Canvas {
virtual void addItem(Part*, Event&) = 0;
// Added by T356.
virtual QPoint raster(const QPoint&) const;
- virtual Undo moveCanvasItems(CItemList&, int, int, DragType, int*) = 0;
+ virtual Undo moveCanvasItems(CItemList&, int, int, DragType) = 0;
virtual UndoOp moveItem(CItem*, const QPoint&, DragType) = 0;
virtual void endMoveItems(const QPoint&, DragType, int dir);
- virtual void updateSong(DragType, int flags = 0);
public slots:
void redrawGrid() { redraw(); }