diff options
author | Tim E. Real <termtech@rogers.com> | 2011-08-16 07:40:48 +0000 |
---|---|---|
committer | Tim E. Real <termtech@rogers.com> | 2011-08-16 07:40:48 +0000 |
commit | 96cd2ef23505deaadb030ea0f1ef284e8a753452 (patch) | |
tree | 8c77de1c9dabb19f57cd2f41341b23c03981038c /muse2/muse/widgets/view.h | |
parent | 6ea3ca331aeef0b0702ff2d3c3e529cd226c5d8b (diff) |
More drawing fixes, improved accuracy (grids, timescales, edges, markers guaranteed to align now).
Much drawing changed to device (pixel) space instead of virtual space, for accuracy.
Fixed display of audio automation graphs. (But not editing).
Diffstat (limited to 'muse2/muse/widgets/view.h')
-rw-r--r-- | muse2/muse/widgets/view.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/muse2/muse/widgets/view.h b/muse2/muse/widgets/view.h index ad0a6cf9..a932f173 100644 --- a/muse2/muse/widgets/view.h +++ b/muse2/muse/widgets/view.h @@ -50,6 +50,7 @@ class View : public QWidget { virtual void draw(QPainter&, const QRect&) {} virtual void drawOverlay(QPainter&) {} virtual QRect overlayRect() const { return QRect(0, 0, 0, 0); } + virtual void drawTickRaster(QPainter& p, int x, int y, int w, int h, int raster); virtual void pdraw(QPainter&, const QRect&); |