Mercurial > hg > svgui
diff layer/NoteLayer.h @ 811:c4ef666721bf
Merge from branch warnfix_no_size_t
author | Chris Cannam |
---|---|
date | Wed, 18 Jun 2014 13:51:27 +0100 |
parents | 4c8ca536b54f |
children | b66fb15de477 |
line wrap: on
line diff
--- a/layer/NoteLayer.h Tue Jun 03 11:10:52 2014 +0100 +++ b/layer/NoteLayer.h Wed Jun 18 13:51:27 2014 +0100 @@ -43,7 +43,7 @@ virtual QString getFeatureDescription(View *v, QPoint &) const; virtual bool snapToFeatureFrame(View *v, int &frame, - size_t &resolution, + int &resolution, SnapType snap) const; virtual void drawStart(View *v, QMouseEvent *); @@ -60,7 +60,7 @@ virtual bool editOpen(View *v, QMouseEvent *); - virtual void moveSelection(Selection s, size_t newStartFrame); + virtual void moveSelection(Selection s, int newStartFrame); virtual void resizeSelection(Selection s, Selection newSize); virtual void deleteSelection(Selection s); @@ -113,13 +113,13 @@ * not be finally added to the layer until the corresponding * note-off. */ - void addNoteOn(long frame, int pitch, int velocity); + void addNoteOn(int frame, int pitch, int velocity); /** * Add a note-off. This will cause a note to appear, if and only * if there is a matching pending note-on. */ - void addNoteOff(long frame, int pitch); + void addNoteOff(int frame, int pitch); /** * Abandon all pending note-on events.