Mercurial > hg > svgui
diff layer/FlexiNoteLayer.h @ 806:4c8ca536b54f warnfix_no_size_t
Some more unsigned/long removal
author | Chris Cannam |
---|---|
date | Tue, 17 Jun 2014 15:36:56 +0100 |
parents | 1d526ba11a24 |
children | 40c6c9344ff6 |
line wrap: on
line diff
--- a/layer/FlexiNoteLayer.h Tue Jun 17 15:18:06 2014 +0100 +++ b/layer/FlexiNoteLayer.h Tue Jun 17 15:36:56 2014 +0100 @@ -137,13 +137,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. @@ -186,8 +186,8 @@ int m_dragStartY; FlexiNoteModel::Point m_originalPoint; FlexiNoteModel::Point m_editingPoint; - long m_greatestLeftNeighbourFrame; - long m_smallestRightNeighbourFrame; + int m_greatestLeftNeighbourFrame; + int m_smallestRightNeighbourFrame; FlexiNoteModel::EditCommand *m_editingCommand; VerticalScale m_verticalScale; EditMode m_editMode;