comparison layer/ImageLayer.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 5b72899d692b
children 4c8ca536b54f
comparison
equal deleted inserted replaced
782:ddae586bc47b 805:1d526ba11a24
41 virtual void paint(View *v, QPainter &paint, QRect rect) const; 41 virtual void paint(View *v, 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 *);
52 52
53 virtual void editStart(View *v, QMouseEvent *); 53 virtual void editStart(View *v, QMouseEvent *);
54 virtual void editDrag(View *v, QMouseEvent *); 54 virtual void editDrag(View *v, QMouseEvent *);
55 virtual void editEnd(View *v, QMouseEvent *); 55 virtual void editEnd(View *v, QMouseEvent *);
56 56
57 virtual void moveSelection(Selection s, size_t newStartFrame); 57 virtual void moveSelection(Selection s, int newStartFrame);
58 virtual void resizeSelection(Selection s, Selection newSize); 58 virtual void resizeSelection(Selection s, Selection newSize);
59 virtual void deleteSelection(Selection s); 59 virtual void deleteSelection(Selection s);
60 60
61 virtual void copy(View *v, Selection s, Clipboard &to); 61 virtual void copy(View *v, Selection s, Clipboard &to);
62 virtual bool paste(View *v, const Clipboard &from, int frameOffset, 62 virtual bool paste(View *v, const Clipboard &from, int frameOffset,