mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-08-16 08:34:12 +02:00
2021-02-15 Fred Gleason <fredg@paravelsystems.com>
* Removed the 'Q3PointArray' dependency from 'RDEditAudio'. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
parent
1ae7c84224
commit
a236f636a5
@ -21147,3 +21147,5 @@
|
|||||||
* Removed the 'Q3PopupMenu' dependency from 'RDEditAudio'.
|
* Removed the 'Q3PopupMenu' dependency from 'RDEditAudio'.
|
||||||
2021-02-15 Fred Gleason <fredg@paravelsystems.com>
|
2021-02-15 Fred Gleason <fredg@paravelsystems.com>
|
||||||
* Removed the 'Q3RangeControl' dependency from 'RDEditAudio'.
|
* Removed the 'Q3RangeControl' dependency from 'RDEditAudio'.
|
||||||
|
2021-02-15 Fred Gleason <fredg@paravelsystems.com>
|
||||||
|
* Removed the 'Q3PointArray' dependency from 'RDEditAudio'.
|
||||||
|
@ -695,7 +695,7 @@ RDEditAudio::RDEditAudio(RDCart *cart,QString cut_name,int card,
|
|||||||
tr("Unable to download peak data, error was:\n\"")+
|
tr("Unable to download peak data, error was:\n\"")+
|
||||||
RDPeaksExport::errorText(conv_err)+"\".");
|
RDPeaksExport::errorText(conv_err)+"\".");
|
||||||
}
|
}
|
||||||
edit_wave_array=new Q3PointArray(EDITAUDIO_WAVEFORM_WIDTH-2);
|
edit_wave_array=new QPolygon(EDITAUDIO_WAVEFORM_WIDTH-2);
|
||||||
DrawMaps();
|
DrawMaps();
|
||||||
|
|
||||||
//
|
//
|
||||||
@ -2542,7 +2542,7 @@ int RDEditAudio::DrawCursor(int xpos,int ypos,int xsize,int ysize,int chan,
|
|||||||
QPainter::CompositionMode op)
|
QPainter::CompositionMode op)
|
||||||
{
|
{
|
||||||
int x;
|
int x;
|
||||||
Q3PointArray *point;
|
QPolygon *point;
|
||||||
|
|
||||||
if((samp<0)||(prev<0)) {
|
if((samp<0)||(prev<0)) {
|
||||||
return 0;
|
return 0;
|
||||||
@ -2559,7 +2559,7 @@ int RDEditAudio::DrawCursor(int xpos,int ypos,int xsize,int ysize,int chan,
|
|||||||
if(arrow==RDEditAudio::Left) {
|
if(arrow==RDEditAudio::Left) {
|
||||||
p->setClipRect(0,0,xsize+xpos+10,ysize+ypos);
|
p->setClipRect(0,0,xsize+xpos+10,ysize+ypos);
|
||||||
p->setBrush(color);
|
p->setBrush(color);
|
||||||
point=new Q3PointArray(3);
|
point=new QPolygon(3);
|
||||||
point->setPoint(0,x,apos);
|
point->setPoint(0,x,apos);
|
||||||
point->setPoint(1,x+10,apos-5);
|
point->setPoint(1,x+10,apos-5);
|
||||||
point->setPoint(2,x+10,apos+5);
|
point->setPoint(2,x+10,apos+5);
|
||||||
@ -2573,7 +2573,7 @@ int RDEditAudio::DrawCursor(int xpos,int ypos,int xsize,int ysize,int chan,
|
|||||||
if(arrow==RDEditAudio::Right) {
|
if(arrow==RDEditAudio::Right) {
|
||||||
p->setClipRect(-10,0,xsize+10,ysize+ypos);
|
p->setClipRect(-10,0,xsize+10,ysize+ypos);
|
||||||
p->setBrush(color);
|
p->setBrush(color);
|
||||||
point=new Q3PointArray(3);
|
point=new QPolygon(3);
|
||||||
point->setPoint(0,x,apos);
|
point->setPoint(0,x,apos);
|
||||||
point->setPoint(1,x-10,apos-5);
|
point->setPoint(1,x-10,apos-5);
|
||||||
point->setPoint(2,x-10,apos+5);
|
point->setPoint(2,x-10,apos+5);
|
||||||
|
@ -21,8 +21,6 @@
|
|||||||
#ifndef RDEDIT_AUDIO_H
|
#ifndef RDEDIT_AUDIO_H
|
||||||
#define RDEDIT_AUDIO_H
|
#define RDEDIT_AUDIO_H
|
||||||
|
|
||||||
#include <q3pointarray.h>
|
|
||||||
|
|
||||||
#include <QAbstractSlider>
|
#include <QAbstractSlider>
|
||||||
#include <QAction>
|
#include <QAction>
|
||||||
#include <QCheckBox>
|
#include <QCheckBox>
|
||||||
@ -172,7 +170,7 @@ class RDEditAudio : public RDDialog
|
|||||||
RDMarkerEdit *edit_cursor_edit[RDEditAudio::LastMarker];
|
RDMarkerEdit *edit_cursor_edit[RDEditAudio::LastMarker];
|
||||||
QCursor *edit_arrow_cursor;
|
QCursor *edit_arrow_cursor;
|
||||||
QCursor *edit_cross_cursor;
|
QCursor *edit_cross_cursor;
|
||||||
Q3PointArray *edit_wave_array;
|
QPolygon *edit_wave_array;
|
||||||
QSpinBox *edit_trim_box;
|
QSpinBox *edit_trim_box;
|
||||||
RDMarkerButton *edit_cue_button[RDEditAudio::LastMarker];
|
RDMarkerButton *edit_cue_button[RDEditAudio::LastMarker];
|
||||||
QString edit_cue_string;
|
QString edit_cue_string;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user