unify method to set a base note
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@147 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -121,10 +121,8 @@ public:
|
||||
volume getVolume( void ) const;
|
||||
void FASTCALL setSurroundAreaPos( const QPoint & _p );
|
||||
const QPoint & surroundAreaPos( void ) const;
|
||||
|
||||
// base-tone stuff
|
||||
void FASTCALL setBaseTone( tones _new_tone );
|
||||
void FASTCALL setBaseOctave( octaves _new_octave );
|
||||
|
||||
void FASTCALL setBaseNote( Uint32 _new_note );
|
||||
|
||||
inline tones baseTone( void ) const
|
||||
{
|
||||
@@ -176,6 +174,10 @@ public slots:
|
||||
void toggledInstrumentTrackButton( bool _on );
|
||||
|
||||
|
||||
signals:
|
||||
void baseNoteChanged( void );
|
||||
|
||||
|
||||
protected:
|
||||
// capture close-events for toggling instrument-track-button
|
||||
virtual void closeEvent( QCloseEvent * _ce );
|
||||
@@ -258,6 +260,10 @@ private:
|
||||
friend class presetPreviewPlayHandle;
|
||||
friend class flpImport;
|
||||
|
||||
// base-tone stuff
|
||||
void FASTCALL setBaseTone( tones _new_tone );
|
||||
void FASTCALL setBaseOctave( octaves _new_octave );
|
||||
|
||||
|
||||
signals:
|
||||
void noteDone( const note & _n );
|
||||
|
||||
Reference in New Issue
Block a user