Rename a lot…
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
#include <QtCore/QThread>
|
||||
|
||||
#include "Mixer.h"
|
||||
#include "tab_widget.h"
|
||||
#include "TabWidget.h"
|
||||
|
||||
|
||||
class AudioPort;
|
||||
@@ -90,12 +90,12 @@ public:
|
||||
|
||||
|
||||
|
||||
class setupWidget : public tabWidget
|
||||
class setupWidget : public TabWidget
|
||||
{
|
||||
public:
|
||||
setupWidget( const QString & _caption, QWidget * _parent ) :
|
||||
tabWidget( tabWidget::tr( "Settings for %1" ).arg(
|
||||
tabWidget::tr( _caption.toLatin1() ) ).
|
||||
TabWidget( TabWidget::tr( "Settings for %1" ).arg(
|
||||
TabWidget::tr( _caption.toLatin1() ) ).
|
||||
toUpper(), _parent )
|
||||
{
|
||||
}
|
||||
|
||||
@@ -56,7 +56,7 @@ public:
|
||||
#endif
|
||||
|
||||
|
||||
class comboBox;
|
||||
class ComboBox;
|
||||
class LcdSpinBox;
|
||||
|
||||
|
||||
@@ -86,8 +86,8 @@ public:
|
||||
virtual void saveSettings();
|
||||
|
||||
private:
|
||||
comboBox * m_backend;
|
||||
comboBox * m_device;
|
||||
ComboBox * m_backend;
|
||||
ComboBox * m_device;
|
||||
AudioPortAudioSetupUtil m_setupUtil;
|
||||
|
||||
} ;
|
||||
|
||||
@@ -34,17 +34,17 @@
|
||||
#include "MidiTime.h"
|
||||
#include "AutomationPattern.h"
|
||||
#include "ComboBoxModel.h"
|
||||
#include "knob.h"
|
||||
#include "Knob.h"
|
||||
|
||||
|
||||
class QPainter;
|
||||
class QPixmap;
|
||||
class QScrollBar;
|
||||
|
||||
class comboBox;
|
||||
class ComboBox;
|
||||
class NotePlayHandle;
|
||||
class Timeline;
|
||||
class toolButton;
|
||||
class ToolButton;
|
||||
|
||||
|
||||
class AutomationEditor : public QWidget, public JournallingObject
|
||||
@@ -191,27 +191,27 @@ private:
|
||||
|
||||
QWidget * m_toolBar;
|
||||
|
||||
toolButton * m_playButton;
|
||||
toolButton * m_stopButton;
|
||||
ToolButton * m_playButton;
|
||||
ToolButton * m_stopButton;
|
||||
|
||||
toolButton * m_drawButton;
|
||||
toolButton * m_eraseButton;
|
||||
toolButton * m_selectButton;
|
||||
toolButton * m_moveButton;
|
||||
ToolButton * m_drawButton;
|
||||
ToolButton * m_eraseButton;
|
||||
ToolButton * m_selectButton;
|
||||
ToolButton * m_moveButton;
|
||||
|
||||
toolButton * m_discreteButton;
|
||||
toolButton * m_linearButton;
|
||||
toolButton * m_cubicHermiteButton;
|
||||
knob * m_tensionKnob;
|
||||
ToolButton * m_discreteButton;
|
||||
ToolButton * m_linearButton;
|
||||
ToolButton * m_cubicHermiteButton;
|
||||
Knob * m_tensionKnob;
|
||||
FloatModel * m_tensionModel;
|
||||
|
||||
toolButton * m_cutButton;
|
||||
toolButton * m_copyButton;
|
||||
toolButton * m_pasteButton;
|
||||
ToolButton * m_cutButton;
|
||||
ToolButton * m_copyButton;
|
||||
ToolButton * m_pasteButton;
|
||||
|
||||
comboBox * m_zoomingXComboBox;
|
||||
comboBox * m_zoomingYComboBox;
|
||||
comboBox * m_quantizeComboBox;
|
||||
ComboBox * m_zoomingXComboBox;
|
||||
ComboBox * m_zoomingYComboBox;
|
||||
ComboBox * m_quantizeComboBox;
|
||||
|
||||
ComboBoxModel m_zoomingXModel;
|
||||
ComboBoxModel m_zoomingYModel;
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
#define BB_TRACK_CONTAINER_H
|
||||
|
||||
#include "TrackContainer.h"
|
||||
#include "combobox.h"
|
||||
#include "ComboBox.h"
|
||||
|
||||
|
||||
class EXPORT BBTrackContainer : public TrackContainer
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* cpuload_widget.h - widget for displaying CPU-load (partly based on
|
||||
* CPULoadWidget.h - widget for displaying CPU-load (partly based on
|
||||
* Hydrogen's CPU-load-widget)
|
||||
*
|
||||
* Copyright (c) 2005-2014 Tobias Doerffel <tobydox/at/users.sourceforge.net>
|
||||
@@ -34,12 +34,12 @@
|
||||
#include "lmms_basics.h"
|
||||
|
||||
|
||||
class cpuloadWidget : public QWidget
|
||||
class CPULoadWidget : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
cpuloadWidget( QWidget * _parent );
|
||||
virtual ~cpuloadWidget();
|
||||
CPULoadWidget( QWidget * _parent );
|
||||
virtual ~CPULoadWidget();
|
||||
|
||||
|
||||
protected:
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* combobox.h - class ComboBox, a combo box view for models
|
||||
* ComboBox.h - class ComboBox, a combo box view for models
|
||||
*
|
||||
* Copyright (c) 2006-2014 Tobias Doerffel <tobydox/at/users.sourceforge.net>
|
||||
*
|
||||
@@ -34,12 +34,12 @@
|
||||
|
||||
|
||||
|
||||
class EXPORT comboBox : public QWidget, public IntModelView
|
||||
class EXPORT ComboBox : public QWidget, public IntModelView
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
comboBox( QWidget* parent = NULL, const QString& name = QString() );
|
||||
virtual ~comboBox();
|
||||
ComboBox( QWidget* parent = NULL, const QString& name = QString() );
|
||||
virtual ~ComboBox();
|
||||
|
||||
ComboBoxModel* model()
|
||||
{
|
||||
@@ -39,11 +39,11 @@ class QLineEdit;
|
||||
class QListView;
|
||||
class QScrollArea;
|
||||
class AutoDetectMidiController;
|
||||
class comboBox;
|
||||
class groupBox;
|
||||
class tabWidget;
|
||||
class ComboBox;
|
||||
class GroupBox;
|
||||
class TabWidget;
|
||||
class LcdSpinBox;
|
||||
class ledCheckBox;
|
||||
class LedCheckBox;
|
||||
class MidiPortMenu;
|
||||
|
||||
|
||||
@@ -76,19 +76,19 @@ protected slots:
|
||||
|
||||
private:
|
||||
// Midi
|
||||
groupBox * m_midiGroupBox;
|
||||
GroupBox * m_midiGroupBox;
|
||||
LcdSpinBox * m_midiChannelSpinBox;
|
||||
LcdSpinBox * m_midiControllerSpinBox;
|
||||
ledCheckBox * m_midiAutoDetectCheckBox;
|
||||
LedCheckBox * m_midiAutoDetectCheckBox;
|
||||
MidiPortMenu * m_readablePorts;
|
||||
BoolModel m_midiAutoDetect;
|
||||
|
||||
// User
|
||||
groupBox * m_userGroupBox;
|
||||
comboBox * m_userController;
|
||||
GroupBox * m_userGroupBox;
|
||||
ComboBox * m_userController;
|
||||
|
||||
// Mapping
|
||||
tabWidget * m_mappingBox;
|
||||
TabWidget * m_mappingBox;
|
||||
QLineEdit * m_mappingFunction;
|
||||
|
||||
Controller * m_controller;
|
||||
|
||||
@@ -36,7 +36,7 @@ class QLabel;
|
||||
class QPushButton;
|
||||
class QMdiSubWindow;
|
||||
|
||||
class ledCheckBox;
|
||||
class LedCheckBox;
|
||||
|
||||
|
||||
class ControllerView : public QWidget, public ModelView
|
||||
|
||||
@@ -36,7 +36,7 @@ class QScrollArea;
|
||||
class QVBoxLayout;
|
||||
|
||||
class EffectView;
|
||||
class groupBox;
|
||||
class GroupBox;
|
||||
|
||||
|
||||
class EffectRackView : public QWidget, public ModelView
|
||||
@@ -75,7 +75,7 @@ private:
|
||||
|
||||
QVector<EffectView *> m_effectViews;
|
||||
|
||||
groupBox* m_effectsGroupBox;
|
||||
GroupBox* m_effectsGroupBox;
|
||||
QScrollArea* m_scrollArea;
|
||||
|
||||
int m_lastY;
|
||||
|
||||
@@ -36,8 +36,8 @@ class QPushButton;
|
||||
class QMdiSubWindow;
|
||||
|
||||
class EffectControlDialog;
|
||||
class knob;
|
||||
class ledCheckBox;
|
||||
class Knob;
|
||||
class LedCheckBox;
|
||||
class TempoSyncKnob;
|
||||
|
||||
|
||||
@@ -81,10 +81,10 @@ protected:
|
||||
|
||||
private:
|
||||
QPixmap m_bg;
|
||||
ledCheckBox * m_bypass;
|
||||
knob * m_wetDry;
|
||||
LedCheckBox * m_bypass;
|
||||
Knob * m_wetDry;
|
||||
TempoSyncKnob * m_autoQuit;
|
||||
knob * m_gate;
|
||||
Knob * m_gate;
|
||||
QMdiSubWindow * m_subWindow;
|
||||
EffectControlDialog * m_controlView;
|
||||
|
||||
|
||||
@@ -43,7 +43,7 @@ class ProjectJournal;
|
||||
class MainWindow;
|
||||
class Mixer;
|
||||
class PianoRoll;
|
||||
class projectNotes;
|
||||
class ProjectNotes;
|
||||
class Song;
|
||||
class SongEditor;
|
||||
class Ladspa2LMMS;
|
||||
@@ -123,7 +123,7 @@ public:
|
||||
return s_pianoRoll;
|
||||
}
|
||||
|
||||
static projectNotes * getProjectNotes()
|
||||
static ProjectNotes * getProjectNotes()
|
||||
{
|
||||
return s_projectNotes;
|
||||
}
|
||||
@@ -191,7 +191,7 @@ private:
|
||||
static AutomationEditor * s_automationEditor;
|
||||
static bbEditor * s_bbEditor;
|
||||
static PianoRoll* s_pianoRoll;
|
||||
static projectNotes * s_projectNotes;
|
||||
static ProjectNotes * s_projectNotes;
|
||||
static Ladspa2LMMS * s_ladspaManager;
|
||||
|
||||
static QMap<QString, QString> s_pluginFileHandling;
|
||||
|
||||
@@ -36,9 +36,9 @@ class QPixmap;
|
||||
class EnvelopeAndLfoParameters;
|
||||
|
||||
class automatableButtonGroup;
|
||||
class knob;
|
||||
class ledCheckBox;
|
||||
class pixmapButton;
|
||||
class Knob;
|
||||
class LedCheckBox;
|
||||
class PixmapButton;
|
||||
class TempoSyncKnob;
|
||||
|
||||
|
||||
@@ -72,24 +72,24 @@ private:
|
||||
|
||||
|
||||
// envelope stuff
|
||||
knob * m_predelayKnob;
|
||||
knob * m_attackKnob;
|
||||
knob * m_holdKnob;
|
||||
knob * m_decayKnob;
|
||||
knob * m_sustainKnob;
|
||||
knob * m_releaseKnob;
|
||||
knob * m_amountKnob;
|
||||
Knob * m_predelayKnob;
|
||||
Knob * m_attackKnob;
|
||||
Knob * m_holdKnob;
|
||||
Knob * m_decayKnob;
|
||||
Knob * m_sustainKnob;
|
||||
Knob * m_releaseKnob;
|
||||
Knob * m_amountKnob;
|
||||
|
||||
// LFO stuff
|
||||
knob * m_lfoPredelayKnob;
|
||||
knob * m_lfoAttackKnob;
|
||||
Knob * m_lfoPredelayKnob;
|
||||
Knob * m_lfoAttackKnob;
|
||||
TempoSyncKnob * m_lfoSpeedKnob;
|
||||
knob * m_lfoAmountKnob;
|
||||
pixmapButton * m_userLfoBtn;
|
||||
Knob * m_lfoAmountKnob;
|
||||
PixmapButton * m_userLfoBtn;
|
||||
automatableButtonGroup * m_lfoWaveBtnGrp;
|
||||
|
||||
ledCheckBox * m_x100Cb;
|
||||
ledCheckBox * m_controlEnvAmountCb;
|
||||
LedCheckBox * m_x100Cb;
|
||||
LedCheckBox * m_controlEnvAmountCb;
|
||||
|
||||
float m_randomGraph;
|
||||
} ;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* fade_button.h - declaration of class fadeButton
|
||||
* FadeButton.h - declaration of class fadeButton
|
||||
*
|
||||
* Copyright (c) 2005-2009 Tobias Doerffel <tobydox/at/users.sourceforge.net>
|
||||
*
|
||||
@@ -31,14 +31,14 @@
|
||||
#include <QColor>
|
||||
|
||||
|
||||
class fadeButton : public QAbstractButton
|
||||
class FadeButton : public QAbstractButton
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
fadeButton( const QColor & _normal_color, const QColor &
|
||||
FadeButton( const QColor & _normal_color, const QColor &
|
||||
_activated_color, QWidget * _parent );
|
||||
|
||||
virtual ~fadeButton();
|
||||
virtual ~FadeButton();
|
||||
|
||||
|
||||
public slots:
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* fader.h - fader-widget used in FX-mixer - partly taken from Hydrogen
|
||||
* Fader.h - fader-widget used in FX-mixer - partly taken from Hydrogen
|
||||
*
|
||||
* Copyright (c) 2008-2012 Tobias Doerffel <tobydox/at/users.sourceforge.net>
|
||||
*
|
||||
@@ -54,17 +54,17 @@
|
||||
|
||||
#include "AutomatableModelView.h"
|
||||
|
||||
class textFloat;
|
||||
class TextFloat;
|
||||
|
||||
|
||||
class fader : public QWidget, public FloatModelView
|
||||
class Fader : public QWidget, public FloatModelView
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
Q_PROPERTY( QColor peakGreen READ peakGreen WRITE setPeakGreen )
|
||||
Q_PROPERTY( QColor peakRed READ peakRed WRITE setPeakRed )
|
||||
fader( FloatModel * _model, const QString & _name, QWidget * _parent );
|
||||
virtual ~fader();
|
||||
Fader( FloatModel * _model, const QString & _name, QWidget * _parent );
|
||||
virtual ~Fader();
|
||||
|
||||
void setPeak_L( float fPeak );
|
||||
float getPeak_L() { return m_fPeakValue_L; }
|
||||
@@ -116,7 +116,7 @@ private:
|
||||
int m_moveStartPoint;
|
||||
float m_startValue;
|
||||
|
||||
static textFloat * s_textFloat;
|
||||
static TextFloat * s_textFloat;
|
||||
void updateTextFloat();
|
||||
|
||||
QColor m_peakGreen;
|
||||
@@ -29,7 +29,7 @@
|
||||
#include <QWidget>
|
||||
#include <QLabel>
|
||||
|
||||
#include "knob.h"
|
||||
#include "Knob.h"
|
||||
#include "LcdWidget.h"
|
||||
#include "SendButtonIndicator.h"
|
||||
|
||||
@@ -52,7 +52,7 @@ public:
|
||||
inline int channelIndex() { return m_channelIndex; }
|
||||
void setChannelIndex(int index);
|
||||
|
||||
knob * m_sendKnob;
|
||||
Knob * m_sendKnob;
|
||||
SendButtonIndicator * m_sendBtn;
|
||||
|
||||
QBrush backgroundActive() const;
|
||||
|
||||
@@ -34,9 +34,9 @@
|
||||
#include "FxMixer.h"
|
||||
#include "ModelView.h"
|
||||
#include "Engine.h"
|
||||
#include "fader.h"
|
||||
#include "pixmap_button.h"
|
||||
#include "tooltip.h"
|
||||
#include "Fader.h"
|
||||
#include "PixmapButton.h"
|
||||
#include "ToolTip.h"
|
||||
#include "embed.h"
|
||||
#include "EffectRackView.h"
|
||||
|
||||
@@ -54,9 +54,9 @@ public:
|
||||
FxChannelView(QWidget * _parent, FxMixerView * _mv, int _chIndex );
|
||||
|
||||
FxLine * m_fxLine;
|
||||
pixmapButton * m_muteBtn;
|
||||
pixmapButton * m_soloBtn;
|
||||
fader * m_fader;
|
||||
PixmapButton * m_muteBtn;
|
||||
PixmapButton * m_soloBtn;
|
||||
Fader * m_fader;
|
||||
EffectRackView * m_rackView;
|
||||
};
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* graph.h - a QT widget for displaying and manipulating waveforms
|
||||
* Graph.h - a QT widget for displaying and manipulating waveforms
|
||||
*
|
||||
* Copyright (c) 2006-2007 Andreas Brandmaier <andy/at/brandmaier/dot/de>
|
||||
* 2008 Paul Giblock <drfaygo/at/gmail/dot/com>
|
||||
@@ -38,7 +38,7 @@
|
||||
class graphModel;
|
||||
|
||||
|
||||
class EXPORT graph : public QWidget, public ModelView
|
||||
class EXPORT Graph : public QWidget, public ModelView
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
@@ -51,11 +51,11 @@ public:
|
||||
NumGraphStyles
|
||||
};
|
||||
|
||||
graph( QWidget * _parent, graphStyle _style = graph::LinearStyle,
|
||||
Graph( QWidget * _parent, graphStyle _style = Graph::LinearStyle,
|
||||
int _width = 132,
|
||||
int _height = 104
|
||||
);
|
||||
virtual ~graph();
|
||||
virtual ~Graph();
|
||||
|
||||
void setForeground( const QPixmap & _pixmap );
|
||||
|
||||
@@ -179,7 +179,7 @@ private:
|
||||
float m_maxValue;
|
||||
float m_step;
|
||||
|
||||
friend class graph;
|
||||
friend class Graph;
|
||||
|
||||
};
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* group_box.h - LMMS-groupbox
|
||||
* GroupBox.h - LMMS-groupbox
|
||||
*
|
||||
* Copyright (c) 2005-2008 Tobias Doerffel <tobydox/at/users.sourceforge.net>
|
||||
*
|
||||
@@ -29,22 +29,22 @@
|
||||
#include <QWidget>
|
||||
|
||||
#include "AutomatableModelView.h"
|
||||
#include "pixmap_button.h"
|
||||
#include "PixmapButton.h"
|
||||
|
||||
|
||||
class QPixmap;
|
||||
|
||||
|
||||
class groupBox : public QWidget, public BoolModelView
|
||||
class GroupBox : public QWidget, public BoolModelView
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
groupBox( const QString & _caption, QWidget * _parent = NULL );
|
||||
virtual ~groupBox();
|
||||
GroupBox( const QString & _caption, QWidget * _parent = NULL );
|
||||
virtual ~GroupBox();
|
||||
|
||||
virtual void modelChanged();
|
||||
|
||||
pixmapButton * ledButton()
|
||||
PixmapButton * ledButton()
|
||||
{
|
||||
return m_led;
|
||||
}
|
||||
@@ -63,7 +63,7 @@ protected:
|
||||
private:
|
||||
void updatePixmap();
|
||||
|
||||
pixmapButton * m_led;
|
||||
PixmapButton * m_led;
|
||||
QString m_caption;
|
||||
const int m_titleBarHeight;
|
||||
|
||||
@@ -30,9 +30,9 @@
|
||||
#include <QWidget>
|
||||
|
||||
class QLabel;
|
||||
class comboBox;
|
||||
class groupBox;
|
||||
class knob;
|
||||
class ComboBox;
|
||||
class GroupBox;
|
||||
class Knob;
|
||||
class TempoSyncKnob;
|
||||
|
||||
class InstrumentFunctionArpeggio;
|
||||
@@ -53,9 +53,9 @@ private:
|
||||
|
||||
InstrumentFunctionNoteStacking * m_cc;
|
||||
|
||||
groupBox * m_chordsGroupBox;
|
||||
comboBox * m_chordsComboBox;
|
||||
knob * m_chordRangeKnob;
|
||||
GroupBox * m_chordsGroupBox;
|
||||
ComboBox * m_chordsComboBox;
|
||||
Knob * m_chordRangeKnob;
|
||||
|
||||
} ;
|
||||
|
||||
@@ -75,14 +75,14 @@ private:
|
||||
virtual void modelChanged();
|
||||
|
||||
InstrumentFunctionArpeggio * m_a;
|
||||
groupBox * m_arpGroupBox;
|
||||
comboBox * m_arpComboBox;
|
||||
knob * m_arpRangeKnob;
|
||||
GroupBox * m_arpGroupBox;
|
||||
ComboBox * m_arpComboBox;
|
||||
Knob * m_arpRangeKnob;
|
||||
TempoSyncKnob * m_arpTimeKnob;
|
||||
knob * m_arpGateKnob;
|
||||
Knob * m_arpGateKnob;
|
||||
|
||||
comboBox * m_arpDirectionComboBox;
|
||||
comboBox * m_arpModeComboBox;
|
||||
ComboBox * m_arpDirectionComboBox;
|
||||
ComboBox * m_arpModeComboBox;
|
||||
|
||||
} ;
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
#include "ModelView.h"
|
||||
|
||||
|
||||
class groupBox;
|
||||
class GroupBox;
|
||||
class LcdSpinBox;
|
||||
class QToolButton;
|
||||
|
||||
@@ -46,12 +46,12 @@ public:
|
||||
private:
|
||||
virtual void modelChanged();
|
||||
|
||||
groupBox * m_midiInputGroupBox;
|
||||
GroupBox * m_midiInputGroupBox;
|
||||
LcdSpinBox * m_inputChannelSpinBox;
|
||||
LcdSpinBox * m_fixedInputVelocitySpinBox;
|
||||
QToolButton * m_rpBtn;
|
||||
|
||||
groupBox * m_midiOutputGroupBox;
|
||||
GroupBox * m_midiOutputGroupBox;
|
||||
LcdSpinBox * m_outputChannelSpinBox;
|
||||
LcdSpinBox * m_fixedOutputVelocitySpinBox;
|
||||
LcdSpinBox * m_outputProgramSpinBox;
|
||||
|
||||
@@ -33,10 +33,10 @@
|
||||
class QLabel;
|
||||
|
||||
class EnvelopeAndLfoView;
|
||||
class comboBox;
|
||||
class groupBox;
|
||||
class knob;
|
||||
class tabWidget;
|
||||
class ComboBox;
|
||||
class GroupBox;
|
||||
class Knob;
|
||||
class TabWidget;
|
||||
|
||||
|
||||
class InstrumentSoundShapingView : public QWidget, public ModelView
|
||||
@@ -54,14 +54,14 @@ private:
|
||||
|
||||
|
||||
InstrumentSoundShaping * m_ss;
|
||||
tabWidget * m_targetsTabWidget;
|
||||
TabWidget * m_targetsTabWidget;
|
||||
EnvelopeAndLfoView * m_envLfoViews[InstrumentSoundShaping::NumTargets];
|
||||
|
||||
// filter-stuff
|
||||
groupBox * m_filterGroupBox;
|
||||
comboBox * m_filterComboBox;
|
||||
knob * m_filterCutKnob;
|
||||
knob * m_filterResKnob;
|
||||
GroupBox * m_filterGroupBox;
|
||||
ComboBox * m_filterComboBox;
|
||||
Knob * m_filterCutKnob;
|
||||
Knob * m_filterResKnob;
|
||||
|
||||
QLabel* m_singleStreamInfoLabel;
|
||||
|
||||
|
||||
@@ -44,17 +44,17 @@ class InstrumentFunctionArpeggioView;
|
||||
class InstrumentFunctionNoteStackingView;
|
||||
class EffectRackView;
|
||||
class InstrumentSoundShapingView;
|
||||
class fadeButton;
|
||||
class FadeButton;
|
||||
class Instrument;
|
||||
class InstrumentTrackWindow;
|
||||
class InstrumentMidiIOView;
|
||||
class knob;
|
||||
class Knob;
|
||||
class LcdSpinBox;
|
||||
class midiPortMenu;
|
||||
class DataFile;
|
||||
class PluginView;
|
||||
class tabWidget;
|
||||
class trackLabelButton;
|
||||
class TabWidget;
|
||||
class TrackLabelButton;
|
||||
|
||||
|
||||
class EXPORT InstrumentTrack : public Track, public MidiEventProcessor
|
||||
@@ -321,10 +321,10 @@ private:
|
||||
static QQueue<InstrumentTrackWindow *> s_windowCache;
|
||||
|
||||
// widgets in track-settings-widget
|
||||
trackLabelButton * m_tlb;
|
||||
knob * m_volumeKnob;
|
||||
knob * m_panningKnob;
|
||||
fadeButton * m_activityIndicator;
|
||||
TrackLabelButton * m_tlb;
|
||||
Knob * m_volumeKnob;
|
||||
Knob * m_panningKnob;
|
||||
FadeButton * m_activityIndicator;
|
||||
|
||||
QMenu * m_midiMenu;
|
||||
|
||||
@@ -350,7 +350,7 @@ public:
|
||||
virtual ~InstrumentTrackWindow();
|
||||
|
||||
// parent for all internal tab-widgets
|
||||
tabWidget * tabWidgetParent()
|
||||
TabWidget * tabWidgetParent()
|
||||
{
|
||||
return m_tabWidget;
|
||||
}
|
||||
@@ -406,15 +406,15 @@ private:
|
||||
|
||||
// widgets on the top of an instrument-track-window
|
||||
QLineEdit * m_nameLineEdit;
|
||||
knob * m_volumeKnob;
|
||||
knob * m_panningKnob;
|
||||
knob * m_pitchKnob;
|
||||
Knob * m_volumeKnob;
|
||||
Knob * m_panningKnob;
|
||||
Knob * m_pitchKnob;
|
||||
LcdSpinBox* m_pitchRangeSpinBox;
|
||||
LcdSpinBox * m_effectChannelNumber;
|
||||
|
||||
|
||||
// tab-widget with all children
|
||||
tabWidget * m_tabWidget;
|
||||
TabWidget * m_tabWidget;
|
||||
PluginView * m_instrumentView;
|
||||
InstrumentSoundShapingView * m_ssView;
|
||||
InstrumentFunctionNoteStackingView* m_noteStackingView;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* knob.h - powerful knob-widget
|
||||
* Knob.h - powerful knob-widget
|
||||
*
|
||||
* Copyright (c) 2004-2008 Tobias Doerffel <tobydox/at/users.sourceforge.net>
|
||||
*
|
||||
@@ -34,7 +34,7 @@
|
||||
|
||||
|
||||
class QPixmap;
|
||||
class textFloat;
|
||||
class TextFloat;
|
||||
|
||||
enum knobTypes
|
||||
{
|
||||
@@ -43,7 +43,7 @@ enum knobTypes
|
||||
|
||||
|
||||
|
||||
class EXPORT knob : public QWidget, public FloatModelView
|
||||
class EXPORT Knob : public QWidget, public FloatModelView
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_ENUMS( knobTypes )
|
||||
@@ -70,9 +70,9 @@ class EXPORT knob : public QWidget, public FloatModelView
|
||||
void onKnobNumUpdated(); //!< to be called when you updated @a m_knobNum
|
||||
|
||||
public:
|
||||
knob( knobTypes _knob_num, QWidget * _parent = NULL, const QString & _name = QString() );
|
||||
knob( QWidget * _parent = NULL, const QString & _name = QString() ); //!< default ctor
|
||||
virtual ~knob();
|
||||
Knob( knobTypes _knob_num, QWidget * _parent = NULL, const QString & _name = QString() );
|
||||
Knob( QWidget * _parent = NULL, const QString & _name = QString() ); //!< default ctor
|
||||
virtual ~Knob();
|
||||
|
||||
// TODO: remove
|
||||
inline void setHintText( const QString & _txt_before,
|
||||
@@ -161,7 +161,7 @@ private:
|
||||
}
|
||||
|
||||
|
||||
static textFloat * s_textFloat;
|
||||
static TextFloat * s_textFloat;
|
||||
|
||||
QString m_label;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* led_checkbox.h - class ledCheckBox, an improved QCheckBox
|
||||
* LedCheckbox.h - class LedCheckBox, an improved QCheckBox
|
||||
*
|
||||
* Copyright (c) 2005-2008 Tobias Doerffel <tobydox/at/users.sourceforge.net>
|
||||
*
|
||||
@@ -32,7 +32,7 @@
|
||||
class QPixmap;
|
||||
|
||||
|
||||
class EXPORT ledCheckBox : public AutomatableButton
|
||||
class EXPORT LedCheckBox : public AutomatableButton
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
@@ -44,14 +44,14 @@ public:
|
||||
NumColors
|
||||
} ;
|
||||
|
||||
ledCheckBox( const QString & _txt, QWidget * _parent,
|
||||
LedCheckBox( const QString & _txt, QWidget * _parent,
|
||||
const QString & _name = QString::null,
|
||||
LedColors _color = Yellow );
|
||||
ledCheckBox( QWidget * _parent,
|
||||
LedCheckBox( QWidget * _parent,
|
||||
const QString & _name = QString::null,
|
||||
LedColors _color = Yellow );
|
||||
|
||||
virtual ~ledCheckBox();
|
||||
virtual ~LedCheckBox();
|
||||
|
||||
|
||||
inline const QString & text()
|
||||
@@ -35,10 +35,10 @@
|
||||
#include "Oscillator.h"
|
||||
|
||||
class automatableButtonGroup;
|
||||
class knob;
|
||||
class ledCheckBox;
|
||||
class Knob;
|
||||
class LedCheckBox;
|
||||
class TempoSyncKnob;
|
||||
class pixmapButton;
|
||||
class PixmapButton;
|
||||
|
||||
|
||||
class LfoController : public Controller
|
||||
@@ -103,17 +103,17 @@ protected:
|
||||
|
||||
LfoController * m_lfo;
|
||||
|
||||
knob * m_baseKnob;
|
||||
Knob * m_baseKnob;
|
||||
TempoSyncKnob * m_speedKnob;
|
||||
knob * m_amountKnob;
|
||||
knob * m_phaseKnob;
|
||||
pixmapButton * m_userLfoBtn;
|
||||
Knob * m_amountKnob;
|
||||
Knob * m_phaseKnob;
|
||||
PixmapButton * m_userLfoBtn;
|
||||
automatableButtonGroup * m_waveBtnGrp;
|
||||
automatableButtonGroup * m_multiplierBtnGrp;
|
||||
|
||||
|
||||
private:
|
||||
pixmapButton * m_userWaveBtn;
|
||||
PixmapButton * m_userWaveBtn;
|
||||
|
||||
private slots:
|
||||
void askUserDefWave();
|
||||
|
||||
@@ -37,7 +37,7 @@ class QMdiArea;
|
||||
|
||||
class ConfigManager;
|
||||
class PluginView;
|
||||
class toolButton;
|
||||
class ToolButton;
|
||||
|
||||
|
||||
class MainWindow : public QMainWindow
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
|
||||
#include "MidiEvent.h"
|
||||
#include "MidiEventProcessor.h"
|
||||
#include "tab_widget.h"
|
||||
#include "TabWidget.h"
|
||||
|
||||
|
||||
class MidiPort;
|
||||
@@ -107,11 +107,11 @@ public:
|
||||
static MidiClient * openMidiClient();
|
||||
|
||||
|
||||
class setupWidget : public tabWidget
|
||||
class setupWidget : public TabWidget
|
||||
{
|
||||
public:
|
||||
setupWidget( const QString & _caption, QWidget * _parent ) :
|
||||
tabWidget( tabWidget::tr( "Settings for %1" ).arg(
|
||||
TabWidget( TabWidget::tr( "Settings for %1" ).arg(
|
||||
tr( _caption.toLatin1() ) ).toUpper(),
|
||||
_parent )
|
||||
{
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* nstate_button.h - declaration of class nStateButton
|
||||
* NStateButton.h - declaration of class nStateButton
|
||||
*
|
||||
* Copyright (c) 2005 Tobias Doerffel <tobydox/at/users.sourceforge.net>
|
||||
*
|
||||
@@ -30,15 +30,15 @@
|
||||
#include <QtCore/QVector>
|
||||
#include <QtCore/QPair>
|
||||
|
||||
#include "tool_button.h"
|
||||
#include "ToolButton.h"
|
||||
|
||||
|
||||
class nStateButton : public toolButton
|
||||
class NStateButton : public ToolButton
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
nStateButton( QWidget * _parent );
|
||||
virtual ~nStateButton();
|
||||
NStateButton( QWidget * _parent );
|
||||
virtual ~NStateButton();
|
||||
void addState( const QPixmap & _pixmap, const QString & _tooltip = "" );
|
||||
|
||||
inline void setGeneralToolTip( const QString & _tooltip )
|
||||
@@ -33,7 +33,7 @@
|
||||
#include "ControllerDialog.h"
|
||||
|
||||
class automatableButtonGroup;
|
||||
class knob;
|
||||
class Knob;
|
||||
class PeakControllerEffect;
|
||||
|
||||
typedef QVector<PeakControllerEffect *> PeakControllerEffectVector;
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
#include "Note.h"
|
||||
#include "lmms_basics.h"
|
||||
#include "Song.h"
|
||||
#include "tooltip.h"
|
||||
#include "ToolTip.h"
|
||||
|
||||
class QPainter;
|
||||
class QPixmap;
|
||||
@@ -44,11 +44,11 @@ class QString;
|
||||
class QMenu;
|
||||
class QSignalMapper;
|
||||
|
||||
class comboBox;
|
||||
class ComboBox;
|
||||
class NotePlayHandle;
|
||||
class Pattern;
|
||||
class Timeline;
|
||||
class toolButton;
|
||||
class ToolButton;
|
||||
|
||||
class PianoRoll : public QWidget, public SerializingObject
|
||||
{
|
||||
@@ -262,29 +262,29 @@ private:
|
||||
|
||||
static PianoRollKeyTypes prKeyOrder[];
|
||||
|
||||
static textFloat * s_textFloat;
|
||||
static TextFloat * s_textFloat;
|
||||
|
||||
QWidget * m_toolBar;
|
||||
|
||||
toolButton * m_playButton;
|
||||
toolButton * m_recordButton;
|
||||
toolButton * m_recordAccompanyButton;
|
||||
toolButton * m_stopButton;
|
||||
ToolButton * m_playButton;
|
||||
ToolButton * m_recordButton;
|
||||
ToolButton * m_recordAccompanyButton;
|
||||
ToolButton * m_stopButton;
|
||||
|
||||
toolButton * m_drawButton;
|
||||
toolButton * m_eraseButton;
|
||||
toolButton * m_selectButton;
|
||||
toolButton * m_detuneButton;
|
||||
ToolButton * m_drawButton;
|
||||
ToolButton * m_eraseButton;
|
||||
ToolButton * m_selectButton;
|
||||
ToolButton * m_detuneButton;
|
||||
|
||||
toolButton * m_cutButton;
|
||||
toolButton * m_copyButton;
|
||||
toolButton * m_pasteButton;
|
||||
ToolButton * m_cutButton;
|
||||
ToolButton * m_copyButton;
|
||||
ToolButton * m_pasteButton;
|
||||
|
||||
comboBox * m_zoomingComboBox;
|
||||
comboBox * m_quantizeComboBox;
|
||||
comboBox * m_noteLenComboBox;
|
||||
comboBox * m_scaleComboBox;
|
||||
comboBox * m_chordComboBox;
|
||||
ComboBox * m_zoomingComboBox;
|
||||
ComboBox * m_quantizeComboBox;
|
||||
ComboBox * m_noteLenComboBox;
|
||||
ComboBox * m_scaleComboBox;
|
||||
ComboBox * m_chordComboBox;
|
||||
|
||||
ComboBoxModel m_zoomingModel;
|
||||
ComboBoxModel m_quantizeModel;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* pixmap_button.h - declaration of class pixmapButton
|
||||
* PixmapButton.h - declaration of class pixmapButton
|
||||
*
|
||||
* Copyright (c) 2004-2008 Tobias Doerffel <tobydox/at/users.sourceforge.net>
|
||||
*
|
||||
@@ -31,13 +31,13 @@
|
||||
#include "AutomatableButton.h"
|
||||
|
||||
|
||||
class EXPORT pixmapButton : public AutomatableButton
|
||||
class EXPORT PixmapButton : public AutomatableButton
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
pixmapButton( QWidget * _parent,
|
||||
PixmapButton( QWidget * _parent,
|
||||
const QString & _name = QString::null );
|
||||
virtual ~pixmapButton();
|
||||
virtual ~PixmapButton();
|
||||
|
||||
void setActiveGraphic( const QPixmap & _pm );
|
||||
void setInactiveGraphic( const QPixmap & _pm, bool _update = true );
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* project_notes.h - header for project-notes-editor
|
||||
* ProjectNotes.h - header for project-notes-editor
|
||||
*
|
||||
* Copyright (c) 2005-2007 Tobias Doerffel <tobydox/at/users.sourceforge.net>
|
||||
*
|
||||
@@ -36,12 +36,12 @@ class QTextCharFormat;
|
||||
class QTextEdit;
|
||||
|
||||
|
||||
class EXPORT projectNotes : public QMainWindow, public SerializingObject
|
||||
class EXPORT ProjectNotes : public QMainWindow, public SerializingObject
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
projectNotes();
|
||||
virtual ~projectNotes();
|
||||
ProjectNotes();
|
||||
virtual ~ProjectNotes();
|
||||
|
||||
void clear();
|
||||
void setText( const QString & _text );
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* rename_dialog.h - declaration of class renameDialog, a simple dialog for
|
||||
* RenameDialog.h - declaration of class renameDialog, a simple dialog for
|
||||
* changing the content of a string
|
||||
*
|
||||
* Copyright (c) 2004-2005 Tobias Doerffel <tobydox/at/users.sourceforge.net>
|
||||
@@ -33,12 +33,12 @@
|
||||
class QLineEdit;
|
||||
|
||||
|
||||
class renameDialog : public QDialog
|
||||
class RenameDialog : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
renameDialog( QString & _string );
|
||||
~renameDialog();
|
||||
RenameDialog( QString & _string );
|
||||
~RenameDialog();
|
||||
|
||||
|
||||
protected:
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* rubberband.h - rubberband - either own implementation for Qt3 or wrapper for
|
||||
* Rubberband.h - rubberband - either own implementation for Qt3 or wrapper for
|
||||
* Qt4
|
||||
*
|
||||
* Copyright (c) 2006 Tobias Doerffel <tobydox/at/users.sourceforge.net>
|
||||
@@ -72,11 +72,11 @@ private:
|
||||
|
||||
|
||||
|
||||
class rubberBand : public QRubberBand
|
||||
class RubberBand : public QRubberBand
|
||||
{
|
||||
public:
|
||||
rubberBand( QWidget * _parent );
|
||||
virtual ~rubberBand();
|
||||
RubberBand( QWidget * _parent );
|
||||
virtual ~RubberBand();
|
||||
|
||||
QVector<selectableObject *> selectedObjects() const;
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
#include "Track.h"
|
||||
|
||||
class EffectRackView;
|
||||
class knob;
|
||||
class Knob;
|
||||
class SampleBuffer;
|
||||
|
||||
|
||||
@@ -180,7 +180,7 @@ protected:
|
||||
private:
|
||||
EffectRackView * m_effectRack;
|
||||
QWidget * m_effWindow;
|
||||
knob * m_volumeKnob;
|
||||
Knob * m_volumeKnob;
|
||||
|
||||
} ;
|
||||
|
||||
|
||||
@@ -33,13 +33,13 @@ class QLabel;
|
||||
class QScrollBar;
|
||||
|
||||
class AutomatableSlider;
|
||||
class comboBox;
|
||||
class ComboBox;
|
||||
class LcdSpinBox;
|
||||
class MeterDialog;
|
||||
class Song;
|
||||
class textFloat;
|
||||
class TextFloat;
|
||||
class Timeline;
|
||||
class toolButton;
|
||||
class ToolButton;
|
||||
|
||||
class positionLine : public QWidget
|
||||
{
|
||||
@@ -104,10 +104,10 @@ private:
|
||||
|
||||
QWidget * m_toolBar;
|
||||
|
||||
toolButton * m_playButton;
|
||||
toolButton * m_recordButton;
|
||||
toolButton * m_recordAccompanyButton;
|
||||
toolButton * m_stopButton;
|
||||
ToolButton * m_playButton;
|
||||
ToolButton * m_recordButton;
|
||||
ToolButton * m_recordAccompanyButton;
|
||||
ToolButton * m_stopButton;
|
||||
LcdSpinBox * m_tempoSpinBox;
|
||||
|
||||
Timeline * m_timeLine;
|
||||
@@ -116,17 +116,17 @@ private:
|
||||
AutomatableSlider * m_masterVolumeSlider;
|
||||
AutomatableSlider * m_masterPitchSlider;
|
||||
|
||||
textFloat * m_mvsStatus;
|
||||
textFloat * m_mpsStatus;
|
||||
TextFloat * m_mvsStatus;
|
||||
TextFloat * m_mpsStatus;
|
||||
|
||||
toolButton * m_addBBTrackButton;
|
||||
toolButton * m_addSampleTrackButton;
|
||||
toolButton * m_addAutomationTrackButton;
|
||||
ToolButton * m_addBBTrackButton;
|
||||
ToolButton * m_addSampleTrackButton;
|
||||
ToolButton * m_addAutomationTrackButton;
|
||||
|
||||
toolButton * m_drawModeButton;
|
||||
toolButton * m_editModeButton;
|
||||
ToolButton * m_drawModeButton;
|
||||
ToolButton * m_editModeButton;
|
||||
|
||||
comboBox * m_zoomingComboBox;
|
||||
ComboBox * m_zoomingComboBox;
|
||||
|
||||
positionLine * m_positionLine;
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* tab_bar.h - class tabBar
|
||||
* TabBar.h - class tabBar
|
||||
*
|
||||
* Copyright (c) 2004-2008 Tobias Doerffel <tobydox/at/users.sourceforge.net>
|
||||
*
|
||||
@@ -36,13 +36,13 @@
|
||||
class tabButton;
|
||||
|
||||
|
||||
class EXPORT tabBar : public QWidget
|
||||
class EXPORT TabBar : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
tabBar( QWidget * _parent,
|
||||
TabBar( QWidget * _parent,
|
||||
QBoxLayout::Direction _dir = QBoxLayout::LeftToRight );
|
||||
virtual ~tabBar();
|
||||
virtual ~TabBar();
|
||||
|
||||
tabButton * addTab( QWidget * _w, const QString & _text,
|
||||
int _id, bool _add_stretch = false,
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* tab_widget.h - LMMS-tabwidget
|
||||
* TabWidget.h - LMMS-tabwidget
|
||||
*
|
||||
* Copyright (c) 2005-2008 Tobias Doerffel <tobydox/at/users.sourceforge.net>
|
||||
*
|
||||
@@ -30,12 +30,12 @@
|
||||
#include <QtCore/QMap>
|
||||
|
||||
|
||||
class tabWidget : public QWidget
|
||||
class TabWidget : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
tabWidget( const QString & _caption, QWidget * _parent );
|
||||
virtual ~tabWidget();
|
||||
TabWidget( const QString & _caption, QWidget * _parent );
|
||||
virtual ~TabWidget();
|
||||
|
||||
void addTab( QWidget * _w, const QString & _name, int _idx = -1 );
|
||||
|
||||
@@ -29,12 +29,12 @@
|
||||
#include <QPixmap>
|
||||
#include <QtCore/QPointer>
|
||||
|
||||
#include "knob.h"
|
||||
#include "Knob.h"
|
||||
#include "TempoSyncKnobModel.h"
|
||||
|
||||
class MeterDialog;
|
||||
|
||||
class EXPORT TempoSyncKnob : public knob
|
||||
class EXPORT TempoSyncKnob : public Knob
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* text_float.h - class textFloat, a floating text-label
|
||||
* TextFloat.h - class textFloat, a floating text-label
|
||||
*
|
||||
* Copyright (c) 2005-2008 Tobias Doerffel <tobydox/at/users.sourceforge.net>
|
||||
*
|
||||
@@ -32,12 +32,12 @@
|
||||
#include "export.h"
|
||||
|
||||
|
||||
class EXPORT textFloat : public QWidget
|
||||
class EXPORT TextFloat : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
textFloat();
|
||||
virtual ~textFloat()
|
||||
TextFloat();
|
||||
virtual ~TextFloat()
|
||||
{
|
||||
}
|
||||
|
||||
@@ -48,11 +48,11 @@ public:
|
||||
void setVisibilityTimeOut( int _msecs );
|
||||
|
||||
|
||||
static textFloat * displayMessage( const QString & _msg,
|
||||
static TextFloat * displayMessage( const QString & _msg,
|
||||
int _timeout = 2000,
|
||||
QWidget * _parent = NULL,
|
||||
int _add_y_margin = 0 );
|
||||
static textFloat * displayMessage( const QString & _title,
|
||||
static TextFloat * displayMessage( const QString & _title,
|
||||
const QString & _msg,
|
||||
const QPixmap & _pixmap =
|
||||
QPixmap(),
|
||||
@@ -32,8 +32,8 @@
|
||||
|
||||
|
||||
class QPixmap;
|
||||
class nStateButton;
|
||||
class textFloat;
|
||||
class NStateButton;
|
||||
class TextFloat;
|
||||
|
||||
|
||||
class Timeline : public QWidget, public JournallingObject
|
||||
@@ -169,7 +169,7 @@ private:
|
||||
MidiTime m_savedPos;
|
||||
|
||||
|
||||
textFloat * m_hint;
|
||||
TextFloat * m_hint;
|
||||
|
||||
|
||||
enum actions
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* tool_button.h - declaration of class toolButton
|
||||
* ToolButton.h - declaration of class toolButton
|
||||
*
|
||||
* Copyright (c) 2005-2006 Tobias Doerffel <tobydox/at/users.sourceforge.net>
|
||||
*
|
||||
@@ -30,15 +30,15 @@
|
||||
#include <QColor>
|
||||
|
||||
|
||||
class toolButton : public QToolButton
|
||||
class ToolButton : public QToolButton
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
toolButton( const QPixmap & _pixmap, const QString & _tooltip,
|
||||
ToolButton( const QPixmap & _pixmap, const QString & _tooltip,
|
||||
QObject * _receiver, const char * _slot,
|
||||
QWidget * _parent );
|
||||
|
||||
inline toolButton( QWidget * _parent ) :
|
||||
inline ToolButton( QWidget * _parent ) :
|
||||
QToolButton( _parent ),
|
||||
m_colorStandard( s_stdColor ),
|
||||
m_colorHighlighted( s_hlColor )
|
||||
@@ -47,7 +47,7 @@ public:
|
||||
leaveEvent( NULL );
|
||||
}
|
||||
|
||||
virtual ~toolButton();
|
||||
virtual ~ToolButton();
|
||||
|
||||
inline void setStandardColor( const QColor & _color )
|
||||
{
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* tooltip.h - namespace toolTip, a tooltip-wrapper for LMMS
|
||||
* ToolTip.h - namespace toolTip, a tooltip-wrapper for LMMS
|
||||
*
|
||||
* Copyright (c) 2005-2008 Tobias Doerffel <tobydox/at/users.sourceforge.net>
|
||||
*
|
||||
@@ -33,7 +33,7 @@
|
||||
class QWidget;
|
||||
|
||||
|
||||
struct toolTip
|
||||
struct ToolTip
|
||||
{
|
||||
static void EXPORT add( QWidget * _w, const QString & _txt );
|
||||
} ;
|
||||
@@ -34,7 +34,7 @@
|
||||
|
||||
#include "lmms_basics.h"
|
||||
#include "MidiTime.h"
|
||||
#include "rubberband.h"
|
||||
#include "Rubberband.h"
|
||||
#include "JournallingObject.h"
|
||||
#include "AutomatableModel.h"
|
||||
#include "ModelView.h"
|
||||
@@ -44,8 +44,8 @@
|
||||
class QMenu;
|
||||
class QPushButton;
|
||||
|
||||
class pixmapButton;
|
||||
class textFloat;
|
||||
class PixmapButton;
|
||||
class TextFloat;
|
||||
class Track;
|
||||
class trackContentObjectView;
|
||||
class TrackContainer;
|
||||
@@ -243,7 +243,7 @@ private:
|
||||
ToggleSelected
|
||||
} ;
|
||||
|
||||
static textFloat * s_textFloat;
|
||||
static TextFloat * s_textFloat;
|
||||
|
||||
trackContentObject * m_tco;
|
||||
trackView * m_trackView;
|
||||
@@ -252,7 +252,7 @@ private:
|
||||
QPoint m_initialMousePos;
|
||||
QPoint m_initialMouseGlobalPos;
|
||||
|
||||
textFloat * m_hint;
|
||||
TextFloat * m_hint;
|
||||
|
||||
MidiTime m_oldTime;// used for undo/redo while mouse-button is pressed
|
||||
|
||||
@@ -388,8 +388,8 @@ private:
|
||||
trackView * m_trackView;
|
||||
|
||||
QPushButton * m_trackOps;
|
||||
pixmapButton * m_muteBtn;
|
||||
pixmapButton * m_soloBtn;
|
||||
PixmapButton * m_muteBtn;
|
||||
PixmapButton * m_soloBtn;
|
||||
|
||||
|
||||
friend class trackView;
|
||||
@@ -658,7 +658,7 @@ private:
|
||||
Actions m_action;
|
||||
|
||||
|
||||
friend class trackLabelButton;
|
||||
friend class TrackLabelButton;
|
||||
|
||||
|
||||
private slots:
|
||||
|
||||
@@ -172,7 +172,7 @@ private:
|
||||
|
||||
float m_ppt;
|
||||
|
||||
rubberBand * m_rubberBand;
|
||||
RubberBand * m_rubberBand;
|
||||
QPoint m_origin;
|
||||
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* track_label_button.h - class trackLabelButton
|
||||
* TrackLabelButton.h - class trackLabelButton
|
||||
*
|
||||
* Copyright (c) 2004-2008 Tobias Doerffel <tobydox/at/users.sourceforge.net>
|
||||
*
|
||||
@@ -32,12 +32,12 @@
|
||||
class trackView;
|
||||
|
||||
|
||||
class trackLabelButton : public QToolButton
|
||||
class TrackLabelButton : public QToolButton
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
trackLabelButton( trackView * _tv, QWidget * _parent );
|
||||
virtual ~trackLabelButton();
|
||||
TrackLabelButton( trackView * _tv, QWidget * _parent );
|
||||
virtual ~TrackLabelButton();
|
||||
|
||||
|
||||
public slots:
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* visualization_widget.h - widget for visualization of sound-data
|
||||
* VisualizationWidget.h - widget for visualization of sound-data
|
||||
*
|
||||
* Copyright (c) 2005-2008 Tobias Doerffel <tobydox/at/users.sourceforge.net>
|
||||
*
|
||||
@@ -32,7 +32,7 @@
|
||||
#include "Mixer.h"
|
||||
|
||||
|
||||
class visualizationWidget : public QWidget
|
||||
class VisualizationWidget : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
@@ -41,9 +41,9 @@ public:
|
||||
Simple // add more here
|
||||
} ;
|
||||
|
||||
visualizationWidget( const QPixmap & _bg, QWidget * _parent,
|
||||
VisualizationWidget( const QPixmap & _bg, QWidget * _parent,
|
||||
visualizationTypes _vtype = Simple );
|
||||
virtual ~visualizationWidget();
|
||||
virtual ~VisualizationWidget();
|
||||
|
||||
void setActive( bool _active );
|
||||
|
||||
@@ -30,8 +30,8 @@
|
||||
|
||||
|
||||
class BBTrackContainer;
|
||||
class comboBox;
|
||||
class toolButton;
|
||||
class ComboBox;
|
||||
class ToolButton;
|
||||
|
||||
|
||||
class bbEditor : public TrackContainerView
|
||||
@@ -67,10 +67,10 @@ private:
|
||||
BBTrackContainer * m_bbtc;
|
||||
QWidget * m_toolBar;
|
||||
|
||||
toolButton * m_playButton;
|
||||
toolButton * m_stopButton;
|
||||
ToolButton * m_playButton;
|
||||
ToolButton * m_stopButton;
|
||||
|
||||
comboBox * m_bbComboBox;
|
||||
ComboBox * m_bbComboBox;
|
||||
|
||||
} ;
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
|
||||
#include "Track.h"
|
||||
|
||||
class trackLabelButton;
|
||||
class TrackLabelButton;
|
||||
class TrackContainer;
|
||||
|
||||
|
||||
@@ -220,7 +220,7 @@ public slots:
|
||||
|
||||
private:
|
||||
bbTrack * m_bbTrack;
|
||||
trackLabelButton * m_trackLabel;
|
||||
TrackLabelButton * m_trackLabel;
|
||||
|
||||
} ;
|
||||
|
||||
|
||||
@@ -38,7 +38,7 @@ class QLabel;
|
||||
class QLineEdit;
|
||||
class QSlider;
|
||||
|
||||
class tabBar;
|
||||
class TabBar;
|
||||
|
||||
|
||||
class setupDialog : public QDialog
|
||||
@@ -114,7 +114,7 @@ private slots:
|
||||
|
||||
|
||||
private:
|
||||
tabBar * m_tabBar;
|
||||
TabBar * m_tabBar;
|
||||
|
||||
QSlider * m_bufSizeSlider;
|
||||
QLabel * m_bufSizeLbl;
|
||||
|
||||
@@ -40,27 +40,27 @@ AmplifierControlDialog::AmplifierControlDialog( AmplifierControls* controls ) :
|
||||
setPalette( pal );
|
||||
setFixedSize( 100, 125 );
|
||||
|
||||
knob * volumeKnob = new knob( knobBright_26, this);
|
||||
Knob * volumeKnob = new Knob( knobBright_26, this);
|
||||
volumeKnob -> move( 20, 30 );
|
||||
volumeKnob -> setVolumeKnob( true );
|
||||
volumeKnob->setModel( &controls->m_volumeModel );
|
||||
volumeKnob->setLabel( tr( "VOL" ) );
|
||||
volumeKnob->setHintText( tr( "Volume:" ) + " ", "%" );
|
||||
|
||||
knob * panKnob = new knob( knobBright_26, this);
|
||||
Knob * panKnob = new Knob( knobBright_26, this);
|
||||
panKnob -> move( 60, 30 );
|
||||
panKnob->setModel( &controls->m_panModel );
|
||||
panKnob->setLabel( tr( "PAN" ) );
|
||||
panKnob->setHintText( tr( "Panning:" ) + " ", "" );
|
||||
|
||||
knob * leftKnob = new knob( knobBright_26, this);
|
||||
Knob * leftKnob = new Knob( knobBright_26, this);
|
||||
leftKnob -> move( 20, 80 );
|
||||
leftKnob -> setVolumeKnob( true );
|
||||
leftKnob->setModel( &controls->m_leftModel );
|
||||
leftKnob->setLabel( tr( "LEFT" ) );
|
||||
leftKnob->setHintText( tr( "Left gain:" ) + " ", "%" );
|
||||
|
||||
knob * rightKnob = new knob( knobBright_26, this);
|
||||
Knob * rightKnob = new Knob( knobBright_26, this);
|
||||
rightKnob -> move( 60, 80 );
|
||||
rightKnob -> setVolumeKnob( true );
|
||||
rightKnob->setModel( &controls->m_rightModel );
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
|
||||
#include "EffectControls.h"
|
||||
#include "AmplifierControlDialog.h"
|
||||
#include "knob.h"
|
||||
#include "Knob.h"
|
||||
|
||||
|
||||
class AmplifierEffect;
|
||||
|
||||
@@ -44,17 +44,17 @@ BassBoosterControlDialog::BassBoosterControlDialog( BassBoosterControls* control
|
||||
|
||||
QHBoxLayout * l = new QHBoxLayout;
|
||||
|
||||
knob * freqKnob = new knob( knobBright_26, this);
|
||||
Knob * freqKnob = new Knob( knobBright_26, this);
|
||||
freqKnob->setModel( &controls->m_freqModel );
|
||||
freqKnob->setLabel( tr( "FREQ" ) );
|
||||
freqKnob->setHintText( tr( "Frequency:" ) + " ", "Hz" );
|
||||
|
||||
knob * gainKnob = new knob( knobBright_26, this );
|
||||
Knob * gainKnob = new Knob( knobBright_26, this );
|
||||
gainKnob->setModel( &controls->m_gainModel );
|
||||
gainKnob->setLabel( tr( "GAIN" ) );
|
||||
gainKnob->setHintText( tr( "Gain:" ) + " ", "" );
|
||||
|
||||
knob * ratioKnob = new knob( knobBright_26, this );
|
||||
Knob * ratioKnob = new Knob( knobBright_26, this );
|
||||
ratioKnob->setModel( &controls->m_ratioModel );
|
||||
ratioKnob->setLabel( tr( "RATIO" ) );
|
||||
ratioKnob->setHintText( tr( "Ratio:" ) + " ", "" );
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
|
||||
#include "EffectControls.h"
|
||||
#include "BassBoosterControlDialog.h"
|
||||
#include "knob.h"
|
||||
#include "Knob.h"
|
||||
|
||||
|
||||
class BassBoosterEffect;
|
||||
|
||||
@@ -28,13 +28,13 @@
|
||||
#include "DualFilterControlDialog.h"
|
||||
#include "DualFilterControls.h"
|
||||
#include "embed.h"
|
||||
#include "led_checkbox.h"
|
||||
#include "combobox.h"
|
||||
#include "tooltip.h"
|
||||
#include "LedCheckbox.h"
|
||||
#include "ComboBox.h"
|
||||
#include "ToolTip.h"
|
||||
#include "gui_templates.h"
|
||||
|
||||
#define makeknob( name, x, y, model, label, hint, unit ) \
|
||||
knob * name = new knob( knobBright_26, this); \
|
||||
Knob * name = new Knob( knobBright_26, this); \
|
||||
name -> move( x, y ); \
|
||||
name ->setModel( &controls-> model ); \
|
||||
name ->setLabel( tr( label ) ); \
|
||||
@@ -62,24 +62,24 @@ DualFilterControlDialog::DualFilterControlDialog( DualFilterControls* controls )
|
||||
gain1Knob-> setVolumeKnob( true );
|
||||
gain2Knob-> setVolumeKnob( true );
|
||||
|
||||
ledCheckBox * enabled1Toggle = new ledCheckBox( "", this,
|
||||
tr( "Filter 1 enabled" ), ledCheckBox::Green );
|
||||
ledCheckBox * enabled2Toggle = new ledCheckBox( "", this,
|
||||
tr( "Filter 2 enabled" ), ledCheckBox::Green );
|
||||
LedCheckBox * enabled1Toggle = new LedCheckBox( "", this,
|
||||
tr( "Filter 1 enabled" ), LedCheckBox::Green );
|
||||
LedCheckBox * enabled2Toggle = new LedCheckBox( "", this,
|
||||
tr( "Filter 2 enabled" ), LedCheckBox::Green );
|
||||
|
||||
enabled1Toggle -> move( 5, 30 );
|
||||
enabled1Toggle -> setModel( &controls -> m_enabled1Model );
|
||||
toolTip::add( enabled1Toggle, tr( "Click to enable/disable Filter 1" ) );
|
||||
ToolTip::add( enabled1Toggle, tr( "Click to enable/disable Filter 1" ) );
|
||||
enabled2Toggle -> move( 5, 145 );
|
||||
enabled2Toggle -> setModel( &controls -> m_enabled2Model );
|
||||
toolTip::add( enabled2Toggle, tr( "Click to enable/disable Filter 2" ) );
|
||||
ToolTip::add( enabled2Toggle, tr( "Click to enable/disable Filter 2" ) );
|
||||
|
||||
comboBox * m_filter1ComboBox = new comboBox( this );
|
||||
ComboBox * m_filter1ComboBox = new ComboBox( this );
|
||||
m_filter1ComboBox->setGeometry( 5, 70, 140, 22 );
|
||||
m_filter1ComboBox->setFont( pointSize<8>( m_filter1ComboBox->font() ) );
|
||||
m_filter1ComboBox->setModel( &controls->m_filter1Model );
|
||||
|
||||
comboBox * m_filter2ComboBox = new comboBox( this );
|
||||
ComboBox * m_filter2ComboBox = new ComboBox( this );
|
||||
m_filter2ComboBox->setGeometry( 5, 185, 140, 22 );
|
||||
m_filter2ComboBox->setFont( pointSize<8>( m_filter2ComboBox->font() ) );
|
||||
m_filter2ComboBox->setModel( &controls->m_filter2Model );
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
|
||||
#include "EffectControls.h"
|
||||
#include "DualFilterControlDialog.h"
|
||||
#include "knob.h"
|
||||
#include "Knob.h"
|
||||
#include "ComboBoxModel.h"
|
||||
|
||||
class DualFilterEffect;
|
||||
|
||||
@@ -41,13 +41,13 @@
|
||||
#include "InstrumentTrack.h"
|
||||
#include "InstrumentPlayHandle.h"
|
||||
#include "NotePlayHandle.h"
|
||||
#include "knob.h"
|
||||
#include "Knob.h"
|
||||
#include "Song.h"
|
||||
#include "ConfigManager.h"
|
||||
#include "endian_handling.h"
|
||||
|
||||
#include "PatchesDialog.h"
|
||||
#include "tooltip.h"
|
||||
#include "ToolTip.h"
|
||||
#include "LcdSpinBox.h"
|
||||
|
||||
#include "embed.cpp"
|
||||
@@ -904,11 +904,11 @@ void GigInstrument::updateSampleRate()
|
||||
|
||||
|
||||
|
||||
class gigKnob : public knob
|
||||
class gigKnob : public Knob
|
||||
{
|
||||
public:
|
||||
gigKnob( QWidget * _parent ) :
|
||||
knob( knobBright_26, _parent )
|
||||
Knob( knobBright_26, _parent )
|
||||
{
|
||||
setFixedSize( 31, 38 );
|
||||
}
|
||||
@@ -926,7 +926,7 @@ GigInstrumentView::GigInstrumentView( Instrument * _instrument, QWidget * _paren
|
||||
connect( &k->m_patchNum, SIGNAL( dataChanged() ), this, SLOT( updatePatchName() ) );
|
||||
|
||||
// File Button
|
||||
m_fileDialogButton = new pixmapButton( this );
|
||||
m_fileDialogButton = new PixmapButton( this );
|
||||
m_fileDialogButton->setCursor( QCursor( Qt::PointingHandCursor ) );
|
||||
m_fileDialogButton->setActiveGraphic( PLUGIN_NAME::getIconPixmap( "fileselect_on" ) );
|
||||
m_fileDialogButton->setInactiveGraphic( PLUGIN_NAME::getIconPixmap( "fileselect_off" ) );
|
||||
@@ -934,12 +934,12 @@ GigInstrumentView::GigInstrumentView( Instrument * _instrument, QWidget * _paren
|
||||
|
||||
connect( m_fileDialogButton, SIGNAL( clicked() ), this, SLOT( showFileDialog() ) );
|
||||
|
||||
toolTip::add( m_fileDialogButton, tr( "Open other GIG file" ) );
|
||||
ToolTip::add( m_fileDialogButton, tr( "Open other GIG file" ) );
|
||||
|
||||
m_fileDialogButton->setWhatsThis( tr( "Click here to open another GIG file" ) );
|
||||
|
||||
// Patch Button
|
||||
m_patchDialogButton = new pixmapButton( this );
|
||||
m_patchDialogButton = new PixmapButton( this );
|
||||
m_patchDialogButton->setCursor( QCursor( Qt::PointingHandCursor ) );
|
||||
m_patchDialogButton->setActiveGraphic( PLUGIN_NAME::getIconPixmap( "patches_on" ) );
|
||||
m_patchDialogButton->setInactiveGraphic( PLUGIN_NAME::getIconPixmap( "patches_off" ) );
|
||||
@@ -948,7 +948,7 @@ GigInstrumentView::GigInstrumentView( Instrument * _instrument, QWidget * _paren
|
||||
|
||||
connect( m_patchDialogButton, SIGNAL( clicked() ), this, SLOT( showPatchDialog() ) );
|
||||
|
||||
toolTip::add( m_patchDialogButton, tr( "Choose the patch" ) );
|
||||
ToolTip::add( m_patchDialogButton, tr( "Choose the patch" ) );
|
||||
|
||||
m_patchDialogButton->setWhatsThis( tr( "Click here to change which patch of the GIG file to use" ) );
|
||||
|
||||
|
||||
@@ -32,11 +32,11 @@
|
||||
#include <QMutexLocker>
|
||||
|
||||
#include "Instrument.h"
|
||||
#include "pixmap_button.h"
|
||||
#include "PixmapButton.h"
|
||||
#include "InstrumentView.h"
|
||||
#include "knob.h"
|
||||
#include "Knob.h"
|
||||
#include "LcdSpinBox.h"
|
||||
#include "led_checkbox.h"
|
||||
#include "LedCheckbox.h"
|
||||
#include "SampleBuffer.h"
|
||||
#include "MemoryManager.h"
|
||||
#include "gig.h"
|
||||
@@ -345,8 +345,8 @@ public:
|
||||
private:
|
||||
virtual void modelChanged();
|
||||
|
||||
pixmapButton * m_fileDialogButton;
|
||||
pixmapButton * m_patchDialogButton;
|
||||
PixmapButton * m_fileDialogButton;
|
||||
PixmapButton * m_patchDialogButton;
|
||||
|
||||
LcdSpinBox * m_bankNumLcd;
|
||||
LcdSpinBox * m_patchNumLcd;
|
||||
@@ -354,7 +354,7 @@ private:
|
||||
QLabel * m_filenameLabel;
|
||||
QLabel * m_patchLabel;
|
||||
|
||||
knob * m_gainKnob;
|
||||
Knob * m_gainKnob;
|
||||
|
||||
static PatchesDialog * s_patchDialog;
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
#include "LadspaEffect.h"
|
||||
#include "LadspaControlDialog.h"
|
||||
#include "LadspaControlView.h"
|
||||
#include "led_checkbox.h"
|
||||
#include "LedCheckbox.h"
|
||||
|
||||
|
||||
|
||||
@@ -52,7 +52,7 @@ LadspaControlDialog::LadspaControlDialog( LadspaControls * _ctl ) :
|
||||
mainLay->addSpacing( 3 );
|
||||
QHBoxLayout * center = new QHBoxLayout();
|
||||
mainLay->addLayout( center );
|
||||
m_stereoLink = new ledCheckBox( tr( "Link Channels" ), this );
|
||||
m_stereoLink = new LedCheckBox( tr( "Link Channels" ), this );
|
||||
m_stereoLink->setModel( &_ctl->m_stereoLinkModel );
|
||||
center->addWidget( m_stereoLink );
|
||||
}
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
|
||||
class QHBoxLayout;
|
||||
class LadspaControls;
|
||||
class ledCheckBox;
|
||||
class LedCheckBox;
|
||||
|
||||
|
||||
class LadspaControlDialog : public EffectControlDialog
|
||||
@@ -49,7 +49,7 @@ private slots:
|
||||
|
||||
private:
|
||||
QHBoxLayout * m_effectLayout;
|
||||
ledCheckBox * m_stereoLink;
|
||||
LedCheckBox * m_stereoLink;
|
||||
|
||||
} ;
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
|
||||
#include "SpectrumAnalyzer.h"
|
||||
#include "MainWindow.h"
|
||||
#include "led_checkbox.h"
|
||||
#include "LedCheckbox.h"
|
||||
#include "embed.h"
|
||||
|
||||
|
||||
@@ -157,11 +157,11 @@ SpectrumAnalyzerControlDialog::SpectrumAnalyzerControlDialog( SpectrumAnalyzerCo
|
||||
SpectrumView* v = new SpectrumView( controls->m_effect, this );
|
||||
v->move( 27, 30 );
|
||||
|
||||
ledCheckBox * lin_spec = new ledCheckBox( tr( "Linear spectrum" ), this );
|
||||
LedCheckBox * lin_spec = new LedCheckBox( tr( "Linear spectrum" ), this );
|
||||
lin_spec->move( 24, 204 );
|
||||
lin_spec->setModel( &controls->m_linearSpec );
|
||||
|
||||
ledCheckBox * lin_y = new ledCheckBox( tr( "Linear Y axis" ), this );
|
||||
LedCheckBox * lin_y = new LedCheckBox( tr( "Linear Y axis" ), this );
|
||||
lin_y->move( 24, 220 );
|
||||
lin_y->setModel( &controls->m_linearYAxis );
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
|
||||
#include "EffectControls.h"
|
||||
#include "SpectrumAnalyzerControlDialog.h"
|
||||
#include "knob.h"
|
||||
#include "Knob.h"
|
||||
|
||||
|
||||
class SpectrumAnalyzer;
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
|
||||
#include "VstEffect.h"
|
||||
#include "Song.h"
|
||||
#include "text_float.h"
|
||||
#include "TextFloat.h"
|
||||
#include "VstSubPluginFeatures.h"
|
||||
|
||||
#include "embed.cpp"
|
||||
@@ -124,7 +124,7 @@ bool VstEffect::processAudioBuffer( sampleFrame * _buf, const fpp_t _frames )
|
||||
|
||||
void VstEffect::openPlugin( const QString & _plugin )
|
||||
{
|
||||
textFloat * tf = textFloat::displayMessage(
|
||||
TextFloat * tf = TextFloat::displayMessage(
|
||||
VstPlugin::tr( "Loading plugin" ),
|
||||
VstPlugin::tr( "Please wait while loading VST plugin..." ),
|
||||
PLUGIN_NAME::getIconPixmap( "logo", 24, 24 ), 0 );
|
||||
|
||||
@@ -30,9 +30,9 @@
|
||||
#include "VstEffectControlDialog.h"
|
||||
#include "VstEffect.h"
|
||||
|
||||
#include "pixmap_button.h"
|
||||
#include "PixmapButton.h"
|
||||
#include "embed.h"
|
||||
#include "tooltip.h"
|
||||
#include "ToolTip.h"
|
||||
|
||||
#include <QObject>
|
||||
#include <QPainter>
|
||||
@@ -84,7 +84,7 @@ VstEffectControlDialog::VstEffectControlDialog( VstEffectControls * _ctl ) :
|
||||
btn->setMinimumHeight( 24 );
|
||||
btn->setMaximumHeight( 24 );
|
||||
|
||||
m_managePluginButton = new pixmapButton( this, "" );
|
||||
m_managePluginButton = new PixmapButton( this, "" );
|
||||
m_managePluginButton->setCheckable( false );
|
||||
m_managePluginButton->setCursor( Qt::PointingHandCursor );
|
||||
m_managePluginButton->setActiveGraphic( PLUGIN_NAME::getIconPixmap(
|
||||
@@ -93,7 +93,7 @@ VstEffectControlDialog::VstEffectControlDialog( VstEffectControls * _ctl ) :
|
||||
"track_op_menu" ) );
|
||||
connect( m_managePluginButton, SIGNAL( clicked() ), _ctl,
|
||||
SLOT( managePlugin() ) );
|
||||
toolTip::add( m_managePluginButton, tr( "Control VST-plugin from LMMS host" ) );
|
||||
ToolTip::add( m_managePluginButton, tr( "Control VST-plugin from LMMS host" ) );
|
||||
|
||||
m_managePluginButton->setWhatsThis(
|
||||
tr( "Click here, if you want to control VST-plugin from host." ) );
|
||||
@@ -103,7 +103,7 @@ VstEffectControlDialog::VstEffectControlDialog( VstEffectControls * _ctl ) :
|
||||
m_managePluginButton->setMinimumHeight( 21 );
|
||||
m_managePluginButton->setMaximumHeight( 21 );
|
||||
|
||||
m_openPresetButton = new pixmapButton( this, "" );
|
||||
m_openPresetButton = new PixmapButton( this, "" );
|
||||
m_openPresetButton->setCheckable( false );
|
||||
m_openPresetButton->setCursor( Qt::PointingHandCursor );
|
||||
m_openPresetButton->setActiveGraphic( PLUGIN_NAME::getIconPixmap(
|
||||
@@ -112,7 +112,7 @@ VstEffectControlDialog::VstEffectControlDialog( VstEffectControls * _ctl ) :
|
||||
"stepper-up" ) );
|
||||
connect( m_openPresetButton, SIGNAL( clicked() ), _ctl,
|
||||
SLOT( openPreset() ) );
|
||||
toolTip::add( m_openPresetButton, tr( "Open VST-plugin preset" ) );
|
||||
ToolTip::add( m_openPresetButton, tr( "Open VST-plugin preset" ) );
|
||||
|
||||
m_openPresetButton->setWhatsThis(
|
||||
tr( "Click here, if you want to open another *.fxp, *.fxb VST-plugin preset." ) );
|
||||
@@ -122,7 +122,7 @@ VstEffectControlDialog::VstEffectControlDialog( VstEffectControls * _ctl ) :
|
||||
m_openPresetButton->setMinimumHeight( 16 );
|
||||
m_openPresetButton->setMaximumHeight( 16 );
|
||||
|
||||
m_rolLPresetButton = new pixmapButton( this, "" );
|
||||
m_rolLPresetButton = new PixmapButton( this, "" );
|
||||
m_rolLPresetButton->setCheckable( false );
|
||||
m_rolLPresetButton->setCursor( Qt::PointingHandCursor );
|
||||
m_rolLPresetButton->setActiveGraphic( PLUGIN_NAME::getIconPixmap(
|
||||
@@ -135,7 +135,7 @@ VstEffectControlDialog::VstEffectControlDialog( VstEffectControls * _ctl ) :
|
||||
connect( m_rolLPresetButton, SIGNAL( clicked() ), this,
|
||||
SLOT( update() ) );
|
||||
|
||||
toolTip::add( m_rolLPresetButton, tr( "Previous (-)" ) );
|
||||
ToolTip::add( m_rolLPresetButton, tr( "Previous (-)" ) );
|
||||
|
||||
m_rolLPresetButton->setShortcut( Qt::Key_Minus );
|
||||
|
||||
@@ -147,7 +147,7 @@ VstEffectControlDialog::VstEffectControlDialog( VstEffectControls * _ctl ) :
|
||||
m_rolLPresetButton->setMinimumHeight( 16 );
|
||||
m_rolLPresetButton->setMaximumHeight( 16 );
|
||||
|
||||
m_rolRPresetButton = new pixmapButton( this, "" );
|
||||
m_rolRPresetButton = new PixmapButton( this, "" );
|
||||
m_rolRPresetButton->setCheckable( false );
|
||||
m_rolRPresetButton->setCursor( Qt::PointingHandCursor );
|
||||
m_rolRPresetButton->setActiveGraphic( PLUGIN_NAME::getIconPixmap(
|
||||
@@ -160,7 +160,7 @@ VstEffectControlDialog::VstEffectControlDialog( VstEffectControls * _ctl ) :
|
||||
connect( m_rolRPresetButton, SIGNAL( clicked() ), this,
|
||||
SLOT( update() ) );
|
||||
|
||||
toolTip::add( m_rolRPresetButton, tr( "Next (+)" ) );
|
||||
ToolTip::add( m_rolRPresetButton, tr( "Next (+)" ) );
|
||||
|
||||
m_rolRPresetButton->setShortcut( Qt::Key_Plus );
|
||||
|
||||
@@ -187,7 +187,7 @@ VstEffectControlDialog::VstEffectControlDialog( VstEffectControls * _ctl ) :
|
||||
_ctl->m_selPresetButton->setMinimumHeight( 16 );
|
||||
_ctl->m_selPresetButton->setMaximumHeight( 16 );
|
||||
|
||||
m_savePresetButton = new pixmapButton( this, "" );
|
||||
m_savePresetButton = new PixmapButton( this, "" );
|
||||
m_savePresetButton->setCheckable( false );
|
||||
m_savePresetButton->setCursor( Qt::PointingHandCursor );
|
||||
m_savePresetButton->setActiveGraphic( PLUGIN_NAME::getIconPixmap(
|
||||
@@ -196,7 +196,7 @@ VstEffectControlDialog::VstEffectControlDialog( VstEffectControls * _ctl ) :
|
||||
"project_save", 21, 21 ) );
|
||||
connect( m_savePresetButton, SIGNAL( clicked() ), _ctl,
|
||||
SLOT( savePreset() ) );
|
||||
toolTip::add( m_savePresetButton, tr( "Save preset" ) );
|
||||
ToolTip::add( m_savePresetButton, tr( "Save preset" ) );
|
||||
|
||||
m_savePresetButton->setWhatsThis(
|
||||
tr( "Click here, if you want to save current VST-plugin preset program." ) );
|
||||
|
||||
@@ -34,10 +34,10 @@
|
||||
|
||||
|
||||
class VstEffectControls;
|
||||
class pixmapButton;
|
||||
class PixmapButton;
|
||||
class QPixmap;
|
||||
class QPushButton;
|
||||
class pixmapButton;
|
||||
class PixmapButton;
|
||||
|
||||
|
||||
class VstEffectControlDialog : public EffectControlDialog
|
||||
@@ -52,11 +52,11 @@ protected:
|
||||
private:
|
||||
QWidget * m_pluginWidget;
|
||||
|
||||
pixmapButton * m_openPresetButton;
|
||||
pixmapButton * m_rolLPresetButton;
|
||||
pixmapButton * m_rolRPresetButton;
|
||||
pixmapButton * m_managePluginButton;
|
||||
pixmapButton * m_savePresetButton;
|
||||
PixmapButton * m_openPresetButton;
|
||||
PixmapButton * m_rolLPresetButton;
|
||||
PixmapButton * m_rolRPresetButton;
|
||||
PixmapButton * m_managePluginButton;
|
||||
PixmapButton * m_savePresetButton;
|
||||
|
||||
VstPlugin * m_plugin;
|
||||
|
||||
|
||||
@@ -71,7 +71,7 @@ void VstEffectControls::loadSettings( const QDomElement & _this )
|
||||
const QMap<QString, QString> & dump = m_effect->m_plugin->parameterDump();
|
||||
paramCount = dump.size();
|
||||
char paramStr[35];
|
||||
vstKnobs = new knob *[ paramCount ];
|
||||
vstKnobs = new Knob *[ paramCount ];
|
||||
knobFModel = new FloatModel *[ paramCount ];
|
||||
QStringList s_dumpValues;
|
||||
QWidget * widget = new QWidget();
|
||||
@@ -80,7 +80,7 @@ void VstEffectControls::loadSettings( const QDomElement & _this )
|
||||
sprintf( paramStr, "param%d", i );
|
||||
s_dumpValues = dump[ paramStr ].split( ":" );
|
||||
|
||||
vstKnobs[i] = new knob( knobBright_26, widget, s_dumpValues.at( 1 ) );
|
||||
vstKnobs[i] = new Knob( knobBright_26, widget, s_dumpValues.at( 1 ) );
|
||||
vstKnobs[i]->setHintText( s_dumpValues.at( 1 ) + ":", "" );
|
||||
vstKnobs[i]->setLabel( s_dumpValues.at( 1 ).left( 15 ) );
|
||||
|
||||
@@ -361,7 +361,7 @@ manageVSTEffectView::manageVSTEffectView( VstEffect * _eff, VstEffectControls *
|
||||
|
||||
|
||||
if (m_vi->vstKnobs == NULL) {
|
||||
m_vi->vstKnobs = new knob *[ m_vi->paramCount ];
|
||||
m_vi->vstKnobs = new Knob *[ m_vi->paramCount ];
|
||||
isVstKnobs = false;
|
||||
}
|
||||
if (m_vi->knobFModel == NULL) {
|
||||
@@ -377,7 +377,7 @@ manageVSTEffectView::manageVSTEffectView( VstEffect * _eff, VstEffectControls *
|
||||
sprintf( paramStr, "param%d", i);
|
||||
s_dumpValues = dump[ paramStr ].split( ":" );
|
||||
|
||||
m_vi->vstKnobs[ i ] = new knob( knobBright_26, widget, s_dumpValues.at( 1 ) );
|
||||
m_vi->vstKnobs[ i ] = new Knob( knobBright_26, widget, s_dumpValues.at( 1 ) );
|
||||
m_vi->vstKnobs[ i ]->setHintText( s_dumpValues.at( 1 ) + ":", "" );
|
||||
m_vi->vstKnobs[ i ]->setLabel( s_dumpValues.at( 1 ).left( 15 ) );
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
|
||||
#include <QMdiSubWindow>
|
||||
#include <QScrollArea>
|
||||
#include "knob.h"
|
||||
#include "Knob.h"
|
||||
#include <QLayout>
|
||||
#include <QPainter>
|
||||
#include <QObject>
|
||||
@@ -87,7 +87,7 @@ private:
|
||||
QMdiSubWindow * m_subWindow;
|
||||
QScrollArea * m_scrollArea;
|
||||
FloatModel ** knobFModel;
|
||||
knob ** vstKnobs;
|
||||
Knob ** vstKnobs;
|
||||
int paramCount;
|
||||
|
||||
QObject * ctrHandle;
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#include "NotePlayHandle.h"
|
||||
#include "interpolation.h"
|
||||
#include "gui_templates.h"
|
||||
#include "tooltip.h"
|
||||
#include "ToolTip.h"
|
||||
#include "string_pair_drag.h"
|
||||
#include "DataFile.h"
|
||||
|
||||
@@ -447,7 +447,7 @@ AudioFileProcessorView::AudioFileProcessorView( Instrument * _instrument,
|
||||
"artwork" ) );
|
||||
}
|
||||
|
||||
m_openAudioFileButton = new pixmapButton( this );
|
||||
m_openAudioFileButton = new PixmapButton( this );
|
||||
m_openAudioFileButton->setCursor( QCursor( Qt::PointingHandCursor ) );
|
||||
m_openAudioFileButton->move( 227, 72 );
|
||||
m_openAudioFileButton->setActiveGraphic( PLUGIN_NAME::getIconPixmap(
|
||||
@@ -456,7 +456,7 @@ AudioFileProcessorView::AudioFileProcessorView( Instrument * _instrument,
|
||||
"select_file" ) );
|
||||
connect( m_openAudioFileButton, SIGNAL( clicked() ),
|
||||
this, SLOT( openAudioFile() ) );
|
||||
toolTip::add( m_openAudioFileButton, tr( "Open other sample" ) );
|
||||
ToolTip::add( m_openAudioFileButton, tr( "Open other sample" ) );
|
||||
|
||||
m_openAudioFileButton->setWhatsThis(
|
||||
tr( "Click here, if you want to open another audio-file. "
|
||||
@@ -465,14 +465,14 @@ AudioFileProcessorView::AudioFileProcessorView( Instrument * _instrument,
|
||||
"amplify-value, and so on are not reset. So, it may not "
|
||||
"sound like the original sample.") );
|
||||
|
||||
m_reverseButton = new pixmapButton( this );
|
||||
m_reverseButton = new PixmapButton( this );
|
||||
m_reverseButton->setCheckable( true );
|
||||
m_reverseButton->move( 164, 105 );
|
||||
m_reverseButton->setActiveGraphic( PLUGIN_NAME::getIconPixmap(
|
||||
"reverse_on" ) );
|
||||
m_reverseButton->setInactiveGraphic( PLUGIN_NAME::getIconPixmap(
|
||||
"reverse_off" ) );
|
||||
toolTip::add( m_reverseButton, tr( "Reverse sample" ) );
|
||||
ToolTip::add( m_reverseButton, tr( "Reverse sample" ) );
|
||||
m_reverseButton->setWhatsThis(
|
||||
tr( "If you enable this button, the whole sample is reversed. "
|
||||
"This is useful for cool effects, e.g. a reversed "
|
||||
@@ -480,39 +480,39 @@ AudioFileProcessorView::AudioFileProcessorView( Instrument * _instrument,
|
||||
|
||||
// loop button group
|
||||
|
||||
pixmapButton * m_loopOffButton = new pixmapButton( this );
|
||||
PixmapButton * m_loopOffButton = new PixmapButton( this );
|
||||
m_loopOffButton->setCheckable( true );
|
||||
m_loopOffButton->move( 190, 105 );
|
||||
m_loopOffButton->setActiveGraphic( PLUGIN_NAME::getIconPixmap(
|
||||
"loop_off_on" ) );
|
||||
m_loopOffButton->setInactiveGraphic( PLUGIN_NAME::getIconPixmap(
|
||||
"loop_off_off" ) );
|
||||
toolTip::add( m_loopOffButton, tr( "Disable loop" ) );
|
||||
ToolTip::add( m_loopOffButton, tr( "Disable loop" ) );
|
||||
m_loopOffButton->setWhatsThis(
|
||||
tr( "This button disables looping. "
|
||||
"The sample plays only once from start to end. " ) );
|
||||
|
||||
|
||||
pixmapButton * m_loopOnButton = new pixmapButton( this );
|
||||
PixmapButton * m_loopOnButton = new PixmapButton( this );
|
||||
m_loopOnButton->setCheckable( true );
|
||||
m_loopOnButton->move( 190, 124 );
|
||||
m_loopOnButton->setActiveGraphic( PLUGIN_NAME::getIconPixmap(
|
||||
"loop_on_on" ) );
|
||||
m_loopOnButton->setInactiveGraphic( PLUGIN_NAME::getIconPixmap(
|
||||
"loop_on_off" ) );
|
||||
toolTip::add( m_loopOnButton, tr( "Enable loop" ) );
|
||||
ToolTip::add( m_loopOnButton, tr( "Enable loop" ) );
|
||||
m_loopOnButton->setWhatsThis(
|
||||
tr( "This button enables forwards-looping. "
|
||||
"The sample loops between the end point and the loop point." ) );
|
||||
|
||||
pixmapButton * m_loopPingPongButton = new pixmapButton( this );
|
||||
PixmapButton * m_loopPingPongButton = new PixmapButton( this );
|
||||
m_loopPingPongButton->setCheckable( true );
|
||||
m_loopPingPongButton->move( 216, 124 );
|
||||
m_loopPingPongButton->setActiveGraphic( PLUGIN_NAME::getIconPixmap(
|
||||
"loop_pingpong_on" ) );
|
||||
m_loopPingPongButton->setInactiveGraphic( PLUGIN_NAME::getIconPixmap(
|
||||
"loop_pingpong_off" ) );
|
||||
toolTip::add( m_loopPingPongButton, tr( "Enable loop" ) );
|
||||
ToolTip::add( m_loopPingPongButton, tr( "Enable loop" ) );
|
||||
m_loopPingPongButton->setWhatsThis(
|
||||
tr( "This button enables ping-pong-looping. "
|
||||
"The sample loops backwards and forwards between the end point "
|
||||
@@ -523,14 +523,14 @@ AudioFileProcessorView::AudioFileProcessorView( Instrument * _instrument,
|
||||
m_loopGroup->addButton( m_loopOnButton );
|
||||
m_loopGroup->addButton( m_loopPingPongButton );
|
||||
|
||||
m_stutterButton = new pixmapButton( this );
|
||||
m_stutterButton = new PixmapButton( this );
|
||||
m_stutterButton->setCheckable( true );
|
||||
m_stutterButton->move( 164, 124 );
|
||||
m_stutterButton->setActiveGraphic( PLUGIN_NAME::getIconPixmap(
|
||||
"stutter_on" ) );
|
||||
m_stutterButton->setInactiveGraphic( PLUGIN_NAME::getIconPixmap(
|
||||
"stutter_off" ) );
|
||||
toolTip::add( m_stutterButton,
|
||||
ToolTip::add( m_stutterButton,
|
||||
tr( "Continue sample playback across notes" ) );
|
||||
m_stutterButton->setWhatsThis(
|
||||
tr( "Enabling this option makes the sample continue playing "
|
||||
@@ -540,7 +540,7 @@ AudioFileProcessorView::AudioFileProcessorView( Instrument * _instrument,
|
||||
"playback to the start of the sample, insert a note at the bottom "
|
||||
"of the keyboard (< 20 Hz)") );
|
||||
|
||||
m_ampKnob = new knob( knobBright_26, this );
|
||||
m_ampKnob = new Knob( knobBright_26, this );
|
||||
m_ampKnob->setVolumeKnob( true );
|
||||
m_ampKnob->move( 5, 108 );
|
||||
m_ampKnob->setHintText( tr( "Amplify:" )+" ", "%" );
|
||||
@@ -572,7 +572,7 @@ AudioFileProcessorView::AudioFileProcessorView( Instrument * _instrument,
|
||||
"the loop starts. " ) );
|
||||
|
||||
// interpolation selector
|
||||
m_interpBox = new comboBox( this );
|
||||
m_interpBox = new ComboBox( this );
|
||||
m_interpBox->setGeometry( 142, 62, 82, 22 );
|
||||
m_interpBox->setFont( pointSize<8>( m_interpBox->font() ) );
|
||||
|
||||
@@ -1247,7 +1247,7 @@ float AudioFileProcessorWaveView::knob::getValue( const QPoint & _p )
|
||||
const double dec_fact = ! m_waveView ? 1 :
|
||||
double( m_waveView->m_to - m_waveView->m_from )
|
||||
/ m_waveView->m_sampleBuffer.frames();
|
||||
const float inc = ::knob::getValue( _p ) * dec_fact;
|
||||
const float inc = ::Knob::getValue( _p ) * dec_fact;
|
||||
|
||||
return inc;
|
||||
}
|
||||
|
||||
@@ -32,10 +32,10 @@
|
||||
#include "Instrument.h"
|
||||
#include "InstrumentView.h"
|
||||
#include "SampleBuffer.h"
|
||||
#include "knob.h"
|
||||
#include "pixmap_button.h"
|
||||
#include "Knob.h"
|
||||
#include "PixmapButton.h"
|
||||
#include "AutomatableButton.h"
|
||||
#include "combobox.h"
|
||||
#include "ComboBox.h"
|
||||
|
||||
|
||||
class audioFileProcessor : public Instrument
|
||||
@@ -136,16 +136,16 @@ private:
|
||||
static QPixmap * s_artwork;
|
||||
|
||||
AudioFileProcessorWaveView * m_waveView;
|
||||
knob * m_ampKnob;
|
||||
knob * m_startKnob;
|
||||
knob * m_endKnob;
|
||||
knob * m_loopKnob;
|
||||
Knob * m_ampKnob;
|
||||
Knob * m_startKnob;
|
||||
Knob * m_endKnob;
|
||||
Knob * m_loopKnob;
|
||||
|
||||
pixmapButton * m_openAudioFileButton;
|
||||
pixmapButton * m_reverseButton;
|
||||
PixmapButton * m_openAudioFileButton;
|
||||
PixmapButton * m_reverseButton;
|
||||
automatableButtonGroup * m_loopGroup;
|
||||
pixmapButton * m_stutterButton;
|
||||
comboBox * m_interpBox;
|
||||
PixmapButton * m_stutterButton;
|
||||
ComboBox * m_interpBox;
|
||||
|
||||
} ;
|
||||
|
||||
@@ -172,15 +172,15 @@ public:
|
||||
loop
|
||||
} ;
|
||||
|
||||
class knob : public ::knob
|
||||
class knob : public ::Knob
|
||||
{
|
||||
const AudioFileProcessorWaveView * m_waveView;
|
||||
const knob * m_relatedKnob;
|
||||
const Knob * m_relatedKnob;
|
||||
|
||||
|
||||
public:
|
||||
knob( QWidget * _parent ) :
|
||||
::knob( knobBright_26, _parent ),
|
||||
::Knob( knobBright_26, _parent ),
|
||||
m_waveView( 0 ),
|
||||
m_relatedKnob( 0 )
|
||||
{
|
||||
@@ -192,7 +192,7 @@ public:
|
||||
m_waveView = _wv;
|
||||
}
|
||||
|
||||
void setRelatedKnob( const knob * _knob )
|
||||
void setRelatedKnob( const Knob * _knob )
|
||||
{
|
||||
m_relatedKnob = _knob;
|
||||
}
|
||||
@@ -258,7 +258,7 @@ private:
|
||||
|
||||
public:
|
||||
AudioFileProcessorWaveView( QWidget * _parent, int _w, int _h, SampleBuffer& buf );
|
||||
void setKnobs( knob * _start, knob * _end, knob * _loop );
|
||||
void setKnobs(knob *_start, knob *_end, knob *_loop );
|
||||
|
||||
|
||||
private:
|
||||
|
||||
@@ -28,15 +28,15 @@
|
||||
#include "bit_invader.h"
|
||||
#include "base64.h"
|
||||
#include "Engine.h"
|
||||
#include "graph.h"
|
||||
#include "Graph.h"
|
||||
#include "InstrumentTrack.h"
|
||||
#include "knob.h"
|
||||
#include "led_checkbox.h"
|
||||
#include "Knob.h"
|
||||
#include "LedCheckbox.h"
|
||||
#include "NotePlayHandle.h"
|
||||
#include "Oscillator.h"
|
||||
#include "pixmap_button.h"
|
||||
#include "PixmapButton.h"
|
||||
#include "templates.h"
|
||||
#include "tooltip.h"
|
||||
#include "ToolTip.h"
|
||||
#include "Song.h"
|
||||
#include "interpolation.h"
|
||||
|
||||
@@ -333,16 +333,16 @@ bitInvaderView::bitInvaderView( Instrument * _instrument,
|
||||
"artwork" ) );
|
||||
setPalette( pal );
|
||||
|
||||
m_sampleLengthKnob = new knob( knobDark_28, this );
|
||||
m_sampleLengthKnob = new Knob( knobDark_28, this );
|
||||
m_sampleLengthKnob->move( 6, 201 );
|
||||
m_sampleLengthKnob->setHintText( tr( "Sample Length" ) + " ", "" );
|
||||
|
||||
m_graph = new graph( this, graph::NearestStyle, 204, 134 );
|
||||
m_graph = new Graph( this, Graph::NearestStyle, 204, 134 );
|
||||
m_graph->move(23,59); // 55,120 - 2px border
|
||||
m_graph->setAutoFillBackground( true );
|
||||
m_graph->setGraphColor( QColor( 255, 255, 255 ) );
|
||||
|
||||
toolTip::add( m_graph, tr ( "Draw your own waveform here "
|
||||
ToolTip::add( m_graph, tr ( "Draw your own waveform here "
|
||||
"by dragging your mouse on this graph."
|
||||
));
|
||||
|
||||
@@ -353,78 +353,78 @@ bitInvaderView::bitInvaderView( Instrument * _instrument,
|
||||
m_graph->setPalette( pal );
|
||||
|
||||
|
||||
m_sinWaveBtn = new pixmapButton( this, tr( "Sine wave" ) );
|
||||
m_sinWaveBtn = new PixmapButton( this, tr( "Sine wave" ) );
|
||||
m_sinWaveBtn->move( 131, 205 );
|
||||
m_sinWaveBtn->setActiveGraphic( embed::getIconPixmap(
|
||||
"sin_wave_active" ) );
|
||||
m_sinWaveBtn->setInactiveGraphic( embed::getIconPixmap(
|
||||
"sin_wave_inactive" ) );
|
||||
toolTip::add( m_sinWaveBtn,
|
||||
ToolTip::add( m_sinWaveBtn,
|
||||
tr( "Click for a sine-wave." ) );
|
||||
|
||||
m_triangleWaveBtn = new pixmapButton( this, tr( "Triangle wave" ) );
|
||||
m_triangleWaveBtn = new PixmapButton( this, tr( "Triangle wave" ) );
|
||||
m_triangleWaveBtn->move( 131 + 14, 205 );
|
||||
m_triangleWaveBtn->setActiveGraphic(
|
||||
embed::getIconPixmap( "triangle_wave_active" ) );
|
||||
m_triangleWaveBtn->setInactiveGraphic(
|
||||
embed::getIconPixmap( "triangle_wave_inactive" ) );
|
||||
toolTip::add( m_triangleWaveBtn,
|
||||
ToolTip::add( m_triangleWaveBtn,
|
||||
tr( "Click here for a triangle-wave." ) );
|
||||
|
||||
m_sawWaveBtn = new pixmapButton( this, tr( "Saw wave" ) );
|
||||
m_sawWaveBtn = new PixmapButton( this, tr( "Saw wave" ) );
|
||||
m_sawWaveBtn->move( 131 + 14*2, 205 );
|
||||
m_sawWaveBtn->setActiveGraphic( embed::getIconPixmap(
|
||||
"saw_wave_active" ) );
|
||||
m_sawWaveBtn->setInactiveGraphic( embed::getIconPixmap(
|
||||
"saw_wave_inactive" ) );
|
||||
toolTip::add( m_sawWaveBtn,
|
||||
ToolTip::add( m_sawWaveBtn,
|
||||
tr( "Click here for a saw-wave." ) );
|
||||
|
||||
m_sqrWaveBtn = new pixmapButton( this, tr( "Square wave" ) );
|
||||
m_sqrWaveBtn = new PixmapButton( this, tr( "Square wave" ) );
|
||||
m_sqrWaveBtn->move( 131 + 14*3, 205 );
|
||||
m_sqrWaveBtn->setActiveGraphic( embed::getIconPixmap(
|
||||
"square_wave_active" ) );
|
||||
m_sqrWaveBtn->setInactiveGraphic( embed::getIconPixmap(
|
||||
"square_wave_inactive" ) );
|
||||
toolTip::add( m_sqrWaveBtn,
|
||||
ToolTip::add( m_sqrWaveBtn,
|
||||
tr( "Click here for a square-wave." ) );
|
||||
|
||||
m_whiteNoiseWaveBtn = new pixmapButton( this,
|
||||
m_whiteNoiseWaveBtn = new PixmapButton( this,
|
||||
tr( "White noise wave" ) );
|
||||
m_whiteNoiseWaveBtn->move( 131 + 14*4, 205 );
|
||||
m_whiteNoiseWaveBtn->setActiveGraphic(
|
||||
embed::getIconPixmap( "white_noise_wave_active" ) );
|
||||
m_whiteNoiseWaveBtn->setInactiveGraphic(
|
||||
embed::getIconPixmap( "white_noise_wave_inactive" ) );
|
||||
toolTip::add( m_whiteNoiseWaveBtn,
|
||||
ToolTip::add( m_whiteNoiseWaveBtn,
|
||||
tr( "Click here for white-noise." ) );
|
||||
|
||||
m_usrWaveBtn = new pixmapButton( this, tr( "User defined wave" ) );
|
||||
m_usrWaveBtn = new PixmapButton( this, tr( "User defined wave" ) );
|
||||
m_usrWaveBtn->move( 131 + 14*5, 205 );
|
||||
m_usrWaveBtn->setActiveGraphic( embed::getIconPixmap(
|
||||
"usr_wave_active" ) );
|
||||
m_usrWaveBtn->setInactiveGraphic( embed::getIconPixmap(
|
||||
"usr_wave_inactive" ) );
|
||||
toolTip::add( m_usrWaveBtn,
|
||||
ToolTip::add( m_usrWaveBtn,
|
||||
tr( "Click here for a user-defined shape." ) );
|
||||
|
||||
m_smoothBtn = new pixmapButton( this, tr( "Smooth" ) );
|
||||
m_smoothBtn = new PixmapButton( this, tr( "Smooth" ) );
|
||||
m_smoothBtn->move( 131 + 14*6, 205 );
|
||||
m_smoothBtn->setActiveGraphic( PLUGIN_NAME::getIconPixmap(
|
||||
"smooth_active" ) );
|
||||
m_smoothBtn->setInactiveGraphic( PLUGIN_NAME::getIconPixmap(
|
||||
"smooth_inactive" ) );
|
||||
toolTip::add( m_smoothBtn,
|
||||
ToolTip::add( m_smoothBtn,
|
||||
tr( "Click here to smooth waveform." ) );
|
||||
|
||||
|
||||
m_interpolationToggle = new ledCheckBox( "Interpolation", this,
|
||||
tr( "Interpolation" ), ledCheckBox::Yellow );
|
||||
m_interpolationToggle = new LedCheckBox( "Interpolation", this,
|
||||
tr( "Interpolation" ), LedCheckBox::Yellow );
|
||||
m_interpolationToggle->move( 131, 221 );
|
||||
|
||||
|
||||
m_normalizeToggle = new ledCheckBox( "Normalize", this,
|
||||
tr( "Normalize" ), ledCheckBox::Green );
|
||||
m_normalizeToggle = new LedCheckBox( "Normalize", this,
|
||||
tr( "Normalize" ), LedCheckBox::Green );
|
||||
m_normalizeToggle->move( 131, 236 );
|
||||
|
||||
|
||||
@@ -517,7 +517,7 @@ void bitInvaderView::noiseWaveClicked()
|
||||
void bitInvaderView::usrWaveClicked()
|
||||
{
|
||||
QString fileName = m_graph->model()->setWaveToUser();
|
||||
toolTip::add( m_usrWaveBtn, fileName );
|
||||
ToolTip::add( m_usrWaveBtn, fileName );
|
||||
Engine::getSong()->setModified();
|
||||
/*
|
||||
m_graph->model()->setWaveToNoise();
|
||||
@@ -562,7 +562,7 @@ void bitInvaderView::smoothClicked()
|
||||
|
||||
void bitInvaderView::interpolationToggled( bool value )
|
||||
{
|
||||
m_graph->setGraphStyle( value ? graph::LinearStyle : graph::NearestStyle);
|
||||
m_graph->setGraphStyle( value ? Graph::LinearStyle : Graph::NearestStyle);
|
||||
Engine::getSong()->setModified();
|
||||
}
|
||||
|
||||
|
||||
@@ -29,10 +29,10 @@
|
||||
|
||||
#include "Instrument.h"
|
||||
#include "InstrumentView.h"
|
||||
#include "graph.h"
|
||||
#include "knob.h"
|
||||
#include "pixmap_button.h"
|
||||
#include "led_checkbox.h"
|
||||
#include "Graph.h"
|
||||
#include "Knob.h"
|
||||
#include "PixmapButton.h"
|
||||
#include "LedCheckbox.h"
|
||||
#include "MemoryManager.h"
|
||||
|
||||
class oscillator;
|
||||
@@ -135,20 +135,20 @@ protected slots:
|
||||
private:
|
||||
virtual void modelChanged();
|
||||
|
||||
knob * m_sampleLengthKnob;
|
||||
pixmapButton * m_sinWaveBtn;
|
||||
pixmapButton * m_triangleWaveBtn;
|
||||
pixmapButton * m_sqrWaveBtn;
|
||||
pixmapButton * m_sawWaveBtn;
|
||||
pixmapButton * m_whiteNoiseWaveBtn;
|
||||
pixmapButton * m_smoothBtn;
|
||||
pixmapButton * m_usrWaveBtn;
|
||||
Knob * m_sampleLengthKnob;
|
||||
PixmapButton * m_sinWaveBtn;
|
||||
PixmapButton * m_triangleWaveBtn;
|
||||
PixmapButton * m_sqrWaveBtn;
|
||||
PixmapButton * m_sawWaveBtn;
|
||||
PixmapButton * m_whiteNoiseWaveBtn;
|
||||
PixmapButton * m_smoothBtn;
|
||||
PixmapButton * m_usrWaveBtn;
|
||||
|
||||
static QPixmap * s_artwork;
|
||||
|
||||
graph * m_graph;
|
||||
ledCheckBox * m_interpolationToggle;
|
||||
ledCheckBox * m_normalizeToggle;
|
||||
Graph * m_graph;
|
||||
LedCheckBox * m_interpolationToggle;
|
||||
LedCheckBox * m_normalizeToggle;
|
||||
|
||||
} ;
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
#define DELAYCONTROLS_H
|
||||
|
||||
#include "EffectControls.h"
|
||||
#include "knob.h"
|
||||
#include "Knob.h"
|
||||
#include "delaycontrolsdialog.h"
|
||||
|
||||
|
||||
|
||||
@@ -46,7 +46,7 @@ DelayControlsDialog::DelayControlsDialog( DelayControls *controls ) :
|
||||
sampleDelayKnob->setLabel( tr( "Delay" ) );
|
||||
sampleDelayKnob->setHintText( tr( "Delay Time Seconds:" ) + " ", "" );
|
||||
|
||||
knob * feedbackKnob = new knob( knobBright_26, this );
|
||||
Knob * feedbackKnob = new Knob( knobBright_26, this );
|
||||
feedbackKnob->move( 63,10 );
|
||||
feedbackKnob->setVolumeKnob( true) ;
|
||||
feedbackKnob->setModel( &controls->m_feedbackModel);
|
||||
@@ -60,7 +60,7 @@ DelayControlsDialog::DelayControlsDialog( DelayControls *controls ) :
|
||||
lfoFreqKnob->setLabel( tr( "Rate" ) );
|
||||
lfoFreqKnob->setHintText( tr ( "Lfo Seconds:" ) + " ", "" );
|
||||
|
||||
knob * lfoAmtKnob = new knob( knobBright_26, this );
|
||||
Knob * lfoAmtKnob = new Knob( knobBright_26, this );
|
||||
lfoAmtKnob->move( 150,10 );
|
||||
lfoAmtKnob->setVolumeKnob( true );
|
||||
lfoAmtKnob->setModel( &controls->m_lfoAmountModel );
|
||||
|
||||
@@ -29,10 +29,10 @@
|
||||
#include "dynamics_processor_control_dialog.h"
|
||||
#include "dynamics_processor_controls.h"
|
||||
#include "embed.h"
|
||||
#include "graph.h"
|
||||
#include "pixmap_button.h"
|
||||
#include "tooltip.h"
|
||||
#include "led_checkbox.h"
|
||||
#include "Graph.h"
|
||||
#include "PixmapButton.h"
|
||||
#include "ToolTip.h"
|
||||
#include "LedCheckbox.h"
|
||||
|
||||
|
||||
dynProcControlDialog::dynProcControlDialog(
|
||||
@@ -46,7 +46,7 @@ dynProcControlDialog::dynProcControlDialog(
|
||||
setPalette( pal );
|
||||
setFixedSize( 224, 340 );
|
||||
|
||||
graph * waveGraph = new graph( this, graph::LinearNonCyclicStyle, 204, 205 );
|
||||
Graph * waveGraph = new Graph( this, Graph::LinearNonCyclicStyle, 204, 205 );
|
||||
waveGraph -> move( 10, 32 );
|
||||
waveGraph -> setModel( &_controls -> m_wavegraphModel );
|
||||
waveGraph -> setAutoFillBackground( true );
|
||||
@@ -57,7 +57,7 @@ dynProcControlDialog::dynProcControlDialog(
|
||||
waveGraph->setGraphColor( QColor( 170, 255, 255 ) );
|
||||
waveGraph -> setMaximumSize( 204, 205 );
|
||||
|
||||
knob * inputKnob = new knob( knobBright_26, this);
|
||||
Knob * inputKnob = new Knob( knobBright_26, this);
|
||||
inputKnob -> setVolumeKnob( true );
|
||||
inputKnob -> setVolumeRatio( 1.0 );
|
||||
inputKnob -> move( 14, 251 );
|
||||
@@ -65,7 +65,7 @@ dynProcControlDialog::dynProcControlDialog(
|
||||
inputKnob->setLabel( tr( "INPUT" ) );
|
||||
inputKnob->setHintText( tr( "Input gain:" ) + " ", "" );
|
||||
|
||||
knob * outputKnob = new knob( knobBright_26, this );
|
||||
Knob * outputKnob = new Knob( knobBright_26, this );
|
||||
outputKnob -> setVolumeKnob( true );
|
||||
outputKnob -> setVolumeRatio( 1.0 );
|
||||
outputKnob -> move( 54, 251 );
|
||||
@@ -73,13 +73,13 @@ dynProcControlDialog::dynProcControlDialog(
|
||||
outputKnob->setLabel( tr( "OUTPUT" ) );
|
||||
outputKnob->setHintText( tr( "Output gain:" ) + " ", "" );
|
||||
|
||||
knob * attackKnob = new knob( knobBright_26, this);
|
||||
Knob * attackKnob = new Knob( knobBright_26, this);
|
||||
attackKnob -> move( 11, 291 );
|
||||
attackKnob->setModel( &_controls->m_attackModel );
|
||||
attackKnob->setLabel( tr( "ATTACK" ) );
|
||||
attackKnob->setHintText( tr( "Peak attack time:" ) + " ", "ms" );
|
||||
|
||||
knob * releaseKnob = new knob( knobBright_26, this );
|
||||
Knob * releaseKnob = new Knob( knobBright_26, this );
|
||||
releaseKnob -> move( 52, 291 );
|
||||
releaseKnob->setModel( &_controls->m_releaseModel );
|
||||
releaseKnob->setLabel( tr( "RELEASE" ) );
|
||||
@@ -87,55 +87,55 @@ dynProcControlDialog::dynProcControlDialog(
|
||||
|
||||
//waveform control buttons
|
||||
|
||||
pixmapButton * resetButton = new pixmapButton( this, tr("Reset waveform") );
|
||||
PixmapButton * resetButton = new PixmapButton( this, tr("Reset waveform") );
|
||||
resetButton -> move( 164, 251 );
|
||||
resetButton -> resize( 12, 48 );
|
||||
resetButton -> setActiveGraphic( PLUGIN_NAME::getIconPixmap( "reset_active" ) );
|
||||
resetButton -> setInactiveGraphic( PLUGIN_NAME::getIconPixmap( "reset_inactive" ) );
|
||||
toolTip::add( resetButton, tr( "Click here to reset the wavegraph back to default" ) );
|
||||
ToolTip::add( resetButton, tr( "Click here to reset the wavegraph back to default" ) );
|
||||
|
||||
pixmapButton * smoothButton = new pixmapButton( this, tr("Smooth waveform") );
|
||||
PixmapButton * smoothButton = new PixmapButton( this, tr("Smooth waveform") );
|
||||
smoothButton -> move( 164, 267 );
|
||||
smoothButton -> resize( 12, 48 );
|
||||
smoothButton -> setActiveGraphic( PLUGIN_NAME::getIconPixmap( "smooth_active" ) );
|
||||
smoothButton -> setInactiveGraphic( PLUGIN_NAME::getIconPixmap( "smooth_inactive" ) );
|
||||
toolTip::add( smoothButton, tr( "Click here to apply smoothing to wavegraph" ) );
|
||||
ToolTip::add( smoothButton, tr( "Click here to apply smoothing to wavegraph" ) );
|
||||
|
||||
pixmapButton * addOneButton = new pixmapButton( this, tr("Increase wavegraph amplitude by 1dB") );
|
||||
PixmapButton * addOneButton = new PixmapButton( this, tr("Increase wavegraph amplitude by 1dB") );
|
||||
addOneButton -> move( 133, 251 );
|
||||
addOneButton -> resize( 12, 29 );
|
||||
addOneButton -> setActiveGraphic( PLUGIN_NAME::getIconPixmap( "add1_active" ) );
|
||||
addOneButton -> setInactiveGraphic( PLUGIN_NAME::getIconPixmap( "add1_inactive" ) );
|
||||
toolTip::add( addOneButton, tr( "Click here to increase wavegraph amplitude by 1dB" ) );
|
||||
ToolTip::add( addOneButton, tr( "Click here to increase wavegraph amplitude by 1dB" ) );
|
||||
|
||||
pixmapButton * subOneButton = new pixmapButton( this, tr("Decrease wavegraph amplitude by 1dB") );
|
||||
PixmapButton * subOneButton = new PixmapButton( this, tr("Decrease wavegraph amplitude by 1dB") );
|
||||
subOneButton -> move( 133, 267 );
|
||||
subOneButton -> resize( 12, 29 );
|
||||
subOneButton -> setActiveGraphic( PLUGIN_NAME::getIconPixmap( "sub1_active" ) );
|
||||
subOneButton -> setInactiveGraphic( PLUGIN_NAME::getIconPixmap( "sub1_inactive" ) );
|
||||
toolTip::add( subOneButton, tr( "Click here to decrease wavegraph amplitude by 1dB" ) );
|
||||
ToolTip::add( subOneButton, tr( "Click here to decrease wavegraph amplitude by 1dB" ) );
|
||||
|
||||
//stereomode switches
|
||||
pixmapButton * smMaxButton = new pixmapButton( this, tr( "Stereomode Maximum" ) );
|
||||
PixmapButton * smMaxButton = new PixmapButton( this, tr( "Stereomode Maximum" ) );
|
||||
smMaxButton -> move( 165, 290 );
|
||||
smMaxButton -> resize( 48, 13 );
|
||||
smMaxButton -> setActiveGraphic( PLUGIN_NAME::getIconPixmap( "max_active" ) );
|
||||
smMaxButton -> setInactiveGraphic( PLUGIN_NAME::getIconPixmap( "max_inactive" ) );
|
||||
toolTip::add( smMaxButton, tr( "Process based on the maximum of both stereo channels" ) );
|
||||
ToolTip::add( smMaxButton, tr( "Process based on the maximum of both stereo channels" ) );
|
||||
|
||||
pixmapButton * smAvgButton = new pixmapButton( this, tr( "Stereomode Average" ) );
|
||||
PixmapButton * smAvgButton = new PixmapButton( this, tr( "Stereomode Average" ) );
|
||||
smAvgButton -> move( 165, 290 + 13 );
|
||||
smAvgButton -> resize( 48, 13 );
|
||||
smAvgButton -> setActiveGraphic( PLUGIN_NAME::getIconPixmap( "avg_active" ) );
|
||||
smAvgButton -> setInactiveGraphic( PLUGIN_NAME::getIconPixmap( "avg_inactive" ) );
|
||||
toolTip::add( smAvgButton, tr( "Process based on the average of both stereo channels" ) );
|
||||
ToolTip::add( smAvgButton, tr( "Process based on the average of both stereo channels" ) );
|
||||
|
||||
pixmapButton * smUnlButton = new pixmapButton( this, tr( "Stereomode Unlinked" ) );
|
||||
PixmapButton * smUnlButton = new PixmapButton( this, tr( "Stereomode Unlinked" ) );
|
||||
smUnlButton -> move( 165, 290 + (13*2) );
|
||||
smUnlButton -> resize( 48, 13 );
|
||||
smUnlButton -> setActiveGraphic( PLUGIN_NAME::getIconPixmap( "unl_active" ) );
|
||||
smUnlButton -> setInactiveGraphic( PLUGIN_NAME::getIconPixmap( "unl_inactive" ) );
|
||||
toolTip::add( smUnlButton, tr( "Process each stereo channel independently" ) );
|
||||
ToolTip::add( smUnlButton, tr( "Process each stereo channel independently" ) );
|
||||
|
||||
automatableButtonGroup * smGroup = new automatableButtonGroup( this );
|
||||
smGroup -> addButton( smMaxButton );
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
#include "dynamics_processor_controls.h"
|
||||
#include "dynamics_processor.h"
|
||||
#include "base64.h"
|
||||
#include "graph.h"
|
||||
#include "Graph.h"
|
||||
#include "Engine.h"
|
||||
#include "Song.h"
|
||||
|
||||
|
||||
@@ -28,8 +28,8 @@
|
||||
|
||||
#include "EffectControls.h"
|
||||
#include "dynamics_processor_control_dialog.h"
|
||||
#include "knob.h"
|
||||
#include "graph.h"
|
||||
#include "Knob.h"
|
||||
#include "Graph.h"
|
||||
|
||||
class dynProcEffect;
|
||||
|
||||
|
||||
@@ -35,23 +35,23 @@
|
||||
#include "basic_filters.h"
|
||||
#include "bb_track.h"
|
||||
#include "BBTrackContainer.h"
|
||||
#include "combobox.h"
|
||||
#include "ComboBox.h"
|
||||
#include "ConfigManager.h"
|
||||
#include "debug.h"
|
||||
#include "Effect.h"
|
||||
#include "Engine.h"
|
||||
#include "FxMixer.h"
|
||||
#include "FxMixerView.h"
|
||||
#include "group_box.h"
|
||||
#include "GroupBox.h"
|
||||
#include "Instrument.h"
|
||||
#include "InstrumentTrack.h"
|
||||
#include "EnvelopeAndLfoParameters.h"
|
||||
#include "knob.h"
|
||||
#include "Knob.h"
|
||||
#include "Oscillator.h"
|
||||
#include "Pattern.h"
|
||||
#include "Piano.h"
|
||||
#include "ProjectJournal.h"
|
||||
#include "project_notes.h"
|
||||
#include "ProjectNotes.h"
|
||||
#include "Song.h"
|
||||
#include "TrackContainer.h"
|
||||
#include "embed.h"
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
#include "kicker.h"
|
||||
#include "Engine.h"
|
||||
#include "InstrumentTrack.h"
|
||||
#include "knob.h"
|
||||
#include "Knob.h"
|
||||
#include "NotePlayHandle.h"
|
||||
#include "KickerOsc.h"
|
||||
|
||||
@@ -226,11 +226,11 @@ PluginView * kickerInstrument::instantiateView( QWidget * _parent )
|
||||
|
||||
|
||||
|
||||
class kickerKnob : public knob
|
||||
class kickerKnob : public Knob
|
||||
{
|
||||
public:
|
||||
kickerKnob( QWidget * _parent ) :
|
||||
knob( knobStyled, _parent )
|
||||
Knob( knobStyled, _parent )
|
||||
{
|
||||
setFixedSize( 29, 29 );
|
||||
setObjectName( "smallKnob" );
|
||||
@@ -250,11 +250,11 @@ public:
|
||||
};
|
||||
|
||||
|
||||
class kickerLargeKnob : public knob
|
||||
class kickerLargeKnob : public Knob
|
||||
{
|
||||
public:
|
||||
kickerLargeKnob( QWidget * _parent ) :
|
||||
knob( knobStyled, _parent )
|
||||
Knob( knobStyled, _parent )
|
||||
{
|
||||
setFixedSize( 34, 34 );
|
||||
setObjectName( "largeKnob" );
|
||||
@@ -319,10 +319,10 @@ kickerInstrumentView::kickerInstrumentView( Instrument * _instrument,
|
||||
m_distEndKnob->setHintText( tr( "Distortion End:" ) + " ", "" );
|
||||
m_distEndKnob->move( COL5, ROW2 );
|
||||
|
||||
m_startNoteToggle = new ledCheckBox( "", this, "", ledCheckBox::Green );
|
||||
m_startNoteToggle = new LedCheckBox( "", this, "", LedCheckBox::Green );
|
||||
m_startNoteToggle->move( COL1 + 8, LED_ROW );
|
||||
|
||||
m_endNoteToggle = new ledCheckBox( "", this, "", ledCheckBox::Green );
|
||||
m_endNoteToggle = new LedCheckBox( "", this, "", LedCheckBox::Green );
|
||||
m_endNoteToggle->move( END_COL + 8, LED_ROW );
|
||||
|
||||
setAutoFillBackground( true );
|
||||
|
||||
@@ -30,8 +30,8 @@
|
||||
#include <QObject>
|
||||
#include "Instrument.h"
|
||||
#include "InstrumentView.h"
|
||||
#include "knob.h"
|
||||
#include "led_checkbox.h"
|
||||
#include "Knob.h"
|
||||
#include "LedCheckbox.h"
|
||||
#include "TempoSyncKnob.h"
|
||||
|
||||
|
||||
@@ -103,19 +103,19 @@ public:
|
||||
private:
|
||||
virtual void modelChanged();
|
||||
|
||||
knob * m_startFreqKnob;
|
||||
knob * m_endFreqKnob;
|
||||
knob * m_decayKnob;
|
||||
knob * m_distKnob;
|
||||
knob * m_distEndKnob;
|
||||
knob * m_gainKnob;
|
||||
knob * m_envKnob;
|
||||
knob * m_noiseKnob;
|
||||
knob * m_clickKnob;
|
||||
knob * m_slopeKnob;
|
||||
Knob * m_startFreqKnob;
|
||||
Knob * m_endFreqKnob;
|
||||
Knob * m_decayKnob;
|
||||
Knob * m_distKnob;
|
||||
Knob * m_distEndKnob;
|
||||
Knob * m_gainKnob;
|
||||
Knob * m_envKnob;
|
||||
Knob * m_noiseKnob;
|
||||
Knob * m_clickKnob;
|
||||
Knob * m_slopeKnob;
|
||||
|
||||
ledCheckBox * m_startNoteToggle;
|
||||
ledCheckBox * m_endNoteToggle;
|
||||
LedCheckBox * m_startNoteToggle;
|
||||
LedCheckBox * m_endNoteToggle;
|
||||
|
||||
} ;
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
#include "gui_templates.h"
|
||||
#include "ladspa_description.h"
|
||||
#include "ladspa_port_dialog.h"
|
||||
#include "tab_bar.h"
|
||||
#include "TabBar.h"
|
||||
#include "tab_button.h"
|
||||
|
||||
#include "embed.cpp"
|
||||
@@ -103,7 +103,7 @@ ladspaBrowserView::ladspaBrowserView( ToolPlugin * _tool ) :
|
||||
hlayout->setSpacing( 0 );
|
||||
hlayout->setMargin( 0 );
|
||||
|
||||
m_tabBar = new tabBar( this, QBoxLayout::TopToBottom );
|
||||
m_tabBar = new TabBar( this, QBoxLayout::TopToBottom );
|
||||
m_tabBar->setExclusive( true );
|
||||
m_tabBar->setFixedWidth( 72 );
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
#include "ToolPlugin.h"
|
||||
#include "ToolPluginView.h"
|
||||
|
||||
class tabBar;
|
||||
class TabBar;
|
||||
|
||||
|
||||
class ladspaBrowserView : public ToolPluginView
|
||||
@@ -47,7 +47,7 @@ public slots:
|
||||
|
||||
|
||||
private:
|
||||
tabBar * m_tabBar;
|
||||
TabBar * m_tabBar;
|
||||
|
||||
QWidget * createTab( QWidget * _parent, const QString & _txt,
|
||||
ladspaPluginType _type );
|
||||
|
||||
@@ -33,12 +33,12 @@
|
||||
#include "Engine.h"
|
||||
#include "InstrumentPlayHandle.h"
|
||||
#include "InstrumentTrack.h"
|
||||
#include "knob.h"
|
||||
#include "Knob.h"
|
||||
#include "NotePlayHandle.h"
|
||||
#include "Oscillator.h"
|
||||
#include "pixmap_button.h"
|
||||
#include "PixmapButton.h"
|
||||
#include "templates.h"
|
||||
#include "tooltip.h"
|
||||
#include "ToolTip.h"
|
||||
#include "BandLimitedWave.h"
|
||||
|
||||
#include "embed.cpp"
|
||||
@@ -822,48 +822,48 @@ lb302SynthView::lb302SynthView( Instrument * _instrument, QWidget * _parent ) :
|
||||
InstrumentView( _instrument, _parent )
|
||||
{
|
||||
// GUI
|
||||
m_vcfCutKnob = new knob( knobBright_26, this );
|
||||
m_vcfCutKnob = new Knob( knobBright_26, this );
|
||||
m_vcfCutKnob->move( 75, 130 );
|
||||
m_vcfCutKnob->setHintText( tr( "Cutoff Freq:" ) + " ", "" );
|
||||
m_vcfCutKnob->setLabel( "" );
|
||||
|
||||
m_vcfResKnob = new knob( knobBright_26, this );
|
||||
m_vcfResKnob = new Knob( knobBright_26, this );
|
||||
m_vcfResKnob->move( 120, 130 );
|
||||
m_vcfResKnob->setHintText( tr( "Resonance:" ) + " ", "" );
|
||||
m_vcfResKnob->setLabel( "" );
|
||||
|
||||
m_vcfModKnob = new knob( knobBright_26, this );
|
||||
m_vcfModKnob = new Knob( knobBright_26, this );
|
||||
m_vcfModKnob->move( 165, 130 );
|
||||
m_vcfModKnob->setHintText( tr( "Env Mod:" ) + " ", "" );
|
||||
m_vcfModKnob->setLabel( "" );
|
||||
|
||||
m_vcfDecKnob = new knob( knobBright_26, this );
|
||||
m_vcfDecKnob = new Knob( knobBright_26, this );
|
||||
m_vcfDecKnob->move( 210, 130 );
|
||||
m_vcfDecKnob->setHintText( tr( "Decay:" ) + " ", "" );
|
||||
m_vcfDecKnob->setLabel( "" );
|
||||
|
||||
m_slideToggle = new ledCheckBox( "", this );
|
||||
m_slideToggle = new LedCheckBox( "", this );
|
||||
m_slideToggle->move( 10, 180 );
|
||||
|
||||
/* m_accentToggle = new ledCheckBox( "", this );
|
||||
/* m_accentToggle = new LedCheckBox( "", this );
|
||||
m_accentToggle->move( 10, 200 );
|
||||
m_accentToggle->setDisabled(true);*/ // accent removed pending real implementation - no need for non-functional buttons
|
||||
|
||||
m_deadToggle = new ledCheckBox( "", this );
|
||||
m_deadToggle = new LedCheckBox( "", this );
|
||||
m_deadToggle->move( 10, 200 );
|
||||
|
||||
m_db24Toggle = new ledCheckBox( "", this );
|
||||
m_db24Toggle = new LedCheckBox( "", this );
|
||||
m_db24Toggle->setWhatsThis(
|
||||
tr( "303-es-que, 24dB/octave, 3 pole filter" ) );
|
||||
m_db24Toggle->move( 10, 150);
|
||||
|
||||
|
||||
m_slideDecKnob = new knob( knobBright_26, this );
|
||||
m_slideDecKnob = new Knob( knobBright_26, this );
|
||||
m_slideDecKnob->move( 210, 75 );
|
||||
m_slideDecKnob->setHintText( tr( "Slide Decay:" ) + " ", "" );
|
||||
m_slideDecKnob->setLabel( "");
|
||||
|
||||
m_distKnob = new knob( knobBright_26, this );
|
||||
m_distKnob = new Knob( knobBright_26, this );
|
||||
m_distKnob->move( 210, 190 );
|
||||
m_distKnob->setHintText( tr( "DIST:" ) + " ", "" );
|
||||
m_distKnob->setLabel( tr( ""));
|
||||
@@ -873,122 +873,122 @@ lb302SynthView::lb302SynthView( Instrument * _instrument, QWidget * _parent ) :
|
||||
// move to 120,75
|
||||
const int waveBtnX = 10;
|
||||
const int waveBtnY = 96;
|
||||
pixmapButton * sawWaveBtn = new pixmapButton( this, tr( "Saw wave" ) );
|
||||
PixmapButton * sawWaveBtn = new PixmapButton( this, tr( "Saw wave" ) );
|
||||
sawWaveBtn->move( waveBtnX, waveBtnY );
|
||||
sawWaveBtn->setActiveGraphic( embed::getIconPixmap(
|
||||
"saw_wave_active" ) );
|
||||
sawWaveBtn->setInactiveGraphic( embed::getIconPixmap(
|
||||
"saw_wave_inactive" ) );
|
||||
toolTip::add( sawWaveBtn,
|
||||
ToolTip::add( sawWaveBtn,
|
||||
tr( "Click here for a saw-wave." ) );
|
||||
|
||||
pixmapButton * triangleWaveBtn =
|
||||
new pixmapButton( this, tr( "Triangle wave" ) );
|
||||
PixmapButton * triangleWaveBtn =
|
||||
new PixmapButton( this, tr( "Triangle wave" ) );
|
||||
triangleWaveBtn->move( waveBtnX+(16*1), waveBtnY );
|
||||
triangleWaveBtn->setActiveGraphic(
|
||||
embed::getIconPixmap( "triangle_wave_active" ) );
|
||||
triangleWaveBtn->setInactiveGraphic(
|
||||
embed::getIconPixmap( "triangle_wave_inactive" ) );
|
||||
toolTip::add( triangleWaveBtn,
|
||||
ToolTip::add( triangleWaveBtn,
|
||||
tr( "Click here for a triangle-wave." ) );
|
||||
|
||||
pixmapButton * sqrWaveBtn = new pixmapButton( this, tr( "Square wave" ) );
|
||||
PixmapButton * sqrWaveBtn = new PixmapButton( this, tr( "Square wave" ) );
|
||||
sqrWaveBtn->move( waveBtnX+(16*2), waveBtnY );
|
||||
sqrWaveBtn->setActiveGraphic( embed::getIconPixmap(
|
||||
"square_wave_active" ) );
|
||||
sqrWaveBtn->setInactiveGraphic( embed::getIconPixmap(
|
||||
"square_wave_inactive" ) );
|
||||
toolTip::add( sqrWaveBtn,
|
||||
ToolTip::add( sqrWaveBtn,
|
||||
tr( "Click here for a square-wave." ) );
|
||||
|
||||
pixmapButton * roundSqrWaveBtn =
|
||||
new pixmapButton( this, tr( "Rounded square wave" ) );
|
||||
PixmapButton * roundSqrWaveBtn =
|
||||
new PixmapButton( this, tr( "Rounded square wave" ) );
|
||||
roundSqrWaveBtn->move( waveBtnX+(16*3), waveBtnY );
|
||||
roundSqrWaveBtn->setActiveGraphic( embed::getIconPixmap(
|
||||
"round_square_wave_active" ) );
|
||||
roundSqrWaveBtn->setInactiveGraphic( embed::getIconPixmap(
|
||||
"round_square_wave_inactive" ) );
|
||||
toolTip::add( roundSqrWaveBtn,
|
||||
ToolTip::add( roundSqrWaveBtn,
|
||||
tr( "Click here for a square-wave with a rounded end." ) );
|
||||
|
||||
pixmapButton * moogWaveBtn =
|
||||
new pixmapButton( this, tr( "Moog wave" ) );
|
||||
PixmapButton * moogWaveBtn =
|
||||
new PixmapButton( this, tr( "Moog wave" ) );
|
||||
moogWaveBtn->move( waveBtnX+(16*4), waveBtnY );
|
||||
moogWaveBtn->setActiveGraphic(
|
||||
embed::getIconPixmap( "moog_saw_wave_active" ) );
|
||||
moogWaveBtn->setInactiveGraphic(
|
||||
embed::getIconPixmap( "moog_saw_wave_inactive" ) );
|
||||
toolTip::add( moogWaveBtn,
|
||||
ToolTip::add( moogWaveBtn,
|
||||
tr( "Click here for a moog-like wave." ) );
|
||||
|
||||
pixmapButton * sinWaveBtn = new pixmapButton( this, tr( "Sine wave" ) );
|
||||
PixmapButton * sinWaveBtn = new PixmapButton( this, tr( "Sine wave" ) );
|
||||
sinWaveBtn->move( waveBtnX+(16*5), waveBtnY );
|
||||
sinWaveBtn->setActiveGraphic( embed::getIconPixmap(
|
||||
"sin_wave_active" ) );
|
||||
sinWaveBtn->setInactiveGraphic( embed::getIconPixmap(
|
||||
"sin_wave_inactive" ) );
|
||||
toolTip::add( sinWaveBtn,
|
||||
ToolTip::add( sinWaveBtn,
|
||||
tr( "Click for a sine-wave." ) );
|
||||
|
||||
pixmapButton * exponentialWaveBtn =
|
||||
new pixmapButton( this, tr( "White noise wave" ) );
|
||||
PixmapButton * exponentialWaveBtn =
|
||||
new PixmapButton( this, tr( "White noise wave" ) );
|
||||
exponentialWaveBtn->move( waveBtnX+(16*6), waveBtnY );
|
||||
exponentialWaveBtn->setActiveGraphic(
|
||||
embed::getIconPixmap( "exp_wave_active" ) );
|
||||
exponentialWaveBtn->setInactiveGraphic(
|
||||
embed::getIconPixmap( "exp_wave_inactive" ) );
|
||||
toolTip::add( exponentialWaveBtn,
|
||||
ToolTip::add( exponentialWaveBtn,
|
||||
tr( "Click here for an exponential wave." ) );
|
||||
|
||||
|
||||
pixmapButton * whiteNoiseWaveBtn =
|
||||
new pixmapButton( this, tr( "White noise wave" ) );
|
||||
PixmapButton * whiteNoiseWaveBtn =
|
||||
new PixmapButton( this, tr( "White noise wave" ) );
|
||||
whiteNoiseWaveBtn->move( waveBtnX+(16*7), waveBtnY );
|
||||
whiteNoiseWaveBtn->setActiveGraphic(
|
||||
embed::getIconPixmap( "white_noise_wave_active" ) );
|
||||
whiteNoiseWaveBtn->setInactiveGraphic(
|
||||
embed::getIconPixmap( "white_noise_wave_inactive" ) );
|
||||
toolTip::add( whiteNoiseWaveBtn,
|
||||
ToolTip::add( whiteNoiseWaveBtn,
|
||||
tr( "Click here for white-noise." ) );
|
||||
|
||||
pixmapButton * blSawWaveBtn =
|
||||
new pixmapButton( this, tr( "Bandlimited saw wave" ) );
|
||||
PixmapButton * blSawWaveBtn =
|
||||
new PixmapButton( this, tr( "Bandlimited saw wave" ) );
|
||||
blSawWaveBtn->move( waveBtnX+(16*9)-8, waveBtnY );
|
||||
blSawWaveBtn->setActiveGraphic(
|
||||
embed::getIconPixmap( "saw_wave_active" ) );
|
||||
blSawWaveBtn->setInactiveGraphic(
|
||||
embed::getIconPixmap( "saw_wave_inactive" ) );
|
||||
toolTip::add( blSawWaveBtn,
|
||||
ToolTip::add( blSawWaveBtn,
|
||||
tr( "Click here for bandlimited saw wave." ) );
|
||||
|
||||
pixmapButton * blSquareWaveBtn =
|
||||
new pixmapButton( this, tr( "Bandlimited square wave" ) );
|
||||
PixmapButton * blSquareWaveBtn =
|
||||
new PixmapButton( this, tr( "Bandlimited square wave" ) );
|
||||
blSquareWaveBtn->move( waveBtnX+(16*10)-8, waveBtnY );
|
||||
blSquareWaveBtn->setActiveGraphic(
|
||||
embed::getIconPixmap( "square_wave_active" ) );
|
||||
blSquareWaveBtn->setInactiveGraphic(
|
||||
embed::getIconPixmap( "square_wave_inactive" ) );
|
||||
toolTip::add( blSquareWaveBtn,
|
||||
ToolTip::add( blSquareWaveBtn,
|
||||
tr( "Click here for bandlimited square wave." ) );
|
||||
|
||||
pixmapButton * blTriangleWaveBtn =
|
||||
new pixmapButton( this, tr( "Bandlimited triangle wave" ) );
|
||||
PixmapButton * blTriangleWaveBtn =
|
||||
new PixmapButton( this, tr( "Bandlimited triangle wave" ) );
|
||||
blTriangleWaveBtn->move( waveBtnX+(16*11)-8, waveBtnY );
|
||||
blTriangleWaveBtn->setActiveGraphic(
|
||||
embed::getIconPixmap( "triangle_wave_active" ) );
|
||||
blTriangleWaveBtn->setInactiveGraphic(
|
||||
embed::getIconPixmap( "triangle_wave_inactive" ) );
|
||||
toolTip::add( blTriangleWaveBtn,
|
||||
ToolTip::add( blTriangleWaveBtn,
|
||||
tr( "Click here for bandlimited triangle wave." ) );
|
||||
|
||||
pixmapButton * blMoogWaveBtn =
|
||||
new pixmapButton( this, tr( "Bandlimited moog saw wave" ) );
|
||||
PixmapButton * blMoogWaveBtn =
|
||||
new PixmapButton( this, tr( "Bandlimited moog saw wave" ) );
|
||||
blMoogWaveBtn->move( waveBtnX+(16*12)-8, waveBtnY );
|
||||
blMoogWaveBtn->setActiveGraphic(
|
||||
embed::getIconPixmap( "moog_saw_wave_active" ) );
|
||||
blMoogWaveBtn->setInactiveGraphic(
|
||||
embed::getIconPixmap( "moog_saw_wave_inactive" ) );
|
||||
toolTip::add( blMoogWaveBtn,
|
||||
ToolTip::add( blMoogWaveBtn,
|
||||
tr( "Click here for bandlimited moog saw wave." ) );
|
||||
|
||||
|
||||
|
||||
@@ -35,8 +35,8 @@
|
||||
#include "DspEffectLibrary.h"
|
||||
#include "Instrument.h"
|
||||
#include "InstrumentView.h"
|
||||
#include "led_checkbox.h"
|
||||
#include "knob.h"
|
||||
#include "LedCheckbox.h"
|
||||
#include "Knob.h"
|
||||
#include "Mixer.h"
|
||||
#include "NotePlayHandle.h"
|
||||
#include <QMutex>
|
||||
@@ -260,19 +260,19 @@ public:
|
||||
private:
|
||||
virtual void modelChanged();
|
||||
|
||||
knob * m_vcfCutKnob;
|
||||
knob * m_vcfResKnob;
|
||||
knob * m_vcfDecKnob;
|
||||
knob * m_vcfModKnob;
|
||||
Knob * m_vcfCutKnob;
|
||||
Knob * m_vcfResKnob;
|
||||
Knob * m_vcfDecKnob;
|
||||
Knob * m_vcfModKnob;
|
||||
|
||||
knob * m_distKnob;
|
||||
knob * m_slideDecKnob;
|
||||
Knob * m_distKnob;
|
||||
Knob * m_slideDecKnob;
|
||||
automatableButtonGroup * m_waveBtnGrp;
|
||||
|
||||
ledCheckBox * m_slideToggle;
|
||||
/*ledCheckBox * m_accentToggle;*/ // removed pending accent implementation
|
||||
ledCheckBox * m_deadToggle;
|
||||
ledCheckBox * m_db24Toggle;
|
||||
LedCheckBox * m_slideToggle;
|
||||
/*LedCheckBox * m_accentToggle;*/ // removed pending accent implementation
|
||||
LedCheckBox * m_deadToggle;
|
||||
LedCheckBox * m_db24Toggle;
|
||||
|
||||
} ;
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
#include "engine.h"
|
||||
#include "InstrumentPlayHandle.h"
|
||||
#include "InstrumentTrack.h"
|
||||
#include "knob.h"
|
||||
#include "Knob.h"
|
||||
#include "NotePlayHandle.h"
|
||||
#include "templates.h"
|
||||
#include "audio_port.h"
|
||||
@@ -739,54 +739,54 @@ lb303SynthView::lb303SynthView( Instrument * _instrument, QWidget * _parent ) :
|
||||
InstrumentView( _instrument, _parent )
|
||||
{
|
||||
// GUI
|
||||
m_vcfCutKnob = new knob( knobBright_26, this );
|
||||
m_vcfCutKnob = new Knob( knobBright_26, this );
|
||||
m_vcfCutKnob->move( 75, 130 );
|
||||
m_vcfCutKnob->setHintText( tr( "Cutoff Freq:" ) + " ", "" );
|
||||
m_vcfCutKnob->setLabel( tr("CUT") );
|
||||
|
||||
m_vcfResKnob = new knob( knobBright_26, this );
|
||||
m_vcfResKnob = new Knob( knobBright_26, this );
|
||||
m_vcfResKnob->move( 120, 130 );
|
||||
m_vcfResKnob->setHintText( tr( "Resonance:" ) + " ", "" );
|
||||
m_vcfResKnob->setLabel( tr("RES") );
|
||||
|
||||
m_vcfModKnob = new knob( knobBright_26, this );
|
||||
m_vcfModKnob = new Knob( knobBright_26, this );
|
||||
m_vcfModKnob->move( 165, 130 );
|
||||
m_vcfModKnob->setHintText( tr( "Env Mod:" ) + " ", "" );
|
||||
m_vcfModKnob->setLabel( tr("ENV MOD") );
|
||||
|
||||
m_vcfDecKnob = new knob( knobBright_26, this );
|
||||
m_vcfDecKnob = new Knob( knobBright_26, this );
|
||||
m_vcfDecKnob->move( 210, 130 );
|
||||
m_vcfDecKnob->setHintText( tr( "Decay:" ) + " ", "" );
|
||||
m_vcfDecKnob->setLabel( tr("DEC") );
|
||||
|
||||
m_slideToggle = new ledCheckBox( "Slide", this );
|
||||
m_slideToggle = new LedCheckBox( "Slide", this );
|
||||
m_slideToggle->move( 10, 180 );
|
||||
|
||||
m_accentToggle = new ledCheckBox( "Accent", this );
|
||||
m_accentToggle = new LedCheckBox( "Accent", this );
|
||||
m_accentToggle->move( 10, 200 );
|
||||
m_accentToggle->setDisabled(true);
|
||||
|
||||
m_deadToggle = new ledCheckBox( "Dead", this );
|
||||
m_deadToggle = new LedCheckBox( "Dead", this );
|
||||
m_deadToggle->move( 10, 220 );
|
||||
|
||||
m_db24Toggle = new ledCheckBox( "24dB/oct", this );
|
||||
m_db24Toggle = new LedCheckBox( "24dB/oct", this );
|
||||
m_db24Toggle->setWhatsThis(
|
||||
tr( "303-es-que, 24dB/octave, 3 pole filter" ) );
|
||||
m_db24Toggle->move( 10, 150);
|
||||
|
||||
|
||||
m_slideDecKnob = new knob( knobBright_26, this );
|
||||
m_slideDecKnob = new Knob( knobBright_26, this );
|
||||
m_slideDecKnob->move( 210, 75 );
|
||||
m_slideDecKnob->setHintText( tr( "Slide Decay:" ) + " ", "" );
|
||||
m_slideDecKnob->setLabel( tr( "SLIDE"));
|
||||
|
||||
m_distKnob = new knob( knobBright_26, this );
|
||||
m_distKnob = new Knob( knobBright_26, this );
|
||||
m_distKnob->move( 210, 190 );
|
||||
m_distKnob->setHintText( tr( "DIST:" ) + " ", "" );
|
||||
m_distKnob->setLabel( tr( "DIST"));
|
||||
|
||||
|
||||
m_waveKnob = new knob( knobBright_26, this );
|
||||
m_waveKnob = new Knob( knobBright_26, this );
|
||||
m_waveKnob->move( 120, 75 );
|
||||
m_waveKnob->setHintText( tr( "WAVE:" ) + " ", "" );
|
||||
m_waveKnob->setLabel( tr( "WAVE"));
|
||||
|
||||
@@ -35,8 +35,8 @@
|
||||
#include "effect_lib.h"
|
||||
#include "Instrument.h"
|
||||
#include "InstrumentView.h"
|
||||
#include "led_checkbox.h"
|
||||
#include "knob.h"
|
||||
#include "LedCheckbox.h"
|
||||
#include "Knob.h"
|
||||
#include "Mixer.h"
|
||||
|
||||
class lb303SynthView;
|
||||
@@ -249,21 +249,21 @@ public:
|
||||
private:
|
||||
virtual void modelChanged();
|
||||
|
||||
knob * m_vcfCutKnob;
|
||||
knob * m_vcfResKnob;
|
||||
knob * m_vcfDecKnob;
|
||||
knob * m_vcfModKnob;
|
||||
Knob * m_vcfCutKnob;
|
||||
Knob * m_vcfResKnob;
|
||||
Knob * m_vcfDecKnob;
|
||||
Knob * m_vcfModKnob;
|
||||
|
||||
knob * m_vcoFineDetuneKnob;
|
||||
Knob * m_vcoFineDetuneKnob;
|
||||
|
||||
knob * m_distKnob;
|
||||
knob * m_waveKnob;
|
||||
knob * m_slideDecKnob;
|
||||
Knob * m_distKnob;
|
||||
Knob * m_waveKnob;
|
||||
Knob * m_slideDecKnob;
|
||||
|
||||
ledCheckBox * m_slideToggle;
|
||||
ledCheckBox * m_accentToggle;
|
||||
ledCheckBox * m_deadToggle;
|
||||
ledCheckBox * m_db24Toggle;
|
||||
LedCheckBox * m_slideToggle;
|
||||
LedCheckBox * m_accentToggle;
|
||||
LedCheckBox * m_deadToggle;
|
||||
LedCheckBox * m_db24Toggle;
|
||||
|
||||
} ;
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
#include "InstrumentTrack.h"
|
||||
#include "templates.h"
|
||||
#include "gui_templates.h"
|
||||
#include "tooltip.h"
|
||||
#include "ToolTip.h"
|
||||
#include "Song.h"
|
||||
#include "lmms_math.h"
|
||||
#include "interpolation.h"
|
||||
@@ -1467,22 +1467,22 @@ MonstroView::MonstroView( Instrument * _instrument,
|
||||
|
||||
// "tab buttons"
|
||||
|
||||
pixmapButton * m_opViewButton = new pixmapButton( this, NULL );
|
||||
PixmapButton * m_opViewButton = new PixmapButton( this, NULL );
|
||||
m_opViewButton -> move( 0,0 );
|
||||
m_opViewButton -> setActiveGraphic( PLUGIN_NAME::getIconPixmap( "opview_active" ) );
|
||||
m_opViewButton -> setInactiveGraphic( PLUGIN_NAME::getIconPixmap( "opview_inactive" ) );
|
||||
toolTip::add( m_opViewButton, tr( "Operators view" ) );
|
||||
ToolTip::add( m_opViewButton, tr( "Operators view" ) );
|
||||
m_opViewButton -> setWhatsThis( tr( "The Operators view contains all the operators. These include both audible "
|
||||
"operators (oscillators) and inaudible operators, or modulators: "
|
||||
"Low-frequency oscillators and Envelopes. \n\n"
|
||||
"Knobs and other widgets in the Operators view have their own what's this -texts, "
|
||||
"so you can get more specific help for them that way. " ) );
|
||||
|
||||
pixmapButton * m_matViewButton = new pixmapButton( this, NULL );
|
||||
PixmapButton * m_matViewButton = new PixmapButton( this, NULL );
|
||||
m_matViewButton -> move( 125,0 );
|
||||
m_matViewButton -> setActiveGraphic( PLUGIN_NAME::getIconPixmap( "matview_active" ) );
|
||||
m_matViewButton -> setInactiveGraphic( PLUGIN_NAME::getIconPixmap( "matview_inactive" ) );
|
||||
toolTip::add( m_matViewButton, tr( "Matrix view" ) );
|
||||
ToolTip::add( m_matViewButton, tr( "Matrix view" ) );
|
||||
m_matViewButton -> setWhatsThis( tr( "The Matrix view contains the modulation matrix. Here you can define "
|
||||
"the modulation relationships between the various operators: Each "
|
||||
"audible operator (oscillators 1-3) has 3-4 properties that can be "
|
||||
@@ -1686,7 +1686,7 @@ QWidget * MonstroView::setupOperatorsView( QWidget * _parent )
|
||||
|
||||
m_osc2VolKnob -> setVolumeKnob( true );
|
||||
|
||||
m_osc2WaveBox = new comboBox( view );
|
||||
m_osc2WaveBox = new ComboBox( view );
|
||||
m_osc2WaveBox -> setGeometry( 204, O2ROW + 7, 42, 22 );
|
||||
m_osc2WaveBox->setFont( pointSize<8>( m_osc2WaveBox->font() ) );
|
||||
|
||||
@@ -1699,18 +1699,18 @@ QWidget * MonstroView::setupOperatorsView( QWidget * _parent )
|
||||
makeknob( m_osc3SpoKnob, KNOBCOL4, O3ROW, "Stereo phase offset", " deg", "osc3Knob" )
|
||||
makeknob( m_osc3SubKnob, KNOBCOL5, O3ROW, "Sub-osc mix", "", "osc3Knob" )
|
||||
|
||||
m_osc3Wave1Box = new comboBox( view );
|
||||
m_osc3Wave1Box = new ComboBox( view );
|
||||
m_osc3Wave1Box -> setGeometry( 160, O3ROW + 7, 42, 22 );
|
||||
m_osc3Wave1Box->setFont( pointSize<8>( m_osc3Wave1Box->font() ) );
|
||||
|
||||
m_osc3Wave2Box = new comboBox( view );
|
||||
m_osc3Wave2Box = new ComboBox( view );
|
||||
m_osc3Wave2Box -> setGeometry( 204, O3ROW + 7, 42, 22 );
|
||||
m_osc3Wave2Box->setFont( pointSize<8>( m_osc3Wave2Box->font() ) );
|
||||
|
||||
maketinyled( m_osc3SyncHButton, 212, O3ROW - 3, "Hard sync oscillator 3" )
|
||||
maketinyled( m_osc3SyncRButton, 191, O3ROW - 3, "Reverse sync oscillator 3" )
|
||||
|
||||
m_lfo1WaveBox = new comboBox( view );
|
||||
m_lfo1WaveBox = new ComboBox( view );
|
||||
m_lfo1WaveBox -> setGeometry( 2, LFOROW + 7, 42, 22 );
|
||||
m_lfo1WaveBox->setFont( pointSize<8>( m_lfo1WaveBox->font() ) );
|
||||
|
||||
@@ -1718,7 +1718,7 @@ QWidget * MonstroView::setupOperatorsView( QWidget * _parent )
|
||||
maketsknob( m_lfo1RateKnob, LFOCOL2, LFOROW, "Rate", " ms", "lfoKnob" )
|
||||
makeknob( m_lfo1PhsKnob, LFOCOL3, LFOROW, "Phase", " deg", "lfoKnob" )
|
||||
|
||||
m_lfo2WaveBox = new comboBox( view );
|
||||
m_lfo2WaveBox = new ComboBox( view );
|
||||
m_lfo2WaveBox -> setGeometry( 127, LFOROW + 7, 42, 22 );
|
||||
m_lfo2WaveBox->setFont( pointSize<8>( m_lfo2WaveBox->font() ) );
|
||||
|
||||
@@ -1743,29 +1743,29 @@ QWidget * MonstroView::setupOperatorsView( QWidget * _parent )
|
||||
makeknob( m_env2SlopeKnob, KNOBCOL7, E2ROW, "Slope", "", "envKnob" )
|
||||
|
||||
// mod selector
|
||||
pixmapButton * m_mixButton = new pixmapButton( view, NULL );
|
||||
PixmapButton * m_mixButton = new PixmapButton( view, NULL );
|
||||
m_mixButton -> move( 225, 185 );
|
||||
m_mixButton -> setActiveGraphic( PLUGIN_NAME::getIconPixmap( "mix_active" ) );
|
||||
m_mixButton -> setInactiveGraphic( PLUGIN_NAME::getIconPixmap( "mix_inactive" ) );
|
||||
toolTip::add( m_mixButton, tr( "Mix Osc2 with Osc3" ) );
|
||||
ToolTip::add( m_mixButton, tr( "Mix Osc2 with Osc3" ) );
|
||||
|
||||
pixmapButton * m_amButton = new pixmapButton( view, NULL );
|
||||
PixmapButton * m_amButton = new PixmapButton( view, NULL );
|
||||
m_amButton -> move( 225, 185 + 15 );
|
||||
m_amButton -> setActiveGraphic( PLUGIN_NAME::getIconPixmap( "am_active" ) );
|
||||
m_amButton -> setInactiveGraphic( PLUGIN_NAME::getIconPixmap( "am_inactive" ) );
|
||||
toolTip::add( m_amButton, tr( "Modulate amplitude of Osc3 with Osc2" ) );
|
||||
ToolTip::add( m_amButton, tr( "Modulate amplitude of Osc3 with Osc2" ) );
|
||||
|
||||
pixmapButton * m_fmButton = new pixmapButton( view, NULL );
|
||||
PixmapButton * m_fmButton = new PixmapButton( view, NULL );
|
||||
m_fmButton -> move( 225, 185 + 15*2 );
|
||||
m_fmButton -> setActiveGraphic( PLUGIN_NAME::getIconPixmap( "fm_active" ) );
|
||||
m_fmButton -> setInactiveGraphic( PLUGIN_NAME::getIconPixmap( "fm_inactive" ) );
|
||||
toolTip::add( m_fmButton, tr( "Modulate frequency of Osc3 with Osc2" ) );
|
||||
ToolTip::add( m_fmButton, tr( "Modulate frequency of Osc3 with Osc2" ) );
|
||||
|
||||
pixmapButton * m_pmButton = new pixmapButton( view, NULL );
|
||||
PixmapButton * m_pmButton = new PixmapButton( view, NULL );
|
||||
m_pmButton -> move( 225, 185 + 15*3 );
|
||||
m_pmButton -> setActiveGraphic( PLUGIN_NAME::getIconPixmap( "pm_active" ) );
|
||||
m_pmButton -> setInactiveGraphic( PLUGIN_NAME::getIconPixmap( "pm_inactive" ) );
|
||||
toolTip::add( m_pmButton, tr( "Modulate phase of Osc3 with Osc2" ) );
|
||||
ToolTip::add( m_pmButton, tr( "Modulate phase of Osc3 with Osc2" ) );
|
||||
|
||||
m_o23ModGroup = new automatableButtonGroup( view );
|
||||
m_o23ModGroup-> addButton( m_mixButton );
|
||||
|
||||
@@ -33,8 +33,8 @@
|
||||
#include "AutomatableButton.h"
|
||||
#include "TempoSyncKnob.h"
|
||||
#include "NotePlayHandle.h"
|
||||
#include "pixmap_button.h"
|
||||
#include "combobox.h"
|
||||
#include "PixmapButton.h"
|
||||
#include "ComboBox.h"
|
||||
#include "Oscillator.h"
|
||||
#include "lmms_math.h"
|
||||
#include "BandLimitedWave.h"
|
||||
@@ -44,7 +44,7 @@
|
||||
//
|
||||
|
||||
#define makeknob( name, x, y, hint, unit, oname ) \
|
||||
name = new knob( knobStyled, view ); \
|
||||
name = new Knob( knobStyled, view ); \
|
||||
name ->move( x, y ); \
|
||||
name ->setHintText( tr( hint ) + " ", unit ); \
|
||||
name ->setObjectName( oname ); \
|
||||
@@ -58,12 +58,12 @@
|
||||
name ->setFixedSize( 20, 20 );
|
||||
|
||||
#define maketinyled( name, x, y, ttip ) \
|
||||
name = new pixmapButton( view, NULL ); \
|
||||
name = new PixmapButton( view, NULL ); \
|
||||
name -> setCheckable( true ); \
|
||||
name -> move( x, y ); \
|
||||
name -> setActiveGraphic( PLUGIN_NAME::getIconPixmap( "tinyled_on" ) ); \
|
||||
name -> setInactiveGraphic( PLUGIN_NAME::getIconPixmap( "tinyled_off" ) ); \
|
||||
toolTip::add( name, tr( ttip ) );
|
||||
ToolTip::add( name, tr( ttip ) );
|
||||
|
||||
#define setwavemodel( name ) \
|
||||
name .addItem( tr( "Sine wave" ), static_cast<PixmapLoader*>( new PluginPixmapLoader( "sin" ) ) ); \
|
||||
@@ -591,61 +591,61 @@ private:
|
||||
// //
|
||||
//////////////////////////////////////
|
||||
|
||||
knob * m_osc1VolKnob;
|
||||
knob * m_osc1PanKnob;
|
||||
knob * m_osc1CrsKnob;
|
||||
knob * m_osc1FtlKnob;
|
||||
knob * m_osc1FtrKnob;
|
||||
knob * m_osc1SpoKnob;
|
||||
knob * m_osc1PwKnob;
|
||||
pixmapButton * m_osc1SSRButton;
|
||||
pixmapButton * m_osc1SSFButton;
|
||||
Knob * m_osc1VolKnob;
|
||||
Knob * m_osc1PanKnob;
|
||||
Knob * m_osc1CrsKnob;
|
||||
Knob * m_osc1FtlKnob;
|
||||
Knob * m_osc1FtrKnob;
|
||||
Knob * m_osc1SpoKnob;
|
||||
Knob * m_osc1PwKnob;
|
||||
PixmapButton * m_osc1SSRButton;
|
||||
PixmapButton * m_osc1SSFButton;
|
||||
|
||||
knob * m_osc2VolKnob;
|
||||
knob * m_osc2PanKnob;
|
||||
knob * m_osc2CrsKnob;
|
||||
knob * m_osc2FtlKnob;
|
||||
knob * m_osc2FtrKnob;
|
||||
knob * m_osc2SpoKnob;
|
||||
comboBox * m_osc2WaveBox;
|
||||
pixmapButton * m_osc2SyncHButton;
|
||||
pixmapButton * m_osc2SyncRButton;
|
||||
Knob * m_osc2VolKnob;
|
||||
Knob * m_osc2PanKnob;
|
||||
Knob * m_osc2CrsKnob;
|
||||
Knob * m_osc2FtlKnob;
|
||||
Knob * m_osc2FtrKnob;
|
||||
Knob * m_osc2SpoKnob;
|
||||
ComboBox * m_osc2WaveBox;
|
||||
PixmapButton * m_osc2SyncHButton;
|
||||
PixmapButton * m_osc2SyncRButton;
|
||||
|
||||
knob * m_osc3VolKnob;
|
||||
knob * m_osc3PanKnob;
|
||||
knob * m_osc3CrsKnob;
|
||||
knob * m_osc3SpoKnob;
|
||||
knob * m_osc3SubKnob;
|
||||
comboBox * m_osc3Wave1Box;
|
||||
comboBox * m_osc3Wave2Box;
|
||||
pixmapButton * m_osc3SyncHButton;
|
||||
pixmapButton * m_osc3SyncRButton;
|
||||
Knob * m_osc3VolKnob;
|
||||
Knob * m_osc3PanKnob;
|
||||
Knob * m_osc3CrsKnob;
|
||||
Knob * m_osc3SpoKnob;
|
||||
Knob * m_osc3SubKnob;
|
||||
ComboBox * m_osc3Wave1Box;
|
||||
ComboBox * m_osc3Wave2Box;
|
||||
PixmapButton * m_osc3SyncHButton;
|
||||
PixmapButton * m_osc3SyncRButton;
|
||||
|
||||
comboBox * m_lfo1WaveBox;
|
||||
ComboBox * m_lfo1WaveBox;
|
||||
TempoSyncKnob * m_lfo1AttKnob;
|
||||
TempoSyncKnob * m_lfo1RateKnob;
|
||||
knob * m_lfo1PhsKnob;
|
||||
Knob * m_lfo1PhsKnob;
|
||||
|
||||
comboBox * m_lfo2WaveBox;
|
||||
ComboBox * m_lfo2WaveBox;
|
||||
TempoSyncKnob * m_lfo2AttKnob;
|
||||
TempoSyncKnob * m_lfo2RateKnob;
|
||||
knob * m_lfo2PhsKnob;
|
||||
Knob * m_lfo2PhsKnob;
|
||||
|
||||
TempoSyncKnob * m_env1PreKnob;
|
||||
TempoSyncKnob * m_env1AttKnob;
|
||||
TempoSyncKnob * m_env1HoldKnob;
|
||||
TempoSyncKnob * m_env1DecKnob;
|
||||
knob * m_env1SusKnob;
|
||||
Knob * m_env1SusKnob;
|
||||
TempoSyncKnob * m_env1RelKnob;
|
||||
knob * m_env1SlopeKnob;
|
||||
Knob * m_env1SlopeKnob;
|
||||
|
||||
TempoSyncKnob * m_env2PreKnob;
|
||||
TempoSyncKnob * m_env2AttKnob;
|
||||
TempoSyncKnob * m_env2HoldKnob;
|
||||
TempoSyncKnob * m_env2DecKnob;
|
||||
knob * m_env2SusKnob;
|
||||
Knob * m_env2SusKnob;
|
||||
TempoSyncKnob * m_env2RelKnob;
|
||||
knob * m_env2SlopeKnob;
|
||||
Knob * m_env2SlopeKnob;
|
||||
|
||||
automatableButtonGroup * m_o23ModGroup;
|
||||
|
||||
@@ -660,60 +660,60 @@ private:
|
||||
// //
|
||||
/////////////////////////////////
|
||||
|
||||
knob * m_vol1env1Knob;
|
||||
knob * m_vol1env2Knob;
|
||||
knob * m_vol1lfo1Knob;
|
||||
knob * m_vol1lfo2Knob;
|
||||
Knob * m_vol1env1Knob;
|
||||
Knob * m_vol1env2Knob;
|
||||
Knob * m_vol1lfo1Knob;
|
||||
Knob * m_vol1lfo2Knob;
|
||||
|
||||
knob * m_vol2env1Knob;
|
||||
knob * m_vol2env2Knob;
|
||||
knob * m_vol2lfo1Knob;
|
||||
knob * m_vol2lfo2Knob;
|
||||
Knob * m_vol2env1Knob;
|
||||
Knob * m_vol2env2Knob;
|
||||
Knob * m_vol2lfo1Knob;
|
||||
Knob * m_vol2lfo2Knob;
|
||||
|
||||
knob * m_vol3env1Knob;
|
||||
knob * m_vol3env2Knob;
|
||||
knob * m_vol3lfo1Knob;
|
||||
knob * m_vol3lfo2Knob;
|
||||
Knob * m_vol3env1Knob;
|
||||
Knob * m_vol3env2Knob;
|
||||
Knob * m_vol3lfo1Knob;
|
||||
Knob * m_vol3lfo2Knob;
|
||||
|
||||
knob * m_phs1env1Knob;
|
||||
knob * m_phs1env2Knob;
|
||||
knob * m_phs1lfo1Knob;
|
||||
knob * m_phs1lfo2Knob;
|
||||
Knob * m_phs1env1Knob;
|
||||
Knob * m_phs1env2Knob;
|
||||
Knob * m_phs1lfo1Knob;
|
||||
Knob * m_phs1lfo2Knob;
|
||||
|
||||
knob * m_phs2env1Knob;
|
||||
knob * m_phs2env2Knob;
|
||||
knob * m_phs2lfo1Knob;
|
||||
knob * m_phs2lfo2Knob;
|
||||
Knob * m_phs2env1Knob;
|
||||
Knob * m_phs2env2Knob;
|
||||
Knob * m_phs2lfo1Knob;
|
||||
Knob * m_phs2lfo2Knob;
|
||||
|
||||
knob * m_phs3env1Knob;
|
||||
knob * m_phs3env2Knob;
|
||||
knob * m_phs3lfo1Knob;
|
||||
knob * m_phs3lfo2Knob;
|
||||
Knob * m_phs3env1Knob;
|
||||
Knob * m_phs3env2Knob;
|
||||
Knob * m_phs3lfo1Knob;
|
||||
Knob * m_phs3lfo2Knob;
|
||||
|
||||
knob * m_pit1env1Knob;
|
||||
knob * m_pit1env2Knob;
|
||||
knob * m_pit1lfo1Knob;
|
||||
knob * m_pit1lfo2Knob;
|
||||
Knob * m_pit1env1Knob;
|
||||
Knob * m_pit1env2Knob;
|
||||
Knob * m_pit1lfo1Knob;
|
||||
Knob * m_pit1lfo2Knob;
|
||||
|
||||
knob * m_pit2env1Knob;
|
||||
knob * m_pit2env2Knob;
|
||||
knob * m_pit2lfo1Knob;
|
||||
knob * m_pit2lfo2Knob;
|
||||
Knob * m_pit2env1Knob;
|
||||
Knob * m_pit2env2Knob;
|
||||
Knob * m_pit2lfo1Knob;
|
||||
Knob * m_pit2lfo2Knob;
|
||||
|
||||
knob * m_pit3env1Knob;
|
||||
knob * m_pit3env2Knob;
|
||||
knob * m_pit3lfo1Knob;
|
||||
knob * m_pit3lfo2Knob;
|
||||
Knob * m_pit3env1Knob;
|
||||
Knob * m_pit3env2Knob;
|
||||
Knob * m_pit3lfo1Knob;
|
||||
Knob * m_pit3lfo2Knob;
|
||||
|
||||
knob * m_pw1env1Knob;
|
||||
knob * m_pw1env2Knob;
|
||||
knob * m_pw1lfo1Knob;
|
||||
knob * m_pw1lfo2Knob;
|
||||
Knob * m_pw1env1Knob;
|
||||
Knob * m_pw1env2Knob;
|
||||
Knob * m_pw1lfo1Knob;
|
||||
Knob * m_pw1lfo2Knob;
|
||||
|
||||
knob * m_sub3env1Knob;
|
||||
knob * m_sub3env2Knob;
|
||||
knob * m_sub3lfo1Knob;
|
||||
knob * m_sub3lfo2Knob;
|
||||
Knob * m_sub3env1Knob;
|
||||
Knob * m_sub3env2Knob;
|
||||
Knob * m_sub3lfo1Knob;
|
||||
Knob * m_sub3lfo2Knob;
|
||||
|
||||
};
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
#include "Engine.h"
|
||||
#include "InstrumentTrack.h"
|
||||
#include "templates.h"
|
||||
#include "tooltip.h"
|
||||
#include "ToolTip.h"
|
||||
#include "Song.h"
|
||||
#include "lmms_math.h"
|
||||
#include "interpolation.h"
|
||||
|
||||
@@ -31,31 +31,31 @@
|
||||
#include "AutomatableButton.h"
|
||||
#include "TempoSyncKnob.h"
|
||||
#include "NotePlayHandle.h"
|
||||
#include "pixmap_button.h"
|
||||
#include "PixmapButton.h"
|
||||
#include "MemoryManager.h"
|
||||
|
||||
|
||||
#define makeknob( name, x, y, hint, unit, oname ) \
|
||||
name = new knob( knobStyled, this ); \
|
||||
name = new Knob( knobStyled, this ); \
|
||||
name ->move( x, y ); \
|
||||
name ->setHintText( tr( hint ) + " ", unit ); \
|
||||
name ->setObjectName( oname ); \
|
||||
name ->setFixedSize( 29, 29 );
|
||||
|
||||
#define makenesled( name, x, y, ttip ) \
|
||||
name = new pixmapButton( this, NULL ); \
|
||||
name = new PixmapButton( this, NULL ); \
|
||||
name -> setCheckable( true ); \
|
||||
name -> move( x, y ); \
|
||||
name -> setActiveGraphic( PLUGIN_NAME::getIconPixmap( "nesled_on" ) ); \
|
||||
name -> setInactiveGraphic( PLUGIN_NAME::getIconPixmap( "nesled_off" ) ); \
|
||||
toolTip::add( name, tr( ttip ) );
|
||||
ToolTip::add( name, tr( ttip ) );
|
||||
|
||||
#define makedcled( name, x, y, ttip, active ) \
|
||||
pixmapButton * name = new pixmapButton( this, NULL ); \
|
||||
PixmapButton * name = new PixmapButton( this, NULL ); \
|
||||
name -> move( x, y ); \
|
||||
name -> setActiveGraphic( PLUGIN_NAME::getIconPixmap( active ) ); \
|
||||
name -> setInactiveGraphic( PLUGIN_NAME::getIconPixmap( "nesdc_off" ) ); \
|
||||
toolTip::add( name, tr( ttip ) );
|
||||
ToolTip::add( name, tr( ttip ) );
|
||||
|
||||
const float NES_SIMPLE_FILTER = 1.0 / 20.0; // simulate nes analog audio output
|
||||
const float NFB = 895000.0f;
|
||||
@@ -304,58 +304,58 @@ private:
|
||||
virtual void modelChanged();
|
||||
|
||||
// channel 1
|
||||
pixmapButton * m_ch1EnabledBtn;
|
||||
knob * m_ch1CrsKnob;
|
||||
knob * m_ch1VolumeKnob;
|
||||
PixmapButton * m_ch1EnabledBtn;
|
||||
Knob * m_ch1CrsKnob;
|
||||
Knob * m_ch1VolumeKnob;
|
||||
|
||||
pixmapButton * m_ch1EnvEnabledBtn;
|
||||
pixmapButton * m_ch1EnvLoopedBtn;
|
||||
knob * m_ch1EnvLenKnob;
|
||||
PixmapButton * m_ch1EnvEnabledBtn;
|
||||
PixmapButton * m_ch1EnvLoopedBtn;
|
||||
Knob * m_ch1EnvLenKnob;
|
||||
|
||||
automatableButtonGroup * m_ch1DutyCycleGrp;
|
||||
|
||||
pixmapButton * m_ch1SweepEnabledBtn;
|
||||
knob * m_ch1SweepAmtKnob;
|
||||
knob * m_ch1SweepRateKnob;
|
||||
PixmapButton * m_ch1SweepEnabledBtn;
|
||||
Knob * m_ch1SweepAmtKnob;
|
||||
Knob * m_ch1SweepRateKnob;
|
||||
|
||||
// channel 2
|
||||
pixmapButton * m_ch2EnabledBtn;
|
||||
knob * m_ch2CrsKnob;
|
||||
knob * m_ch2VolumeKnob;
|
||||
PixmapButton * m_ch2EnabledBtn;
|
||||
Knob * m_ch2CrsKnob;
|
||||
Knob * m_ch2VolumeKnob;
|
||||
|
||||
pixmapButton * m_ch2EnvEnabledBtn;
|
||||
pixmapButton * m_ch2EnvLoopedBtn;
|
||||
knob * m_ch2EnvLenKnob;
|
||||
PixmapButton * m_ch2EnvEnabledBtn;
|
||||
PixmapButton * m_ch2EnvLoopedBtn;
|
||||
Knob * m_ch2EnvLenKnob;
|
||||
|
||||
automatableButtonGroup * m_ch2DutyCycleGrp;
|
||||
|
||||
pixmapButton * m_ch2SweepEnabledBtn;
|
||||
knob * m_ch2SweepAmtKnob;
|
||||
knob * m_ch2SweepRateKnob;
|
||||
PixmapButton * m_ch2SweepEnabledBtn;
|
||||
Knob * m_ch2SweepAmtKnob;
|
||||
Knob * m_ch2SweepRateKnob;
|
||||
|
||||
//channel 3
|
||||
pixmapButton * m_ch3EnabledBtn;
|
||||
knob * m_ch3CrsKnob;
|
||||
knob * m_ch3VolumeKnob;
|
||||
PixmapButton * m_ch3EnabledBtn;
|
||||
Knob * m_ch3CrsKnob;
|
||||
Knob * m_ch3VolumeKnob;
|
||||
|
||||
//channel 4
|
||||
pixmapButton * m_ch4EnabledBtn;
|
||||
knob * m_ch4VolumeKnob;
|
||||
PixmapButton * m_ch4EnabledBtn;
|
||||
Knob * m_ch4VolumeKnob;
|
||||
|
||||
pixmapButton * m_ch4EnvEnabledBtn;
|
||||
pixmapButton * m_ch4EnvLoopedBtn;
|
||||
knob * m_ch4EnvLenKnob;
|
||||
PixmapButton * m_ch4EnvEnabledBtn;
|
||||
PixmapButton * m_ch4EnvLoopedBtn;
|
||||
Knob * m_ch4EnvLenKnob;
|
||||
|
||||
pixmapButton * m_ch4NoiseModeBtn;
|
||||
pixmapButton * m_ch4NoiseFreqModeBtn;
|
||||
knob * m_ch4NoiseFreqKnob;
|
||||
PixmapButton * m_ch4NoiseModeBtn;
|
||||
PixmapButton * m_ch4NoiseFreqModeBtn;
|
||||
Knob * m_ch4NoiseFreqKnob;
|
||||
|
||||
knob * m_ch4SweepKnob;
|
||||
pixmapButton * m_ch4NoiseQuantizeBtn;
|
||||
Knob * m_ch4SweepKnob;
|
||||
PixmapButton * m_ch4NoiseQuantizeBtn;
|
||||
|
||||
//master
|
||||
knob * m_masterVolKnob;
|
||||
knob * m_vibratoKnob;
|
||||
Knob * m_masterVolKnob;
|
||||
Knob * m_vibratoKnob;
|
||||
|
||||
static QPixmap * s_artwork;
|
||||
};
|
||||
|
||||
@@ -57,10 +57,10 @@
|
||||
#include "embed.cpp"
|
||||
#include "math.h"
|
||||
|
||||
#include "knob.h"
|
||||
#include "Knob.h"
|
||||
#include "LcdSpinBox.h"
|
||||
#include "pixmap_button.h"
|
||||
#include "tooltip.h"
|
||||
#include "PixmapButton.h"
|
||||
#include "ToolTip.h"
|
||||
|
||||
extern "C"
|
||||
{
|
||||
@@ -585,7 +585,7 @@ opl2instrumentView::opl2instrumentView( Instrument * _instrument,
|
||||
*/
|
||||
|
||||
#define KNOB_GEN(knobname, hinttext, hintunit,xpos,ypos) \
|
||||
knobname = new knob( knobStyled, this );\
|
||||
knobname = new Knob( knobStyled, this );\
|
||||
knobname->setHintText( tr(hinttext) + "", hintunit );\
|
||||
knobname->setFixedSize(22,22);\
|
||||
knobname->setCenterPointX(11.0);\
|
||||
@@ -594,18 +594,18 @@ opl2instrumentView::opl2instrumentView( Instrument * _instrument,
|
||||
knobname->move(xpos,ypos);
|
||||
|
||||
#define BUTTON_GEN(buttname, tooltip, xpos, ypos) \
|
||||
buttname = new pixmapButton( this, NULL );\
|
||||
buttname = new PixmapButton( this, NULL );\
|
||||
buttname->setActiveGraphic( PLUGIN_NAME::getIconPixmap( "opl2_led_on" ) );\
|
||||
buttname->setInactiveGraphic( PLUGIN_NAME::getIconPixmap( "opl2_led_off" ) );\
|
||||
buttname->setCheckable( true );\
|
||||
toolTip::add( buttname, tr( tooltip ) );\
|
||||
ToolTip::add( buttname, tr( tooltip ) );\
|
||||
buttname->move( xpos, ypos );
|
||||
|
||||
#define WAVEBUTTON_GEN(buttname, tooltip, xpos, ypos, icon_on, icon_off, buttgroup) \
|
||||
buttname = new pixmapButton( this, NULL );\
|
||||
buttname = new PixmapButton( this, NULL );\
|
||||
buttname->setActiveGraphic( PLUGIN_NAME::getIconPixmap( icon_on ) ); \
|
||||
buttname->setInactiveGraphic( PLUGIN_NAME::getIconPixmap( icon_off ) ); \
|
||||
toolTip::add( buttname, tr( tooltip ) );\
|
||||
ToolTip::add( buttname, tr( tooltip ) );\
|
||||
buttname->move( xpos, ypos );\
|
||||
buttgroup->addButton(buttname);
|
||||
|
||||
|
||||
@@ -30,8 +30,8 @@
|
||||
#include "opl.h"
|
||||
|
||||
#include "LcdSpinBox.h"
|
||||
#include "knob.h"
|
||||
#include "pixmap_button.h"
|
||||
#include "Knob.h"
|
||||
#include "PixmapButton.h"
|
||||
|
||||
#define OPL2_VOICE_FREE 255
|
||||
#define OPL2_NO_VOICE 255
|
||||
@@ -146,46 +146,46 @@ public:
|
||||
LcdSpinBox *m_patch;
|
||||
void modelChanged();
|
||||
|
||||
knob *op1_a_kn;
|
||||
knob *op1_d_kn;
|
||||
knob *op1_s_kn;
|
||||
knob *op1_r_kn;
|
||||
knob *op1_lvl_kn;
|
||||
knob *op1_scale_kn;
|
||||
knob *op1_mul_kn;
|
||||
knob *feedback_kn;
|
||||
pixmapButton *op1_ksr_btn;
|
||||
pixmapButton *op1_perc_btn;
|
||||
pixmapButton *op1_trem_btn;
|
||||
pixmapButton *op1_vib_btn;
|
||||
pixmapButton *op1_w0_btn;
|
||||
pixmapButton *op1_w1_btn;
|
||||
pixmapButton *op1_w2_btn;
|
||||
pixmapButton *op1_w3_btn;
|
||||
Knob *op1_a_kn;
|
||||
Knob *op1_d_kn;
|
||||
Knob *op1_s_kn;
|
||||
Knob *op1_r_kn;
|
||||
Knob *op1_lvl_kn;
|
||||
Knob *op1_scale_kn;
|
||||
Knob *op1_mul_kn;
|
||||
Knob *feedback_kn;
|
||||
PixmapButton *op1_ksr_btn;
|
||||
PixmapButton *op1_perc_btn;
|
||||
PixmapButton *op1_trem_btn;
|
||||
PixmapButton *op1_vib_btn;
|
||||
PixmapButton *op1_w0_btn;
|
||||
PixmapButton *op1_w1_btn;
|
||||
PixmapButton *op1_w2_btn;
|
||||
PixmapButton *op1_w3_btn;
|
||||
automatableButtonGroup *op1_waveform;
|
||||
|
||||
|
||||
knob *op2_a_kn;
|
||||
knob *op2_d_kn;
|
||||
knob *op2_s_kn;
|
||||
knob *op2_r_kn;
|
||||
knob *op2_lvl_kn;
|
||||
knob *op2_scale_kn;
|
||||
knob *op2_mul_kn;
|
||||
pixmapButton *op2_ksr_btn;
|
||||
pixmapButton *op2_perc_btn;
|
||||
pixmapButton *op2_trem_btn;
|
||||
pixmapButton *op2_vib_btn;
|
||||
pixmapButton *op2_w0_btn;
|
||||
pixmapButton *op2_w1_btn;
|
||||
pixmapButton *op2_w2_btn;
|
||||
pixmapButton *op2_w3_btn;
|
||||
Knob *op2_a_kn;
|
||||
Knob *op2_d_kn;
|
||||
Knob *op2_s_kn;
|
||||
Knob *op2_r_kn;
|
||||
Knob *op2_lvl_kn;
|
||||
Knob *op2_scale_kn;
|
||||
Knob *op2_mul_kn;
|
||||
PixmapButton *op2_ksr_btn;
|
||||
PixmapButton *op2_perc_btn;
|
||||
PixmapButton *op2_trem_btn;
|
||||
PixmapButton *op2_vib_btn;
|
||||
PixmapButton *op2_w0_btn;
|
||||
PixmapButton *op2_w1_btn;
|
||||
PixmapButton *op2_w2_btn;
|
||||
PixmapButton *op2_w3_btn;
|
||||
automatableButtonGroup *op2_waveform;
|
||||
|
||||
|
||||
pixmapButton *fm_btn;
|
||||
pixmapButton *vib_depth_btn;
|
||||
pixmapButton *trem_depth_btn;
|
||||
PixmapButton *fm_btn;
|
||||
PixmapButton *vib_depth_btn;
|
||||
PixmapButton *trem_depth_btn;
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -32,12 +32,12 @@
|
||||
|
||||
#include "Engine.h"
|
||||
#include "InstrumentTrack.h"
|
||||
#include "knob.h"
|
||||
#include "Knob.h"
|
||||
#include "NotePlayHandle.h"
|
||||
#include "Oscillator.h"
|
||||
#include "pixmap_button.h"
|
||||
#include "PixmapButton.h"
|
||||
#include "templates.h"
|
||||
#include "tooltip.h"
|
||||
#include "ToolTip.h"
|
||||
|
||||
#include "embed.cpp"
|
||||
|
||||
@@ -403,11 +403,11 @@ PluginView * organicInstrument::instantiateView( QWidget * _parent )
|
||||
|
||||
|
||||
|
||||
class organicKnob : public knob
|
||||
class organicKnob : public Knob
|
||||
{
|
||||
public:
|
||||
organicKnob( QWidget * _parent ) :
|
||||
knob( knobStyled, _parent )
|
||||
Knob( knobStyled, _parent )
|
||||
{
|
||||
setFixedSize( 21, 21 );
|
||||
}
|
||||
@@ -448,7 +448,7 @@ organicInstrumentView::organicInstrumentView( Instrument * _instrument,
|
||||
"It is cumulative with the instrument window's volume control. " ) );
|
||||
|
||||
// randomise
|
||||
m_randBtn = new pixmapButton( this, tr( "Randomise" ) );
|
||||
m_randBtn = new PixmapButton( this, tr( "Randomise" ) );
|
||||
m_randBtn->move( 148, 224 );
|
||||
m_randBtn->setActiveGraphic( PLUGIN_NAME::getIconPixmap(
|
||||
"randomise_pressed" ) );
|
||||
@@ -501,14 +501,14 @@ void organicInstrumentView::modelChanged()
|
||||
for( int i = 0; i < m_numOscillators; ++i )
|
||||
{
|
||||
// setup harmonic knob
|
||||
knob * harmKnob = new organicKnob( this );
|
||||
Knob * harmKnob = new organicKnob( this );
|
||||
harmKnob->move( x + i * colWidth, y - rowHeight );
|
||||
harmKnob->setObjectName( "harmKnob" );
|
||||
connect( &oi->m_osc[i]->m_harmModel, SIGNAL( dataChanged() ),
|
||||
this, SLOT( updateKnobHint() ) );
|
||||
|
||||
// setup waveform-knob
|
||||
knob * oscKnob = new organicKnob( this );
|
||||
Knob * oscKnob = new organicKnob( this );
|
||||
oscKnob->move( x + i * colWidth, y );
|
||||
connect( &oi->m_osc[i]->m_oscModel, SIGNAL( dataChanged() ),
|
||||
this, SLOT( updateKnobHint() ) );
|
||||
@@ -516,7 +516,7 @@ void organicInstrumentView::modelChanged()
|
||||
oscKnob->setHintText( tr( "Osc %1 waveform:" ).arg( i + 1 ) + " ", QString() );
|
||||
|
||||
// setup volume-knob
|
||||
knob * volKnob = new knob( knobStyled, this );
|
||||
Knob * volKnob = new Knob( knobStyled, this );
|
||||
volKnob->setVolumeKnob( true );
|
||||
volKnob->move( x + i * colWidth, y + rowHeight*1 );
|
||||
volKnob->setFixedSize( 21, 21 );
|
||||
@@ -524,13 +524,13 @@ void organicInstrumentView::modelChanged()
|
||||
i + 1 ) + " ", "%" );
|
||||
|
||||
// setup panning-knob
|
||||
knob * panKnob = new organicKnob( this );
|
||||
Knob * panKnob = new organicKnob( this );
|
||||
panKnob->move( x + i * colWidth, y + rowHeight*2 );
|
||||
panKnob->setHintText( tr("Osc %1 panning:").arg(
|
||||
i + 1 ) + " ", "" );
|
||||
|
||||
// setup knob for fine-detuning
|
||||
knob * detuneKnob = new organicKnob( this );
|
||||
Knob * detuneKnob = new organicKnob( this );
|
||||
detuneKnob->move( x + i * colWidth, y + rowHeight*3 );
|
||||
detuneKnob->setHintText( tr( "Osc %1 stereo detuning" ).arg( i + 1 )
|
||||
+ " ", " " +
|
||||
|
||||
@@ -35,9 +35,9 @@
|
||||
|
||||
class QPixmap;
|
||||
|
||||
class knob;
|
||||
class Knob;
|
||||
class NotePlayHandle;
|
||||
class pixmapButton;
|
||||
class PixmapButton;
|
||||
|
||||
const int NUM_HARMONICS = 18;
|
||||
const QString HARMONIC_NAMES[NUM_HARMONICS] = {
|
||||
@@ -184,11 +184,11 @@ private:
|
||||
{
|
||||
MM_OPERATORS
|
||||
OscillatorKnobs(
|
||||
knob * h,
|
||||
knob * v,
|
||||
knob * o,
|
||||
knob * p,
|
||||
knob * dt ) :
|
||||
Knob * h,
|
||||
Knob * v,
|
||||
Knob * o,
|
||||
Knob * p,
|
||||
Knob * dt ) :
|
||||
m_harmKnob( h ),
|
||||
m_volKnob( v ),
|
||||
m_oscKnob( o ),
|
||||
@@ -200,18 +200,18 @@ private:
|
||||
{
|
||||
}
|
||||
|
||||
knob * m_harmKnob;
|
||||
knob * m_volKnob;
|
||||
knob * m_oscKnob;
|
||||
knob * m_panKnob;
|
||||
knob * m_detuneKnob;
|
||||
Knob * m_harmKnob;
|
||||
Knob * m_volKnob;
|
||||
Knob * m_oscKnob;
|
||||
Knob * m_panKnob;
|
||||
Knob * m_detuneKnob;
|
||||
} ;
|
||||
|
||||
OscillatorKnobs * m_oscKnobs;
|
||||
|
||||
knob * m_fx1Knob;
|
||||
knob * m_volKnob;
|
||||
pixmapButton * m_randBtn;
|
||||
Knob * m_fx1Knob;
|
||||
Knob * m_volKnob;
|
||||
PixmapButton * m_randBtn;
|
||||
|
||||
int m_numOscillators;
|
||||
|
||||
|
||||
@@ -31,12 +31,12 @@
|
||||
#include "papu_instrument.h"
|
||||
#include "base64.h"
|
||||
#include "InstrumentTrack.h"
|
||||
#include "knob.h"
|
||||
#include "Knob.h"
|
||||
#include "NotePlayHandle.h"
|
||||
#include "pixmap_button.h"
|
||||
#include "tooltip.h"
|
||||
#include "PixmapButton.h"
|
||||
#include "ToolTip.h"
|
||||
#include "Engine.h"
|
||||
#include "graph.h"
|
||||
#include "Graph.h"
|
||||
|
||||
#include "embed.cpp"
|
||||
|
||||
@@ -426,11 +426,11 @@ PluginView * papuInstrument::instantiateView( QWidget * _parent )
|
||||
}
|
||||
|
||||
|
||||
class papuKnob : public knob
|
||||
class papuKnob : public Knob
|
||||
{
|
||||
public:
|
||||
papuKnob( QWidget * _parent ) :
|
||||
knob( knobStyled, _parent )
|
||||
Knob( knobStyled, _parent )
|
||||
{
|
||||
setFixedSize( 30, 30 );
|
||||
setCenterPointX( 15.0 );
|
||||
@@ -458,7 +458,7 @@ papuInstrumentView::papuInstrumentView( Instrument * _instrument,
|
||||
m_ch1SweepTimeKnob = new papuKnob( this );
|
||||
m_ch1SweepTimeKnob->setHintText( tr( "Sweep Time:" ) + " ", "" );
|
||||
m_ch1SweepTimeKnob->move( 5 + 4*32, 106 );
|
||||
toolTip::add( m_ch1SweepTimeKnob, tr( "Sweep Time" ) );
|
||||
ToolTip::add( m_ch1SweepTimeKnob, tr( "Sweep Time" ) );
|
||||
m_ch1SweepTimeKnob->setWhatsThis( tr( "The amount of increase or"
|
||||
" decrease in frequency" ) );
|
||||
|
||||
@@ -466,7 +466,7 @@ papuInstrumentView::papuInstrumentView( Instrument * _instrument,
|
||||
m_ch1SweepRtShiftKnob->setHintText( tr( "Sweep RtShift amount:" )
|
||||
+ " ", "" );
|
||||
m_ch1SweepRtShiftKnob->move( 5 + 3*32, 106 );
|
||||
toolTip::add( m_ch1SweepRtShiftKnob, tr( "Sweep RtShift amount" ) );
|
||||
ToolTip::add( m_ch1SweepRtShiftKnob, tr( "Sweep RtShift amount" ) );
|
||||
m_ch1SweepRtShiftKnob->setWhatsThis( tr( "The rate at which increase or"
|
||||
" decrease in frequency occurs" ) );
|
||||
|
||||
@@ -474,7 +474,7 @@ papuInstrumentView::papuInstrumentView( Instrument * _instrument,
|
||||
m_ch1WavePatternDutyKnob->setHintText( tr( "Wave pattern duty:" )
|
||||
+ " ", "" );
|
||||
m_ch1WavePatternDutyKnob->move( 5 + 2*32, 106 );
|
||||
toolTip::add( m_ch1WavePatternDutyKnob, tr( "Wave Pattern Duty" ) );
|
||||
ToolTip::add( m_ch1WavePatternDutyKnob, tr( "Wave Pattern Duty" ) );
|
||||
m_ch1WavePatternDutyKnob->setWhatsThis( tr( "The duty cycle is the ratio of"
|
||||
" the duration (time) that a signal is ON"
|
||||
" versus the total period of the signal." ) );
|
||||
@@ -483,14 +483,14 @@ papuInstrumentView::papuInstrumentView( Instrument * _instrument,
|
||||
m_ch1VolumeKnob->setHintText( tr( "Square Channel 1 Volume:" )
|
||||
+ " ", "" );
|
||||
m_ch1VolumeKnob->move( 5, 106 );
|
||||
toolTip::add( m_ch1VolumeKnob, tr( "Square Channel 1 Volume:" ) );
|
||||
ToolTip::add( m_ch1VolumeKnob, tr( "Square Channel 1 Volume:" ) );
|
||||
m_ch1VolumeKnob->setWhatsThis( tr( "Square Channel 1 Volume" ) );
|
||||
|
||||
m_ch1SweepStepLengthKnob = new papuKnob( this );
|
||||
m_ch1SweepStepLengthKnob->setHintText( tr( "Length of each step in sweep:" )
|
||||
+ " ", "" );
|
||||
m_ch1SweepStepLengthKnob->move( 5 + 32, 106 );
|
||||
toolTip::add( m_ch1SweepStepLengthKnob, tr( "Length of each step in sweep" ) );
|
||||
ToolTip::add( m_ch1SweepStepLengthKnob, tr( "Length of each step in sweep" ) );
|
||||
m_ch1SweepStepLengthKnob->setWhatsThis( tr( "The delay between step change" ) );
|
||||
|
||||
|
||||
@@ -499,7 +499,7 @@ papuInstrumentView::papuInstrumentView( Instrument * _instrument,
|
||||
m_ch2WavePatternDutyKnob->setHintText( tr( "Wave pattern duty:" )
|
||||
+ " ", "" );
|
||||
m_ch2WavePatternDutyKnob->move( 5 + 2*32, 155 );
|
||||
toolTip::add( m_ch2WavePatternDutyKnob, tr( "Wave pattern duty" ) );
|
||||
ToolTip::add( m_ch2WavePatternDutyKnob, tr( "Wave pattern duty" ) );
|
||||
m_ch2WavePatternDutyKnob->setWhatsThis( tr( "The duty cycle is the ratio of"
|
||||
" the duration (time) that a signal is ON"
|
||||
" versus the total period of the signal." ) );
|
||||
@@ -508,14 +508,14 @@ papuInstrumentView::papuInstrumentView( Instrument * _instrument,
|
||||
m_ch2VolumeKnob->setHintText( tr( "Square Channel 2 Volume:" )
|
||||
+ " ", "" );
|
||||
m_ch2VolumeKnob->move( 5, 155 );
|
||||
toolTip::add( m_ch2VolumeKnob, tr( "Square Channel 2 Volume" ) );
|
||||
ToolTip::add( m_ch2VolumeKnob, tr( "Square Channel 2 Volume" ) );
|
||||
m_ch2VolumeKnob->setWhatsThis( tr( "Square Channel 2 Volume" ) );
|
||||
|
||||
m_ch2SweepStepLengthKnob = new papuKnob( this );
|
||||
m_ch2SweepStepLengthKnob->setHintText( tr( "Length of each step in sweep:" )
|
||||
+ " ", "" );
|
||||
m_ch2SweepStepLengthKnob->move( 5 + 32, 155 );
|
||||
toolTip::add( m_ch2SweepStepLengthKnob, tr( "Length of each step in sweep" ) );
|
||||
ToolTip::add( m_ch2SweepStepLengthKnob, tr( "Length of each step in sweep" ) );
|
||||
m_ch2SweepStepLengthKnob->setWhatsThis( tr( "The delay between step change" ) );
|
||||
|
||||
|
||||
@@ -523,7 +523,7 @@ papuInstrumentView::papuInstrumentView( Instrument * _instrument,
|
||||
m_ch3VolumeKnob = new papuKnob( this );
|
||||
m_ch3VolumeKnob->setHintText( tr( "Wave Channel Volume:" ) + " ", "" );
|
||||
m_ch3VolumeKnob->move( 5, 204 );
|
||||
toolTip::add( m_ch3VolumeKnob, tr( "Wave Channel Volume" ) );
|
||||
ToolTip::add( m_ch3VolumeKnob, tr( "Wave Channel Volume" ) );
|
||||
m_ch3VolumeKnob->setWhatsThis( tr( "Wave Channel Volume" ) );
|
||||
|
||||
|
||||
@@ -531,14 +531,14 @@ papuInstrumentView::papuInstrumentView( Instrument * _instrument,
|
||||
m_ch4VolumeKnob = new papuKnob( this );
|
||||
m_ch4VolumeKnob->setHintText( tr( "Noise Channel Volume:" ) + " ", "" );
|
||||
m_ch4VolumeKnob->move( 144, 155 );
|
||||
toolTip::add( m_ch4VolumeKnob, tr( "Noise Channel Volume" ) );
|
||||
ToolTip::add( m_ch4VolumeKnob, tr( "Noise Channel Volume" ) );
|
||||
m_ch4VolumeKnob->setWhatsThis( tr( "Noise Channel Volume" ) );
|
||||
|
||||
m_ch4SweepStepLengthKnob = new papuKnob( this );
|
||||
m_ch4SweepStepLengthKnob->setHintText( tr( "Length of each step in sweep:" )
|
||||
+ " ", "" );
|
||||
m_ch4SweepStepLengthKnob->move( 144 + 32, 155 );
|
||||
toolTip::add( m_ch4SweepStepLengthKnob, tr( "Length of each step in sweep" ) );
|
||||
ToolTip::add( m_ch4SweepStepLengthKnob, tr( "Length of each step in sweep" ) );
|
||||
m_ch4SweepStepLengthKnob->setWhatsThis( tr( "The delay between step change" ) );
|
||||
|
||||
|
||||
@@ -546,44 +546,44 @@ papuInstrumentView::papuInstrumentView( Instrument * _instrument,
|
||||
m_so1VolumeKnob = new papuKnob( this );
|
||||
m_so1VolumeKnob->setHintText( tr( "SO1 Volume (Right):" ) + " ", "" );
|
||||
m_so1VolumeKnob->move( 5, 58 );
|
||||
toolTip::add( m_so1VolumeKnob, tr( "SO1 Volume (Right)" ) );
|
||||
ToolTip::add( m_so1VolumeKnob, tr( "SO1 Volume (Right)" ) );
|
||||
|
||||
m_so2VolumeKnob = new papuKnob( this );
|
||||
m_so2VolumeKnob->setHintText( tr( "SO2 Volume (Left):" ) + " ", "" );
|
||||
m_so2VolumeKnob->move( 5 + 32, 58 );
|
||||
toolTip::add( m_so2VolumeKnob, tr( "SO2 Volume (Left)" ) );
|
||||
ToolTip::add( m_so2VolumeKnob, tr( "SO2 Volume (Left)" ) );
|
||||
|
||||
m_trebleKnob = new papuKnob( this );
|
||||
m_trebleKnob->setHintText( tr( "Treble:" ) + " ", "" );
|
||||
m_trebleKnob->move( 5 + 2*32, 58 );
|
||||
toolTip::add( m_trebleKnob, tr( "Treble" ) );
|
||||
ToolTip::add( m_trebleKnob, tr( "Treble" ) );
|
||||
|
||||
m_bassKnob = new papuKnob( this );
|
||||
m_bassKnob->setHintText( tr( "Bass:" ) + " ", "" );
|
||||
m_bassKnob->move( 5 + 3*32, 58 );
|
||||
toolTip::add( m_bassKnob, tr( "Bass" ) );
|
||||
ToolTip::add( m_bassKnob, tr( "Bass" ) );
|
||||
|
||||
m_ch1SweepDirButton = new pixmapButton( this, NULL );
|
||||
m_ch1SweepDirButton = new PixmapButton( this, NULL );
|
||||
m_ch1SweepDirButton->setCheckable( true );
|
||||
m_ch1SweepDirButton->move( 167, 108 );
|
||||
m_ch1SweepDirButton->setActiveGraphic(
|
||||
PLUGIN_NAME::getIconPixmap( "btn_down" ) );
|
||||
m_ch1SweepDirButton->setInactiveGraphic(
|
||||
PLUGIN_NAME::getIconPixmap( "btn_up" ) );
|
||||
toolTip::add( m_ch1SweepDirButton, tr( "Sweep Direction" ) );
|
||||
ToolTip::add( m_ch1SweepDirButton, tr( "Sweep Direction" ) );
|
||||
|
||||
m_ch1VolSweepDirButton = new pixmapButton( this, NULL );
|
||||
m_ch1VolSweepDirButton = new PixmapButton( this, NULL );
|
||||
m_ch1VolSweepDirButton->setCheckable( true );
|
||||
m_ch1VolSweepDirButton->move( 207, 108 );
|
||||
m_ch1VolSweepDirButton->setActiveGraphic(
|
||||
PLUGIN_NAME::getIconPixmap( "btn_up" ) );
|
||||
m_ch1VolSweepDirButton->setInactiveGraphic(
|
||||
PLUGIN_NAME::getIconPixmap( "btn_down" ) );
|
||||
toolTip::add( m_ch1VolSweepDirButton, tr( "Volume Sweep Direction" ) );
|
||||
ToolTip::add( m_ch1VolSweepDirButton, tr( "Volume Sweep Direction" ) );
|
||||
|
||||
|
||||
|
||||
m_ch2VolSweepDirButton = new pixmapButton( this,
|
||||
m_ch2VolSweepDirButton = new PixmapButton( this,
|
||||
tr( "Volume Sweep Direction" ) );
|
||||
m_ch2VolSweepDirButton->setCheckable( true );
|
||||
m_ch2VolSweepDirButton->move( 102, 156 );
|
||||
@@ -591,12 +591,12 @@ papuInstrumentView::papuInstrumentView( Instrument * _instrument,
|
||||
PLUGIN_NAME::getIconPixmap( "btn_up" ) );
|
||||
m_ch2VolSweepDirButton->setInactiveGraphic(
|
||||
PLUGIN_NAME::getIconPixmap( "btn_down" ) );
|
||||
toolTip::add( m_ch2VolSweepDirButton, tr( "Volume Sweep Direction" ) );
|
||||
ToolTip::add( m_ch2VolSweepDirButton, tr( "Volume Sweep Direction" ) );
|
||||
|
||||
//m_ch3OnButton = new pixmapButton( this, NULL );
|
||||
//m_ch3OnButton = new PixmapButton( this, NULL );
|
||||
//m_ch3OnButton->move( 176, 53 );
|
||||
|
||||
m_ch4VolSweepDirButton = new pixmapButton( this,
|
||||
m_ch4VolSweepDirButton = new PixmapButton( this,
|
||||
tr( "Volume Sweep Direction" ) );
|
||||
m_ch4VolSweepDirButton->setCheckable( true );
|
||||
m_ch4VolSweepDirButton->move( 207, 157 );
|
||||
@@ -604,85 +604,85 @@ papuInstrumentView::papuInstrumentView( Instrument * _instrument,
|
||||
PLUGIN_NAME::getIconPixmap( "btn_up" ) );
|
||||
m_ch4VolSweepDirButton->setInactiveGraphic(
|
||||
PLUGIN_NAME::getIconPixmap( "btn_down" ) );
|
||||
toolTip::add( m_ch4VolSweepDirButton, tr( "Volume Sweep Direction" ) );
|
||||
ToolTip::add( m_ch4VolSweepDirButton, tr( "Volume Sweep Direction" ) );
|
||||
|
||||
m_ch4ShiftRegWidthButton = new pixmapButton( this, NULL );
|
||||
m_ch4ShiftRegWidthButton = new PixmapButton( this, NULL );
|
||||
m_ch4ShiftRegWidthButton->setCheckable( true );
|
||||
m_ch4ShiftRegWidthButton->move( 207, 171 );
|
||||
m_ch4ShiftRegWidthButton->setActiveGraphic(
|
||||
PLUGIN_NAME::getIconPixmap( "btn_7" ) );
|
||||
m_ch4ShiftRegWidthButton->setInactiveGraphic(
|
||||
PLUGIN_NAME::getIconPixmap( "btn_15" ) );
|
||||
toolTip::add( m_ch4ShiftRegWidthButton, tr( "Shift Register Width" ) );
|
||||
ToolTip::add( m_ch4ShiftRegWidthButton, tr( "Shift Register Width" ) );
|
||||
|
||||
|
||||
|
||||
|
||||
m_ch1So1Button = new pixmapButton( this, NULL );
|
||||
m_ch1So1Button = new PixmapButton( this, NULL );
|
||||
m_ch1So1Button->setCheckable( true );
|
||||
m_ch1So1Button->move( 208, 51 );
|
||||
m_ch1So1Button->setActiveGraphic( PLUGIN_NAME::getIconPixmap( "btn_on" ) );
|
||||
m_ch1So1Button->setInactiveGraphic( PLUGIN_NAME::getIconPixmap("btn_off") );
|
||||
toolTip::add( m_ch1So1Button, tr( "Channel1 to SO1 (Right)" ) );
|
||||
ToolTip::add( m_ch1So1Button, tr( "Channel1 to SO1 (Right)" ) );
|
||||
|
||||
m_ch2So1Button = new pixmapButton( this, NULL );
|
||||
m_ch2So1Button = new PixmapButton( this, NULL );
|
||||
m_ch2So1Button->setCheckable( true );
|
||||
m_ch2So1Button->move( 208, 51 + 12 );
|
||||
m_ch2So1Button->setActiveGraphic( PLUGIN_NAME::getIconPixmap( "btn_on" ) );
|
||||
m_ch2So1Button->setInactiveGraphic( PLUGIN_NAME::getIconPixmap("btn_off") );
|
||||
toolTip::add( m_ch2So1Button, tr( "Channel2 to SO1 (Right)" ) );
|
||||
ToolTip::add( m_ch2So1Button, tr( "Channel2 to SO1 (Right)" ) );
|
||||
|
||||
m_ch3So1Button = new pixmapButton( this, NULL );
|
||||
m_ch3So1Button = new PixmapButton( this, NULL );
|
||||
m_ch3So1Button->setCheckable( true );
|
||||
m_ch3So1Button->move( 208, 51 + 2*12 );
|
||||
m_ch3So1Button->setActiveGraphic( PLUGIN_NAME::getIconPixmap( "btn_on" ) );
|
||||
m_ch3So1Button->setInactiveGraphic( PLUGIN_NAME::getIconPixmap("btn_off") );
|
||||
toolTip::add( m_ch3So1Button, tr( "Channel3 to SO1 (Right)" ) );
|
||||
ToolTip::add( m_ch3So1Button, tr( "Channel3 to SO1 (Right)" ) );
|
||||
|
||||
m_ch4So1Button = new pixmapButton( this, NULL );
|
||||
m_ch4So1Button = new PixmapButton( this, NULL );
|
||||
m_ch4So1Button->setCheckable( true );
|
||||
m_ch4So1Button->setChecked( false );
|
||||
m_ch4So1Button->move( 208, 51 + 3*12 );
|
||||
m_ch4So1Button->setActiveGraphic( PLUGIN_NAME::getIconPixmap( "btn_on" ) );
|
||||
m_ch4So1Button->setInactiveGraphic( PLUGIN_NAME::getIconPixmap("btn_off") );
|
||||
toolTip::add( m_ch4So1Button, tr( "Channel4 to SO1 (Right)" ) );
|
||||
ToolTip::add( m_ch4So1Button, tr( "Channel4 to SO1 (Right)" ) );
|
||||
|
||||
m_ch1So2Button = new pixmapButton( this, NULL );
|
||||
m_ch1So2Button = new PixmapButton( this, NULL );
|
||||
m_ch1So2Button->setCheckable( true );
|
||||
m_ch1So2Button->move( 148, 51 );
|
||||
m_ch1So2Button->setActiveGraphic( PLUGIN_NAME::getIconPixmap( "btn_on" ) );
|
||||
m_ch1So2Button->setInactiveGraphic( PLUGIN_NAME::getIconPixmap("btn_off") );
|
||||
toolTip::add( m_ch1So2Button, tr( "Channel1 to SO2 (Left)" ) );
|
||||
ToolTip::add( m_ch1So2Button, tr( "Channel1 to SO2 (Left)" ) );
|
||||
|
||||
m_ch2So2Button = new pixmapButton( this, NULL );
|
||||
m_ch2So2Button = new PixmapButton( this, NULL );
|
||||
m_ch2So2Button->setCheckable( true );
|
||||
m_ch2So2Button->move( 148, 51 + 12 );
|
||||
m_ch2So2Button->setActiveGraphic( PLUGIN_NAME::getIconPixmap( "btn_on" ) );
|
||||
m_ch2So2Button->setInactiveGraphic( PLUGIN_NAME::getIconPixmap("btn_off") );
|
||||
toolTip::add( m_ch2So2Button, tr( "Channel2 to SO2 (Left)" ) );
|
||||
ToolTip::add( m_ch2So2Button, tr( "Channel2 to SO2 (Left)" ) );
|
||||
|
||||
m_ch3So2Button = new pixmapButton( this, NULL );
|
||||
m_ch3So2Button = new PixmapButton( this, NULL );
|
||||
m_ch3So2Button->setCheckable( true );
|
||||
m_ch3So2Button->move( 148, 51 + 2*12 );
|
||||
m_ch3So2Button->setActiveGraphic( PLUGIN_NAME::getIconPixmap( "btn_on" ) );
|
||||
m_ch3So2Button->setInactiveGraphic( PLUGIN_NAME::getIconPixmap("btn_off") );
|
||||
toolTip::add( m_ch3So2Button, tr( "Channel3 to SO2 (Left)" ) );
|
||||
ToolTip::add( m_ch3So2Button, tr( "Channel3 to SO2 (Left)" ) );
|
||||
|
||||
m_ch4So2Button = new pixmapButton( this, NULL );
|
||||
m_ch4So2Button = new PixmapButton( this, NULL );
|
||||
m_ch4So2Button->setCheckable( true );
|
||||
m_ch4So2Button->setChecked( false );
|
||||
m_ch4So2Button->move( 148, 51 + 3*12 );
|
||||
m_ch4So2Button->setActiveGraphic( PLUGIN_NAME::getIconPixmap( "btn_on" ) );
|
||||
m_ch4So2Button->setInactiveGraphic( PLUGIN_NAME::getIconPixmap("btn_off") );
|
||||
toolTip::add( m_ch4So2Button, tr( "Channel4 to SO2 (Left)" ) );
|
||||
ToolTip::add( m_ch4So2Button, tr( "Channel4 to SO2 (Left)" ) );
|
||||
|
||||
|
||||
m_graph = new graph( this );
|
||||
m_graph->setGraphStyle( graph::NearestStyle );
|
||||
m_graph = new Graph( this );
|
||||
m_graph->setGraphStyle( Graph::NearestStyle );
|
||||
m_graph->setGraphColor( QColor(0x4E, 0x83, 0x2B) );
|
||||
m_graph->move( 37, 199 );
|
||||
m_graph->resize(208, 47);
|
||||
toolTip::add( m_graph, tr( "Wave Pattern" ) );
|
||||
ToolTip::add( m_graph, tr( "Wave Pattern" ) );
|
||||
m_graph->setWhatsThis( tr( "Draw the wave here" ) );
|
||||
}
|
||||
|
||||
|
||||
@@ -29,12 +29,12 @@
|
||||
#include <QObject>
|
||||
#include "Instrument.h"
|
||||
#include "InstrumentView.h"
|
||||
#include "knob.h"
|
||||
#include "graph.h"
|
||||
#include "Knob.h"
|
||||
#include "Graph.h"
|
||||
|
||||
class papuInstrumentView;
|
||||
class NotePlayHandle;
|
||||
class pixmapButton;
|
||||
class PixmapButton;
|
||||
|
||||
class papuInstrument : public Instrument
|
||||
{
|
||||
@@ -116,40 +116,40 @@ public:
|
||||
private:
|
||||
virtual void modelChanged();
|
||||
|
||||
knob * m_ch1SweepTimeKnob;
|
||||
pixmapButton * m_ch1SweepDirButton;
|
||||
knob * m_ch1SweepRtShiftKnob;
|
||||
knob * m_ch1WavePatternDutyKnob;
|
||||
knob * m_ch1VolumeKnob;
|
||||
pixmapButton * m_ch1VolSweepDirButton;
|
||||
knob * m_ch1SweepStepLengthKnob;
|
||||
Knob * m_ch1SweepTimeKnob;
|
||||
PixmapButton * m_ch1SweepDirButton;
|
||||
Knob * m_ch1SweepRtShiftKnob;
|
||||
Knob * m_ch1WavePatternDutyKnob;
|
||||
Knob * m_ch1VolumeKnob;
|
||||
PixmapButton * m_ch1VolSweepDirButton;
|
||||
Knob * m_ch1SweepStepLengthKnob;
|
||||
|
||||
knob * m_ch2WavePatternDutyKnob;
|
||||
knob * m_ch2VolumeKnob;
|
||||
pixmapButton * m_ch2VolSweepDirButton;
|
||||
knob * m_ch2SweepStepLengthKnob;
|
||||
Knob * m_ch2WavePatternDutyKnob;
|
||||
Knob * m_ch2VolumeKnob;
|
||||
PixmapButton * m_ch2VolSweepDirButton;
|
||||
Knob * m_ch2SweepStepLengthKnob;
|
||||
|
||||
knob * m_ch3VolumeKnob;
|
||||
Knob * m_ch3VolumeKnob;
|
||||
|
||||
knob * m_ch4VolumeKnob;
|
||||
pixmapButton * m_ch4VolSweepDirButton;
|
||||
knob * m_ch4SweepStepLengthKnob;
|
||||
pixmapButton * m_ch4ShiftRegWidthButton;
|
||||
Knob * m_ch4VolumeKnob;
|
||||
PixmapButton * m_ch4VolSweepDirButton;
|
||||
Knob * m_ch4SweepStepLengthKnob;
|
||||
PixmapButton * m_ch4ShiftRegWidthButton;
|
||||
|
||||
knob * m_so1VolumeKnob;
|
||||
knob * m_so2VolumeKnob;
|
||||
pixmapButton * m_ch1So1Button;
|
||||
pixmapButton * m_ch2So1Button;
|
||||
pixmapButton * m_ch3So1Button;
|
||||
pixmapButton * m_ch4So1Button;
|
||||
pixmapButton * m_ch1So2Button;
|
||||
pixmapButton * m_ch2So2Button;
|
||||
pixmapButton * m_ch3So2Button;
|
||||
pixmapButton * m_ch4So2Button;
|
||||
knob * m_trebleKnob;
|
||||
knob * m_bassKnob;
|
||||
Knob * m_so1VolumeKnob;
|
||||
Knob * m_so2VolumeKnob;
|
||||
PixmapButton * m_ch1So1Button;
|
||||
PixmapButton * m_ch2So1Button;
|
||||
PixmapButton * m_ch3So1Button;
|
||||
PixmapButton * m_ch4So1Button;
|
||||
PixmapButton * m_ch1So2Button;
|
||||
PixmapButton * m_ch2So2Button;
|
||||
PixmapButton * m_ch3So2Button;
|
||||
PixmapButton * m_ch4So2Button;
|
||||
Knob * m_trebleKnob;
|
||||
Knob * m_bassKnob;
|
||||
|
||||
graph * m_graph;
|
||||
Graph * m_graph;
|
||||
|
||||
/*protected slots:
|
||||
void updateKnobHint();
|
||||
|
||||
@@ -34,10 +34,10 @@
|
||||
#include "gui_templates.h"
|
||||
#include "InstrumentTrack.h"
|
||||
#include "NotePlayHandle.h"
|
||||
#include "pixmap_button.h"
|
||||
#include "PixmapButton.h"
|
||||
#include "Song.h"
|
||||
#include "string_pair_drag.h"
|
||||
#include "tooltip.h"
|
||||
#include "ToolTip.h"
|
||||
#include "FileDialog.h"
|
||||
|
||||
#include "embed.cpp"
|
||||
@@ -448,7 +448,7 @@ PatmanView::PatmanView( Instrument * _instrument, QWidget * _parent ) :
|
||||
setPalette( pal );
|
||||
|
||||
|
||||
m_openFileButton = new pixmapButton( this, NULL );
|
||||
m_openFileButton = new PixmapButton( this, NULL );
|
||||
m_openFileButton->setObjectName( "openFileButton" );
|
||||
m_openFileButton->setCursor( QCursor( Qt::PointingHandCursor ) );
|
||||
m_openFileButton->move( 227, 86 );
|
||||
@@ -458,13 +458,13 @@ PatmanView::PatmanView( Instrument * _instrument, QWidget * _parent ) :
|
||||
"select_file" ) );
|
||||
connect( m_openFileButton, SIGNAL( clicked() ),
|
||||
this, SLOT( openFile() ) );
|
||||
toolTip::add( m_openFileButton, tr( "Open other patch" ) );
|
||||
ToolTip::add( m_openFileButton, tr( "Open other patch" ) );
|
||||
|
||||
m_openFileButton->setWhatsThis(
|
||||
tr( "Click here to open another patch-file. Loop and Tune "
|
||||
"settings are not reset." ) );
|
||||
|
||||
m_loopButton = new pixmapButton( this, tr( "Loop" ) );
|
||||
m_loopButton = new PixmapButton( this, tr( "Loop" ) );
|
||||
m_loopButton->setObjectName("loopButton");
|
||||
m_loopButton->setCheckable( true );
|
||||
m_loopButton->move( 195, 138 );
|
||||
@@ -472,13 +472,13 @@ PatmanView::PatmanView( Instrument * _instrument, QWidget * _parent ) :
|
||||
"loop_on" ) );
|
||||
m_loopButton->setInactiveGraphic( PLUGIN_NAME::getIconPixmap(
|
||||
"loop_off" ) );
|
||||
toolTip::add( m_loopButton, tr( "Loop mode" ) );
|
||||
ToolTip::add( m_loopButton, tr( "Loop mode" ) );
|
||||
m_loopButton->setWhatsThis(
|
||||
tr( "Here you can toggle the Loop mode. If enabled, PatMan "
|
||||
"will use the loop information available in the "
|
||||
"file." ) );
|
||||
|
||||
m_tuneButton = new pixmapButton( this, tr( "Tune" ) );
|
||||
m_tuneButton = new PixmapButton( this, tr( "Tune" ) );
|
||||
m_tuneButton->setObjectName("tuneButton");
|
||||
m_tuneButton->setCheckable( true );
|
||||
m_tuneButton->move( 223, 138 );
|
||||
@@ -486,7 +486,7 @@ PatmanView::PatmanView( Instrument * _instrument, QWidget * _parent ) :
|
||||
"tune_on" ) );
|
||||
m_tuneButton->setInactiveGraphic( PLUGIN_NAME::getIconPixmap(
|
||||
"tune_off" ) );
|
||||
toolTip::add( m_tuneButton, tr( "Tune mode" ) );
|
||||
ToolTip::add( m_tuneButton, tr( "Tune mode" ) );
|
||||
m_tuneButton->setWhatsThis(
|
||||
tr( "Here you can toggle the Tune mode. If enabled, PatMan "
|
||||
"will tune the sample to match the note's "
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
#include "AutomatableModel.h"
|
||||
#include "MemoryManager.h"
|
||||
|
||||
class pixmapButton;
|
||||
class PixmapButton;
|
||||
|
||||
|
||||
#define MODES_16BIT ( 1 << 0 )
|
||||
@@ -141,9 +141,9 @@ private:
|
||||
patmanInstrument * m_pi;
|
||||
QString m_displayFilename;
|
||||
|
||||
pixmapButton * m_openFileButton;
|
||||
pixmapButton * m_loopButton;
|
||||
pixmapButton * m_tuneButton;
|
||||
PixmapButton * m_openFileButton;
|
||||
PixmapButton * m_loopButton;
|
||||
PixmapButton * m_tuneButton;
|
||||
|
||||
} ;
|
||||
|
||||
|
||||
@@ -30,8 +30,8 @@
|
||||
|
||||
#include "peak_controller_effect_control_dialog.h"
|
||||
#include "peak_controller_effect_controls.h"
|
||||
#include "knob.h"
|
||||
#include "led_checkbox.h"
|
||||
#include "Knob.h"
|
||||
#include "LedCheckbox.h"
|
||||
#include "embed.h"
|
||||
|
||||
|
||||
@@ -50,32 +50,32 @@ PeakControllerEffectControlDialog::PeakControllerEffectControlDialog(
|
||||
|
||||
QHBoxLayout * l = new QHBoxLayout;
|
||||
l->setSpacing( 4 );
|
||||
m_baseKnob = new knob( knobBright_26, this );
|
||||
m_baseKnob = new Knob( knobBright_26, this );
|
||||
m_baseKnob->setLabel( tr( "BASE" ) );
|
||||
m_baseKnob->setModel( &_controls->m_baseModel );
|
||||
m_baseKnob->setHintText( tr( "Base amount:" ) + " ", "" );
|
||||
|
||||
m_amountKnob = new knob( knobBright_26, this );
|
||||
m_amountKnob = new Knob( knobBright_26, this );
|
||||
m_amountKnob->setLabel( tr( "AMNT" ) );
|
||||
m_amountKnob->setModel( &_controls->m_amountModel );
|
||||
m_amountKnob->setHintText( tr( "Modulation amount:" ) + " ", "" );
|
||||
|
||||
m_amountMultKnob = new knob( knobBright_26, this );
|
||||
m_amountMultKnob = new Knob( knobBright_26, this );
|
||||
m_amountMultKnob->setLabel( tr( "MULT" ) );
|
||||
m_amountMultKnob->setModel( &_controls->m_amountMultModel );
|
||||
m_amountMultKnob->setHintText( tr( "Amount Multiplicator:" ) + " ", "" );
|
||||
|
||||
m_attackKnob = new knob( knobBright_26, this );
|
||||
m_attackKnob = new Knob( knobBright_26, this );
|
||||
m_attackKnob->setLabel( tr( "ATCK" ) );
|
||||
m_attackKnob->setModel( &_controls->m_attackModel );
|
||||
m_attackKnob->setHintText( tr( "Attack:" ) + " ", "" );
|
||||
|
||||
m_decayKnob = new knob( knobBright_26, this );
|
||||
m_decayKnob = new Knob( knobBright_26, this );
|
||||
m_decayKnob->setLabel( tr( "DCAY" ) );
|
||||
m_decayKnob->setModel( &_controls->m_decayModel );
|
||||
m_decayKnob->setHintText( tr( "Release:" ) + " ", "" );
|
||||
|
||||
m_tresholdKnob = new knob( knobBright_26, this );
|
||||
m_tresholdKnob = new Knob( knobBright_26, this );
|
||||
m_tresholdKnob->setLabel( tr( "TRES" ) );
|
||||
m_tresholdKnob->setModel( &_controls->m_tresholdModel );
|
||||
m_tresholdKnob->setHintText( tr( "Treshold:" ) + " ", "" );
|
||||
@@ -91,10 +91,10 @@ PeakControllerEffectControlDialog::PeakControllerEffectControlDialog(
|
||||
|
||||
QVBoxLayout * l2 = new QVBoxLayout; // = 2nd vbox
|
||||
|
||||
m_muteLed = new ledCheckBox( "Mute Effect", this );
|
||||
m_muteLed = new LedCheckBox( "Mute Effect", this );
|
||||
m_muteLed->setModel( &_controls->m_muteModel );
|
||||
|
||||
m_absLed = new ledCheckBox( "Absolute Value", this );
|
||||
m_absLed = new LedCheckBox( "Absolute Value", this );
|
||||
m_absLed->setModel( &_controls->m_absModel );
|
||||
|
||||
l2->addWidget( m_muteLed );
|
||||
|
||||
@@ -29,8 +29,8 @@
|
||||
#include "EffectControlDialog.h"
|
||||
|
||||
class PeakControllerEffectControls;
|
||||
class knob;
|
||||
class ledCheckBox;
|
||||
class Knob;
|
||||
class LedCheckBox;
|
||||
|
||||
|
||||
class PeakControllerEffectControlDialog : public EffectControlDialog
|
||||
@@ -44,15 +44,15 @@ public:
|
||||
|
||||
|
||||
protected:
|
||||
knob * m_baseKnob;
|
||||
knob * m_amountKnob;
|
||||
knob * m_attackKnob;
|
||||
knob * m_decayKnob;
|
||||
knob * m_tresholdKnob;
|
||||
ledCheckBox * m_muteLed;
|
||||
Knob * m_baseKnob;
|
||||
Knob * m_amountKnob;
|
||||
Knob * m_attackKnob;
|
||||
Knob * m_decayKnob;
|
||||
Knob * m_tresholdKnob;
|
||||
LedCheckBox * m_muteLed;
|
||||
|
||||
ledCheckBox * m_absLed;
|
||||
knob * m_amountMultKnob;
|
||||
LedCheckBox * m_absLed;
|
||||
Knob * m_amountMultKnob;
|
||||
|
||||
} ;
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
|
||||
#include "EffectControls.h"
|
||||
#include "peak_controller_effect_control_dialog.h"
|
||||
#include "knob.h"
|
||||
#include "Knob.h"
|
||||
|
||||
class PeakControllerEffect;
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user