Merge pull request #2541 from Wallacoloo/piano-isXKey

Move isWhiteKey, isBlackKey into Piano.h
This commit is contained in:
Colin Wallace
2016-02-07 15:58:58 -08:00
4 changed files with 42 additions and 51 deletions

View File

@@ -63,6 +63,9 @@ public:
return m_midiEvProc;
}
static bool isWhiteKey(int key);
static bool isBlackKey(int key);
private:
static bool isValidKey( int key )