comparison layer/TimeValueLayer.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
45 45
46 virtual void drawStart(View *v, QMouseEvent *); 46 virtual void drawStart(View *v, QMouseEvent *);
47 virtual void drawDrag(View *v, QMouseEvent *); 47 virtual void drawDrag(View *v, QMouseEvent *);
48 virtual void drawEnd(View *v, QMouseEvent *); 48 virtual void drawEnd(View *v, QMouseEvent *);
49 49
50 virtual void eraseStart(View *v, QMouseEvent *);
51 virtual void eraseDrag(View *v, QMouseEvent *);
52 virtual void eraseEnd(View *v, QMouseEvent *);
53
50 virtual void editStart(View *v, QMouseEvent *); 54 virtual void editStart(View *v, QMouseEvent *);
51 virtual void editDrag(View *v, QMouseEvent *); 55 virtual void editDrag(View *v, QMouseEvent *);
52 virtual void editEnd(View *v, QMouseEvent *); 56 virtual void editEnd(View *v, QMouseEvent *);
53 57
54 virtual bool editOpen(View *v, QMouseEvent *); 58 virtual bool editOpen(View *v, QMouseEvent *);
55 59
56 virtual void moveSelection(Selection s, size_t newStartFrame); 60 virtual void moveSelection(Selection s, size_t newStartFrame);
57 virtual void resizeSelection(Selection s, Selection newSize); 61 virtual void resizeSelection(Selection s, Selection newSize);
58 virtual void deleteSelection(Selection s); 62 virtual void deleteSelection(Selection s);
59 63
60 virtual void copy(Selection s, Clipboard &to); 64 virtual void copy(View *v, Selection s, Clipboard &to);
61 virtual bool paste(const Clipboard &from, int frameOffset, 65 virtual bool paste(View *v, const Clipboard &from, int frameOffset,
62 bool interactive); 66 bool interactive);
63 67
64 virtual const Model *getModel() const { return m_model; } 68 virtual const Model *getModel() const { return m_model; }
65 void setModel(SparseTimeValueModel *model); 69 void setModel(SparseTimeValueModel *model);
66 70