--- qsampler/trunk/src/qsamplerChannelStrip.ui 2004/06/24 18:26:57 145 +++ qsampler/trunk/src/qsamplerChannelStrip.ui 2005/02/11 15:36:06 371 @@ -2,7 +2,7 @@ qsamplerChannelStrip qsampler - A LinuxSampler Qt GUI Interface. - Copyright (C) 2004, rncbc aka Rui Nuno Capela. All rights reserved. + Copyright (C) 2004-2005, rncbc aka Rui Nuno Capela. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License @@ -29,7 +29,7 @@ 0 0 694 - 46 + 47 @@ -182,7 +182,7 @@ -- - Instrument file [index] + Instrument name @@ -410,75 +410,33 @@ VolumeSpinBox - lscp/client.h - lscp/device.h + qsamplerChannel.h qsamplerChannelStrip.ui.h - - class qsamplerOptions; - class qsamplerMainForm; - - qsamplerMainForm *m_pMainForm; - int m_iChannelID; - QString m_sEngineName; - QString m_sInstrumentFile; - int m_iInstrumentNr; - int m_iInstrumentStatus; - QString m_sMidiDriver; - int m_iMidiDevice; - int m_iMidiPort; - int m_iMidiChannel; - QString m_sAudioDriver; - int m_iAudioDevice; - float m_fVolume; + qsamplerChannel *m_pChannel; int m_iDirtyChange; channelChanged( qsamplerChannelStrip * ) - channelSetup() volumeChanged(int) + channelSetup() init() destroy() - setup( qsamplerMainForm *pMainForm, int iChannelID ) - options( void ) - client( void ) - channelID( void ) - setChannelID( int iChannelID ) - engineName( void ) - loadEngine( const QString& sEngineName ) - instrumentFile( void ) - instrumentNr( void ) - instrumentStatus( void ) - loadInstrument( const QString& sInstrumentFile, int iInstrumentNr ) - midiDriver( void ) - setMidiDriver( const QString& sMidiDriver ) - midiDevice( void ) - setMidiDevice( int iMidiDevice ) - midiPort( void ) - setMidiPort( int iMidiPort ) - midiChannel( void ) - setMidiChannel( int iMidiChannel ) - audioDevice( void ) - setAudioDevice( int iAudioDevice ) - audioDriver( void ) - setAudioDriver( const QString& sAudioDriver ) - volume( void ) - setVolume( float fVolume ) + setup( qsamplerChannel *pChannel ) + channel ( void ) displayFont( void ) setDisplayFont( const QFont & font ) - updateChannelInfo( void ) - updateChannelVolume( void ) - updateChannelUsage( void ) - appendMessages( const QString & s ) - appendMessagesColor( const QString & s, const QString & c ) - appendMessagesText( const QString & s ) - appendMessagesError( const QString & s ) - appendMessagesClient( const QString & s ) + setDisplayEffect( bool bDisplayEffect ) + setDisplayBackground( const QPixmap & pm ) + updateInstrumentName( bool bForce ) + updateChannelInfo( void ) + updateChannelVolume( void ) + updateChannelUsage( void ) contextMenuEvent( QContextMenuEvent *pEvent ) setMaxVolume( int iMaxVolume )