Move isWhiteKey, isBlackKey into Piano.h to make use of these functions in a wider scope

This commit is contained in:
Colin Wallace
2016-02-03 18:46:59 -08:00
parent 1228de750f
commit aa0f7a08d6
4 changed files with 39 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 )