Mercurial > hg > svgui
comparison layer/SpectrogramLayer.cpp @ 1437:e2b6a13a1f69 single-point
Use updated TextModel
author | Chris Cannam |
---|---|
date | Fri, 22 Mar 2019 11:05:11 +0000 |
parents | af824022bffd |
children | 6cf3cb6641e1 |
comparison
equal
deleted
inserted
replaced
1436:c697186a8471 | 1437:e2b6a13a1f69 |
---|---|
1858 void | 1858 void |
1859 SpectrogramLayer::paintCrosshairs(LayerGeometryProvider *v, QPainter &paint, | 1859 SpectrogramLayer::paintCrosshairs(LayerGeometryProvider *v, QPainter &paint, |
1860 QPoint cursorPos) const | 1860 QPoint cursorPos) const |
1861 { | 1861 { |
1862 paint.save(); | 1862 paint.save(); |
1863 | 1863 |
1864 int sw = getVerticalScaleWidth(v, m_haveDetailedScale, paint); | 1864 int sw = getVerticalScaleWidth(v, m_haveDetailedScale, paint); |
1865 | 1865 |
1866 QFont fn = paint.font(); | 1866 QFont fn = paint.font(); |
1867 if (fn.pointSize() > 8) { | 1867 if (fn.pointSize() > 8) { |
1868 fn.setPointSize(fn.pointSize() - 1); | 1868 fn.setPointSize(fn.pointSize() - 1); |