#include <foleys_MidiDrumpadComponent.h>
Inherits Component, and Timer.
Classes | |
| class | Pad |
Public Types | |
| enum | ColourIds { background = 0x2002200 , padFill , padOutline , padDownFill , padDownOutline , touch } |
Public Member Functions | |
| MidiDrumpadComponent (juce::MidiKeyboardState &keyboardState) | |
| ~MidiDrumpadComponent () override | |
| void | paint (juce::Graphics &g) override |
| void | resized () override |
| void | setMatrix (int rows, int columns) |
| Set the number of rows and columns. | |
| void | setRootNote (int noteNumber) |
| Set the note number of the top left pad. | |
| void | timerCallback () override |
| enum ColourIds |
| MidiDrumpadComponent | ( | juce::MidiKeyboardState & | keyboardState | ) |
References background, padDownFill, padDownOutline, padFill, padOutline, and touch.
Referenced by MidiDrumpadComponent::Pad::Pad().
|
override |
|
override |
References background.
|
override |
| void setMatrix | ( | int | rows, |
| int | columns ) |
Set the number of rows and columns.
The note numbers are ascending top left to bottom right.
| void setRootNote | ( | int | noteNumber | ) |
Set the note number of the top left pad.
|
override |