comparison layer/TimeRulerLayer.h @ 905:b66fb15de477 cxx11

Working through the float/double and int/sv_frame_t fixes
author Chris Cannam
date Mon, 09 Mar 2015 14:35:21 +0000
parents 1d526ba11a24
children 94e4952a6774 e53a87a5efb2
comparison
equal deleted inserted replaced
904:e0f08e108064 905:b66fb15de477
39 39
40 enum LabelHeight { LabelTop, LabelMiddle, LabelBottom }; 40 enum LabelHeight { LabelTop, LabelMiddle, LabelBottom };
41 void setLabelHeight(LabelHeight h) { m_labelHeight = h; } 41 void setLabelHeight(LabelHeight h) { m_labelHeight = h; }
42 LabelHeight getLabelHeight() const { return m_labelHeight; } 42 LabelHeight getLabelHeight() const { return m_labelHeight; }
43 43
44 virtual bool snapToFeatureFrame(View *, int &, int &, SnapType) const; 44 virtual bool snapToFeatureFrame(View *, sv_frame_t &, int &, SnapType) const;
45 45
46 virtual ColourSignificance getLayerColourSignificance() const { 46 virtual ColourSignificance getLayerColourSignificance() const {
47 return ColourIrrelevant; 47 return ColourIrrelevant;
48 } 48 }
49 49
50 virtual bool getValueExtents(float &, float &, bool &, QString &) const { 50 virtual bool getValueExtents(double &, double &, bool &, QString &) const {
51 return false; 51 return false;
52 } 52 }
53 53
54 virtual QString getLayerPresentationName() const; 54 virtual QString getLayerPresentationName() const;
55 55