WYSWYG editor for JUCE GUIs including Visualisers
Loading...
Searching...
No Matches
MouseLambdas Class Reference

#include <foleys_MouseLambdas.h>

Inherits MouseListener.

Public Member Functions

 MouseLambdas ()=default
 
void attachTo (juce::Component *component)
 
 ~MouseLambdas () override
 
void mouseDown (const juce::MouseEvent &event) override
 
void mouseUp (const juce::MouseEvent &event) override
 
void mouseDoubleClick (const juce::MouseEvent &event) override
 

Public Attributes

std::function< void(const juce::MouseEvent &)> onMouseDown
 
std::function< void(const juce::MouseEvent &)> onMouseUp
 
std::function< void(const juce::MouseEvent &)> onMouseDoubleClick
 

Constructor & Destructor Documentation

◆ MouseLambdas()

MouseLambdas ( )
default

◆ ~MouseLambdas()

~MouseLambdas ( )
override

Member Function Documentation

◆ attachTo()

◆ mouseDown()

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

◆ mouseUp()

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

◆ mouseDoubleClick()

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

Member Data Documentation

◆ onMouseDown

◆ onMouseUp

std::function<void(const juce::MouseEvent&)> onMouseUp

Referenced by MouseLambdas::mouseUp().

◆ onMouseDoubleClick

std::function<void(const juce::MouseEvent&)> onMouseDoubleClick

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