comparison layer/NoteLayer.h @ 805:1d526ba11a24 warnfix_no_size_t

Remove size_t's and fix warnings in layer/
author Chris Cannam
date Tue, 17 Jun 2014 15:18:06 +0100
parents 084f65094203
children 4c8ca536b54f
comparison
equal deleted inserted replaced
782:ddae586bc47b 805:1d526ba11a24
41 virtual void paintVerticalScale(View *v, bool, QPainter &paint, QRect rect) const; 41 virtual void paintVerticalScale(View *v, bool, QPainter &paint, QRect rect) const;
42 42
43 virtual QString getFeatureDescription(View *v, QPoint &) const; 43 virtual QString getFeatureDescription(View *v, QPoint &) const;
44 44
45 virtual bool snapToFeatureFrame(View *v, int &frame, 45 virtual bool snapToFeatureFrame(View *v, int &frame,
46 size_t &resolution, 46 int &resolution,
47 SnapType snap) const; 47 SnapType snap) const;
48 48
49 virtual void drawStart(View *v, QMouseEvent *); 49 virtual void drawStart(View *v, QMouseEvent *);
50 virtual void drawDrag(View *v, QMouseEvent *); 50 virtual void drawDrag(View *v, QMouseEvent *);
51 virtual void drawEnd(View *v, QMouseEvent *); 51 virtual void drawEnd(View *v, QMouseEvent *);
58 virtual void editDrag(View *v, QMouseEvent *); 58 virtual void editDrag(View *v, QMouseEvent *);
59 virtual void editEnd(View *v, QMouseEvent *); 59 virtual void editEnd(View *v, QMouseEvent *);
60 60
61 virtual bool editOpen(View *v, QMouseEvent *); 61 virtual bool editOpen(View *v, QMouseEvent *);
62 62
63 virtual void moveSelection(Selection s, size_t newStartFrame); 63 virtual void moveSelection(Selection s, int newStartFrame);
64 virtual void resizeSelection(Selection s, Selection newSize); 64 virtual void resizeSelection(Selection s, Selection newSize);
65 virtual void deleteSelection(Selection s); 65 virtual void deleteSelection(Selection s);
66 66
67 virtual void copy(View *v, Selection s, Clipboard &to); 67 virtual void copy(View *v, Selection s, Clipboard &to);
68 virtual bool paste(View *v, const Clipboard &from, int frameOffset, 68 virtual bool paste(View *v, const Clipboard &from, int frameOffset,