MCPcopy Create free account
hub / github.com/DamRsn/NeuralNote / Keyboard

Method Keyboard

Lib/Components/Keyboard.cpp:7–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5#include "Keyboard.h"
6
7Keyboard::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
17void Keyboard::drawKeyboardBackground(Graphics& g, Rectangle<float> area)
18{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected