mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-11-26 15:20:29 +01:00
2020-12-26 Fred Gleason <fredg@paravelsystems.com>
* Removed dependency on 'Q3PointArray' from 'RDWavePainter'. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
//
|
||||
// A Painter Class for Drawing Audio Waveforms
|
||||
//
|
||||
// (C) Copyright 2002-2005,2016 Fred Gleason <fredg@paravelsystems.com>
|
||||
// (C) Copyright 2002-2020 Fred Gleason <fredg@paravelsystems.com>
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License version 2 as
|
||||
@@ -124,7 +124,7 @@ void RDWavePainter::drawWaveBySamples(int x,int w,int startsamp,int endsamp,
|
||||
resetXForm();
|
||||
setPen(color);
|
||||
setBrush(color);
|
||||
Q3PointArray array(w+2);
|
||||
QPolygon array(w+2);
|
||||
array.setPoint(0,0,center);
|
||||
array.setPoint(w+1,w+1,center);
|
||||
switch(effective_channel) {
|
||||
|
||||
Reference in New Issue
Block a user