comparison 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
comparison
equal deleted inserted replaced
805:1d526ba11a24 806:4c8ca536b54f
135 /** 135 /**
136 * Add a note-on. Used when recording MIDI "live". The note will 136 * Add a note-on. Used when recording MIDI "live". The note will
137 * not be finally added to the layer until the corresponding 137 * not be finally added to the layer until the corresponding
138 * note-off. 138 * note-off.
139 */ 139 */
140 void addNoteOn(long frame, int pitch, int velocity); 140 void addNoteOn(int frame, int pitch, int velocity);
141 141
142 /** 142 /**
143 * Add a note-off. This will cause a note to appear, if and only 143 * Add a note-off. This will cause a note to appear, if and only
144 * if there is a matching pending note-on. 144 * if there is a matching pending note-on.
145 */ 145 */
146 void addNoteOff(long frame, int pitch); 146 void addNoteOff(int frame, int pitch);
147 147
148 /** 148 /**
149 * Abandon all pending note-on events. 149 * Abandon all pending note-on events.
150 */ 150 */
151 void abandonNoteOns(); 151 void abandonNoteOns();
184 int m_dragPointY; 184 int m_dragPointY;
185 int m_dragStartX; 185 int m_dragStartX;
186 int m_dragStartY; 186 int m_dragStartY;
187 FlexiNoteModel::Point m_originalPoint; 187 FlexiNoteModel::Point m_originalPoint;
188 FlexiNoteModel::Point m_editingPoint; 188 FlexiNoteModel::Point m_editingPoint;
189 long m_greatestLeftNeighbourFrame; 189 int m_greatestLeftNeighbourFrame;
190 long m_smallestRightNeighbourFrame; 190 int m_smallestRightNeighbourFrame;
191 FlexiNoteModel::EditCommand *m_editingCommand; 191 FlexiNoteModel::EditCommand *m_editingCommand;
192 VerticalScale m_verticalScale; 192 VerticalScale m_verticalScale;
193 EditMode m_editMode; 193 EditMode m_editMode;
194 194
195 typedef std::set<FlexiNoteModel::Point, FlexiNoteModel::Point::Comparator> FlexiNoteSet; 195 typedef std::set<FlexiNoteModel::Point, FlexiNoteModel::Point::Comparator> FlexiNoteSet;