Mercurial > hg > svgui
comparison layer/TimeRulerLayer.h @ 1346:4c28e3302045 zoom
Avoid overflow problems when dealing with large numbers of microseconds
author | Chris Cannam |
---|---|
date | Fri, 28 Sep 2018 18:28:44 +0100 |
parents | ab2cafd3a7cb |
children | a18e78b9c78b |
comparison
equal
deleted
inserted
replaced
1345:3fa8cdbf362c | 1346:4c28e3302045 |
---|---|
66 Model *m_model; | 66 Model *m_model; |
67 LabelHeight m_labelHeight; | 67 LabelHeight m_labelHeight; |
68 | 68 |
69 virtual int getDefaultColourHint(bool dark, bool &impose); | 69 virtual int getDefaultColourHint(bool dark, bool &impose); |
70 | 70 |
71 int getMajorTickUSec(LayerGeometryProvider *, bool &quarterTicks) const; | 71 int64_t getMajorTickUSec(LayerGeometryProvider *, bool &quarterTicks) const; |
72 int getXForUSec(LayerGeometryProvider *, double usec) const; | 72 int getXForUSec(LayerGeometryProvider *, double usec) const; |
73 }; | 73 }; |
74 | 74 |
75 #endif | 75 #endif |