comparison view/Pane.h @ 326:4f4f38a11cd2

* Factor out uses of "Sonic Visualiser" in "common" code to applicationName() * Add ability to show work title + artist in top-left of pane (thinking of Vect but may be useful in SV in future) * A few other generalisations useful for Vect
author Chris Cannam
date Fri, 09 Nov 2007 17:46:58 +0000
parents 984c1975f1ff
children 1b6879d03cb6
comparison
equal deleted inserted replaced
324:1f67b110c1a3 326:4f4f38a11cd2
101 101
102 void drawVerticalScale(QRect r, Layer *, QPainter &); 102 void drawVerticalScale(QRect r, Layer *, QPainter &);
103 void drawFeatureDescription(Layer *, QPainter &); 103 void drawFeatureDescription(Layer *, QPainter &);
104 void drawCentreLine(int, QPainter &, bool omitLine); 104 void drawCentreLine(int, QPainter &, bool omitLine);
105 void drawDurationAndRate(QRect, const Model *, int, QPainter &); 105 void drawDurationAndRate(QRect, const Model *, int, QPainter &);
106 void drawWorkTitle(QRect, QPainter &, const Model *);
106 void drawLayerNames(QRect, QPainter &); 107 void drawLayerNames(QRect, QPainter &);
107 void drawEditingSelection(QPainter &); 108 void drawEditingSelection(QPainter &);
108 void drawAlignmentStatus(QRect, QPainter &, const Model *); 109 void drawAlignmentStatus(QRect, QPainter &, const Model *, bool down);
109 110
110 virtual bool render(QPainter &paint, int x0, size_t f0, size_t f1); 111 virtual bool render(QPainter &paint, int x0, size_t f0, size_t f1);
111 112
112 Selection getSelectionAt(int x, bool &closeToLeft, bool &closeToRight) const; 113 Selection getSelectionAt(int x, bool &closeToLeft, bool &closeToRight) const;
113 114