| 5 | #include "Keyboard.h" |
| 6 | |
| 7 | Keyboard::Keyboard() |
| 8 | : KeyboardComponentBase(juce::KeyboardComponentBase::Orientation::verticalKeyboardFacingRight) |
| 9 | { |
| 10 | setAvailableRange(MIN_MIDI_NOTE, MAX_MIDI_NOTE); |
| 11 | |
| 12 | setBlackNoteWidthProportion(0.58f); |
| 13 | setBlackNoteLengthProportion(0.6f); |
| 14 | setKeyWidth(16); |
| 15 | } |
| 16 | |
| 17 | void Keyboard::drawKeyboardBackground(Graphics& g, Rectangle<float> area) |
| 18 | { |
nothing calls this directly
no outgoing calls
no test coverage detected