WYSWYG editor for JUCE GUIs including Visualisers
Loading...
Searching...
No Matches
MidiDrumpadComponent::Pad Class Reference

#include <foleys_MidiDrumpadComponent.h>

Inherits Component, and Listener.

Public Member Functions

 Pad (MidiDrumpadComponent &owner, int noteNumber)
 
 ~Pad () override
 
void paint (juce::Graphics &g) override
 
void mouseDown (const juce::MouseEvent &event) override
 
void mouseDrag (const juce::MouseEvent &event) override
 
void mouseUp (const juce::MouseEvent &event) override
 
void handleNoteOn (juce::MidiKeyboardState *source, int midiChannel, int midiNoteNumber, float velocity) override
 
void handleNoteOff (juce::MidiKeyboardState *source, int midiChannel, int midiNoteNumber, float velocity) override
 

Constructor & Destructor Documentation

◆ Pad()

Pad ( MidiDrumpadComponent & owner,
int noteNumber )

◆ ~Pad()

~Pad ( )
override

Member Function Documentation

◆ paint()

◆ mouseDown()

void mouseDown ( const juce::MouseEvent & event)
override

◆ mouseDrag()

void mouseDrag ( const juce::MouseEvent & event)
override

◆ mouseUp()

void mouseUp ( const juce::MouseEvent & event)
override

◆ handleNoteOn()

void handleNoteOn ( juce::MidiKeyboardState * source,
int midiChannel,
int midiNoteNumber,
float velocity )
override

◆ handleNoteOff()

void handleNoteOff ( juce::MidiKeyboardState * source,
int midiChannel,
int midiNoteNumber,
float velocity )
override

The documentation for this class was generated from the following files: