Changed Whitespace

removed whitespace in Piano.cpp and Piano.h to comply with LMMS coding convetions
This commit is contained in:
PrestonXPitzer
2022-11-23 12:18:48 -05:00
committed by Johannes Lorenz
parent 2f2ba41f28
commit 79def0c3b5
2 changed files with 22 additions and 22 deletions

View File

@@ -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;
}