reduced dependencies from automatable_model_templates.h and fixed according compiler-warnings
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@767 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -127,7 +127,7 @@ public:
|
||||
return( m_curLevel );
|
||||
}
|
||||
|
||||
inline T fittedValue( T _value ) const;
|
||||
T fittedValue( T _value ) const;
|
||||
|
||||
inline T value( int _level ) const
|
||||
{
|
||||
@@ -215,11 +215,11 @@ private:
|
||||
|
||||
inline void unlinkModel( autoModel * _model );
|
||||
|
||||
inline static T attributeValue( QString _value );
|
||||
static T attributeValue( QString _value );
|
||||
|
||||
inline void syncAutomationPattern( void );
|
||||
|
||||
inline void setLevel( int _level );
|
||||
void setLevel( int _level );
|
||||
|
||||
inline int level( T _value ) const
|
||||
{
|
||||
|
||||
@@ -140,8 +140,8 @@ signals:
|
||||
private:
|
||||
|
||||
QVector<float> m_samples;
|
||||
float m_maxValue;
|
||||
float m_minValue;
|
||||
float m_maxValue;
|
||||
|
||||
friend class graph;
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
* position of a channel + calculation of volume for each
|
||||
* speaker
|
||||
*
|
||||
* Copyright (c) 2004-2007 Tobias Doerffel <tobydox/at/users.sourceforge.net>
|
||||
* Copyright (c) 2004-2008 Tobias Doerffel <tobydox/at/users.sourceforge.net>
|
||||
*
|
||||
* This file is part of Linux MultiMedia Studio - http://lmms.sourceforge.net
|
||||
*
|
||||
@@ -70,15 +70,8 @@ public:
|
||||
m_posY.addJournalEntryFromOldToCurVal();
|
||||
}
|
||||
|
||||
automationPattern * automationPatternX( void )
|
||||
{
|
||||
return( m_posX.getAutomationPattern() );
|
||||
}
|
||||
|
||||
automationPattern * automationPatternY( void )
|
||||
{
|
||||
return( m_posY.getAutomationPattern() );
|
||||
}
|
||||
automationPattern * automationPatternX( void );
|
||||
automationPattern * automationPatternY( void );
|
||||
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user