Mercurial > hg > svgui
comparison layer/TimeInstantLayer.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 | b66fb15de477 |
comparison
equal
deleted
inserted
replaced
782:ddae586bc47b | 805:1d526ba11a24 |
---|---|
33 TimeInstantLayer(); | 33 TimeInstantLayer(); |
34 virtual ~TimeInstantLayer(); | 34 virtual ~TimeInstantLayer(); |
35 | 35 |
36 virtual void paint(View *v, QPainter &paint, QRect rect) const; | 36 virtual void paint(View *v, QPainter &paint, QRect rect) const; |
37 | 37 |
38 virtual QString getLabelPreceding(size_t) const; | 38 virtual QString getLabelPreceding(int) const; |
39 virtual QString getFeatureDescription(View *v, QPoint &) const; | 39 virtual QString getFeatureDescription(View *v, QPoint &) const; |
40 | 40 |
41 virtual bool snapToFeatureFrame(View *v, int &frame, | 41 virtual bool snapToFeatureFrame(View *v, int &frame, |
42 size_t &resolution, | 42 int &resolution, |
43 SnapType snap) const; | 43 SnapType snap) const; |
44 | 44 |
45 virtual void drawStart(View *v, QMouseEvent *); | 45 virtual void drawStart(View *v, QMouseEvent *); |
46 virtual void drawDrag(View *v, QMouseEvent *); | 46 virtual void drawDrag(View *v, QMouseEvent *); |
47 virtual void drawEnd(View *v, QMouseEvent *); | 47 virtual void drawEnd(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 bool editOpen(View *, QMouseEvent *); | 57 virtual bool editOpen(View *, QMouseEvent *); |
58 | 58 |
59 virtual void moveSelection(Selection s, size_t newStartFrame); | 59 virtual void moveSelection(Selection s, int newStartFrame); |
60 virtual void resizeSelection(Selection s, Selection newSize); | 60 virtual void resizeSelection(Selection s, Selection newSize); |
61 virtual void deleteSelection(Selection s); | 61 virtual void deleteSelection(Selection s); |
62 | 62 |
63 virtual void copy(View *v, Selection s, Clipboard &to); | 63 virtual void copy(View *v, Selection s, Clipboard &to); |
64 virtual bool paste(View *v, const Clipboard &from, int frameOffset, | 64 virtual bool paste(View *v, const Clipboard &from, int frameOffset, |