Mercurial > hg > svgui
comparison layer/RegionLayer.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 | b66fb15de477 |
comparison
equal
deleted
inserted
replaced
782:ddae586bc47b | 805:1d526ba11a24 |
---|---|
43 | 43 |
44 virtual int getVerticalScaleWidth(View *v, bool, QPainter &) const; | 44 virtual int getVerticalScaleWidth(View *v, bool, QPainter &) const; |
45 virtual void paintVerticalScale(View *v, bool, QPainter &paint, QRect rect) const; | 45 virtual void paintVerticalScale(View *v, bool, QPainter &paint, QRect rect) const; |
46 | 46 |
47 virtual QString getFeatureDescription(View *v, QPoint &) const; | 47 virtual QString getFeatureDescription(View *v, QPoint &) const; |
48 virtual QString getLabelPreceding(size_t) const; | 48 virtual QString getLabelPreceding(int) const; |
49 | 49 |
50 virtual bool snapToFeatureFrame(View *v, int &frame, | 50 virtual bool snapToFeatureFrame(View *v, int &frame, |
51 size_t &resolution, | 51 int &resolution, |
52 SnapType snap) const; | 52 SnapType snap) const; |
53 virtual bool snapToSimilarFeature(View *v, int &frame, | 53 virtual bool snapToSimilarFeature(View *v, int &frame, |
54 size_t &resolution, | 54 int &resolution, |
55 SnapType snap) const; | 55 SnapType snap) const; |
56 | 56 |
57 virtual void drawStart(View *v, QMouseEvent *); | 57 virtual void drawStart(View *v, QMouseEvent *); |
58 virtual void drawDrag(View *v, QMouseEvent *); | 58 virtual void drawDrag(View *v, QMouseEvent *); |
59 virtual void drawEnd(View *v, QMouseEvent *); | 59 virtual void drawEnd(View *v, QMouseEvent *); |
66 virtual void editDrag(View *v, QMouseEvent *); | 66 virtual void editDrag(View *v, QMouseEvent *); |
67 virtual void editEnd(View *v, QMouseEvent *); | 67 virtual void editEnd(View *v, QMouseEvent *); |
68 | 68 |
69 virtual bool editOpen(View *v, QMouseEvent *); | 69 virtual bool editOpen(View *v, QMouseEvent *); |
70 | 70 |
71 virtual void moveSelection(Selection s, size_t newStartFrame); | 71 virtual void moveSelection(Selection s, int newStartFrame); |
72 virtual void resizeSelection(Selection s, Selection newSize); | 72 virtual void resizeSelection(Selection s, Selection newSize); |
73 virtual void deleteSelection(Selection s); | 73 virtual void deleteSelection(Selection s); |
74 | 74 |
75 virtual void copy(View *v, Selection s, Clipboard &to); | 75 virtual void copy(View *v, Selection s, Clipboard &to); |
76 virtual bool paste(View *v, const Clipboard &from, int frameOffset, | 76 virtual bool paste(View *v, const Clipboard &from, int frameOffset, |