comparison data/model/SparseTimeValueModel.h @ 1126:39019ce29178 tony-2.0-integration

Merge through to branch for Tony 2.0
author Chris Cannam
date Thu, 20 Aug 2015 14:54:21 +0100
parents 1517d4c60e88
children 48e9f538e6e9
comparison
equal deleted inserted replaced
1119:e22bfe8ca248 1126:39019ce29178
27 */ 27 */
28 28
29 struct TimeValuePoint 29 struct TimeValuePoint
30 { 30 {
31 public: 31 public:
32 TimeValuePoint(long _frame) : frame(_frame), value(0.0f) { } 32 TimeValuePoint(sv_frame_t _frame) : frame(_frame), value(0.0f) { }
33 TimeValuePoint(long _frame, float _value, QString _label) : 33 TimeValuePoint(sv_frame_t _frame, float _value, QString _label) :
34 frame(_frame), value(_value), label(_label) { } 34 frame(_frame), value(_value), label(_label) { }
35 35
36 int getDimensions() const { return 2; } 36 int getDimensions() const { return 2; }
37 37
38 long frame; 38 sv_frame_t frame;
39 float value; 39 float value;
40 QString label; 40 QString label;
41 41
42 QString getLabel() const { return label; } 42 QString getLabel() const { return label; }
43 43