Changed Whitespace
removed whitespace in Piano.cpp and Piano.h to comply with LMMS coding convetions
This commit is contained in:
committed by
Johannes Lorenz
parent
2f2ba41f28
commit
79def0c3b5
@@ -44,17 +44,17 @@ public:
|
||||
BlackKey
|
||||
} ;
|
||||
|
||||
Piano( InstrumentTrack* track );
|
||||
Piano(InstrumentTrack* track);
|
||||
|
||||
void setKeyState( int key, bool state );
|
||||
void setKeyState(int key, bool state);
|
||||
|
||||
bool isKeyPressed( int key ) const
|
||||
bool isKeyPressed(int key) const
|
||||
{
|
||||
return m_pressedKeys[key];
|
||||
}
|
||||
|
||||
void handleKeyPress( int key, int midiVelocity = -1 );
|
||||
void handleKeyRelease( int key );
|
||||
void handleKeyPress(int key, int midiVelocity = -1);
|
||||
void handleKeyRelease(int key);
|
||||
|
||||
InstrumentTrack* instrumentTrack() const
|
||||
{
|
||||
@@ -75,7 +75,7 @@ public:
|
||||
static const unsigned int NumBlackKeys = 53;
|
||||
|
||||
private:
|
||||
static bool isValidKey( int key )
|
||||
static bool isValidKey(int key)
|
||||
{
|
||||
return key >= 0 && key < NumKeys;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user