polyb302 instrument, detuning without signals
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@466 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -189,7 +189,7 @@ public slots:
|
||||
|
||||
signals:
|
||||
void baseNoteChanged( void );
|
||||
void sentMidiTime( const midiTime & _time );
|
||||
void noteDone( const note & _n );
|
||||
|
||||
|
||||
protected:
|
||||
@@ -232,6 +232,8 @@ private:
|
||||
tones m_baseTone;
|
||||
octaves m_baseOctave;
|
||||
|
||||
vlist<notePlayHandle *> m_processHandles;
|
||||
|
||||
|
||||
// widgets on the top of a instrument-track-window
|
||||
tabWidget * m_generalSettingsWidget;
|
||||
@@ -276,10 +278,6 @@ private:
|
||||
void FASTCALL setBaseTone( tones _new_tone );
|
||||
void FASTCALL setBaseOctave( octaves _new_octave );
|
||||
|
||||
|
||||
signals:
|
||||
void noteDone( const note & _n );
|
||||
|
||||
} ;
|
||||
|
||||
|
||||
|
||||
@@ -104,6 +104,19 @@ signals:
|
||||
|
||||
|
||||
protected:
|
||||
static float s_copiedValue;
|
||||
static textFloat * s_textFloat;
|
||||
|
||||
float m_mouseOffset;
|
||||
QPoint m_origMousePos;
|
||||
bool m_buttonPressed;
|
||||
|
||||
QPixmap * m_knobPixmap;
|
||||
QString m_hintTextBeforeValue;
|
||||
QString m_hintTextAfterValue;
|
||||
|
||||
float m_initValue;
|
||||
|
||||
virtual void contextMenuEvent( QContextMenuEvent * _me );
|
||||
virtual void dragEnterEvent( QDragEnterEvent * _dee );
|
||||
virtual void dropEvent( QDropEvent * _de );
|
||||
@@ -118,46 +131,25 @@ protected:
|
||||
void drawKnob( QPainter * _p );
|
||||
void setPosition( const QPoint & _p );
|
||||
|
||||
|
||||
// TODO: Need to figure out what is really used by tempoSyncKnob
|
||||
// to get the private/protected attributes sorted out. Right
|
||||
// now, just make everything protected.
|
||||
//private:
|
||||
void layoutKnob( bool _update = TRUE );
|
||||
float getValue( const QPoint & _p );
|
||||
|
||||
|
||||
private:
|
||||
void layoutKnob( bool _update = TRUE );
|
||||
void recalcAngle( void );
|
||||
|
||||
void valueChange( void );
|
||||
void rangeChange( void );
|
||||
|
||||
|
||||
void buttonReleased( void );
|
||||
|
||||
|
||||
|
||||
static float s_copiedValue;
|
||||
static textFloat * s_textFloat;
|
||||
|
||||
|
||||
float m_mouseOffset;
|
||||
QPoint m_origMousePos;
|
||||
bool m_buttonPressed;
|
||||
|
||||
|
||||
float m_pageSize;
|
||||
float m_angle;
|
||||
float m_totalAngle;
|
||||
|
||||
|
||||
QPixmap * m_knobPixmap;
|
||||
int m_knobNum;
|
||||
QString m_hintTextBeforeValue;
|
||||
QString m_hintTextAfterValue;
|
||||
QString m_label;
|
||||
|
||||
|
||||
float m_initValue;
|
||||
|
||||
} ;
|
||||
|
||||
#endif
|
||||
|
||||
@@ -207,6 +207,8 @@ public:
|
||||
m_instrumentTrack->m_instrument->waitForWorkerThread();
|
||||
}
|
||||
|
||||
void processMidiTime( const midiTime & _time );
|
||||
|
||||
#if SINGERBOT_SUPPORT
|
||||
int patternIndex( void )
|
||||
{
|
||||
@@ -250,7 +252,6 @@ private:
|
||||
|
||||
|
||||
private slots:
|
||||
void processMidiTime( const midiTime & _time );
|
||||
void updateFrequency( void );
|
||||
|
||||
} ;
|
||||
|
||||
Reference in New Issue
Block a user