comparison layer/NoteLayer.h @ 374:64e84e5efb76 spectrogram-cache-rejig

* Merge from trunk
author Chris Cannam
date Wed, 27 Feb 2008 11:59:42 +0000
parents c0b9eec70639
children
comparison
equal deleted inserted replaced
332:6440e280122e 374:64e84e5efb76
42 42
43 virtual void drawStart(View *v, QMouseEvent *); 43 virtual void drawStart(View *v, QMouseEvent *);
44 virtual void drawDrag(View *v, QMouseEvent *); 44 virtual void drawDrag(View *v, QMouseEvent *);
45 virtual void drawEnd(View *v, QMouseEvent *); 45 virtual void drawEnd(View *v, QMouseEvent *);
46 46
47 virtual void eraseStart(View *v, QMouseEvent *);
48 virtual void eraseDrag(View *v, QMouseEvent *);
49 virtual void eraseEnd(View *v, QMouseEvent *);
50
47 virtual void editStart(View *v, QMouseEvent *); 51 virtual void editStart(View *v, QMouseEvent *);
48 virtual void editDrag(View *v, QMouseEvent *); 52 virtual void editDrag(View *v, QMouseEvent *);
49 virtual void editEnd(View *v, QMouseEvent *); 53 virtual void editEnd(View *v, QMouseEvent *);
50 54
51 virtual bool editOpen(View *v, QMouseEvent *); 55 virtual bool editOpen(View *v, QMouseEvent *);
52 56
53 virtual void moveSelection(Selection s, size_t newStartFrame); 57 virtual void moveSelection(Selection s, size_t newStartFrame);
54 virtual void resizeSelection(Selection s, Selection newSize); 58 virtual void resizeSelection(Selection s, Selection newSize);
55 virtual void deleteSelection(Selection s); 59 virtual void deleteSelection(Selection s);
56 60
57 virtual void copy(Selection s, Clipboard &to); 61 virtual void copy(View *v, Selection s, Clipboard &to);
58 virtual bool paste(const Clipboard &from, int frameOffset, 62 virtual bool paste(View *v, const Clipboard &from, int frameOffset,
59 bool interactive); 63 bool interactive);
60 64
61 virtual const Model *getModel() const { return m_model; } 65 virtual const Model *getModel() const { return m_model; }
62 void setModel(NoteModel *model); 66 void setModel(NoteModel *model);
63 67