foleys_gui_magic
WYSWYG editor for JUCE GUIs including Visualisers
Public Member Functions | List of all members
MidiDrumpadComponent::Pad Class Reference

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()

void paint ( juce::Graphics &  g)
override

◆ 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: