Mercurial > hg > svgui
comparison view/View.h @ 1078:ee01a4062747 spectrogram-minor-refactor
Move drawVisibleText to PaintAssistant
author | Chris Cannam |
---|---|
date | Thu, 30 Jun 2016 12:40:22 +0100 |
parents | 5144d7185fb5 |
children | 179ea8a2f650 |
comparison
equal
deleted
inserted
replaced
1077:5144d7185fb5 | 1078:ee01a4062747 |
---|---|
263 virtual bool getFollowGlobalZoom() const { return m_followZoom; } | 263 virtual bool getFollowGlobalZoom() const { return m_followZoom; } |
264 | 264 |
265 virtual bool hasLightBackground() const; | 265 virtual bool hasLightBackground() const; |
266 virtual QColor getForeground() const; | 266 virtual QColor getForeground() const; |
267 virtual QColor getBackground() const; | 267 virtual QColor getBackground() const; |
268 | |
269 virtual void drawVisibleText(QPainter &p, int x, int y, | |
270 QString text, TextStyle style) const; | |
271 | 268 |
272 virtual void drawMeasurementRect(QPainter &p, const Layer *, | 269 virtual void drawMeasurementRect(QPainter &p, const Layer *, |
273 QRect rect, bool focus) const; | 270 QRect rect, bool focus) const; |
274 | 271 |
275 virtual bool shouldShowFeatureLabels() const { | 272 virtual bool shouldShowFeatureLabels() const { |