comparison view/Pane.h @ 1475:84c4ddb38415 by-id

Further layer updates
author Chris Cannam
date Tue, 02 Jul 2019 15:29:17 +0100
parents 40b9a495a0e0
children e540aa5d89cd
comparison
equal deleted inserted replaced
1474:36ad3cdabf55 1475:84c4ddb38415
127 void wheelHorizontalFine(int pixels, Qt::KeyboardModifiers); 127 void wheelHorizontalFine(int pixels, Qt::KeyboardModifiers);
128 128
129 void drawVerticalScale(QRect r, Layer *, QPainter &); 129 void drawVerticalScale(QRect r, Layer *, QPainter &);
130 void drawFeatureDescription(Layer *, QPainter &); 130 void drawFeatureDescription(Layer *, QPainter &);
131 void drawCentreLine(sv_samplerate_t, QPainter &, bool omitLine); 131 void drawCentreLine(sv_samplerate_t, QPainter &, bool omitLine);
132 void drawModelTimeExtents(QRect, QPainter &, const Model *); 132 void drawModelTimeExtents(QRect, QPainter &, const Model &);
133 void drawDurationAndRate(QRect, const Model *, sv_samplerate_t, QPainter &); 133 void drawDurationAndRate(QRect, const Model &, sv_samplerate_t, QPainter &);
134 void drawWorkTitle(QRect, QPainter &, const Model *); 134 void drawWorkTitle(QRect, QPainter &, const Model &);
135 void drawLayerNames(QRect, QPainter &); 135 void drawLayerNames(QRect, QPainter &);
136 void drawEditingSelection(QPainter &); 136 void drawEditingSelection(QPainter &);
137 void drawAlignmentStatus(QRect, QPainter &, const Model *, bool down); 137 void drawAlignmentStatus(QRect, QPainter &, const Model &, bool down);
138 138
139 virtual bool render(QPainter &paint, int x0, sv_frame_t f0, sv_frame_t f1) override; 139 virtual bool render(QPainter &paint, int x0, sv_frame_t f0, sv_frame_t f1) override;
140 140
141 Selection getSelectionAt(int x, bool &closeToLeft, bool &closeToRight) const; 141 Selection getSelectionAt(int x, bool &closeToLeft, bool &closeToRight) const;
142 142