--- qsampler/trunk/src/qsamplerChannelFxForm.h 2008/02/04 23:24:19 1667 +++ qsampler/trunk/src/qsamplerChannelFxForm.h 2008/02/05 15:42:33 1668 @@ -24,6 +24,9 @@ #include "ui_qsamplerChannelFxForm.h" +#include "qsamplerChannel.h" +#include "qsamplerDevice.h" + #include namespace QSampler { @@ -31,7 +34,7 @@ class ChannelFxForm : public QDialog { Q_OBJECT public: - ChannelFxForm(int SamplerChannelID, QWidget* pParent = NULL, Qt::WindowFlags wflags = 0); + ChannelFxForm(Channel* pSamplerChannel, QWidget* pParent = NULL, Qt::WindowFlags wflags = 0); ~ChannelFxForm(); protected slots: @@ -39,11 +42,19 @@ void onButtonClicked(QAbstractButton* button); void onCreateFxSend(); void onDestroyFxSend(); + void onDepthCtrlChanged(int iMidiCtrl); + void onCurrentSendDepthChanged(int depthPercent); + void onRoutingTableChanged(); + void updateTableCellRenderers(); + void updateTableCellRenderers(const QModelIndex& topLeft, + const QModelIndex& bottomRight); private: Ui::qsamplerChannelFxForm m_ui; - int m_SamplerChannelID; + Channel* m_pSamplerChannel; + //int m_SamplerChannelID; + Device* m_pAudioDevice; }; } // namespace QSampler