comparison data/model/SparseTimeValueModel.h @ 1661:353a2d15f213 single-point

Update TextModel
author Chris Cannam
date Fri, 22 Mar 2019 11:04:51 +0000
parents 8bf3a52a1604
children 82d03c9661f9
comparison
equal deleted inserted replaced
1660:b234d4d011df 1661:353a2d15f213
225 int getColumnCount() const override { 225 int getColumnCount() const override {
226 return 4; 226 return 4;
227 } 227 }
228 228
229 bool isColumnTimeValue(int column) const override { 229 bool isColumnTimeValue(int column) const override {
230 // NB duration is not a "time value" -- that's for columns
231 // whose sort ordering is exactly that of the frame time
232 return (column < 2); 230 return (column < 2);
233 } 231 }
234 232
235 sv_frame_t getFrameForRow(int row) const override { 233 sv_frame_t getFrameForRow(int row) const override {
236 if (row < 0 || row >= m_events.count()) { 234 if (row < 0 || row >= m_events.count()) {