If you add a mouse listener to yourself to get nested mouse messages, then you get them all twice, so use a lambda mouse listener instead.
More...
#include <gin_asyncutilities.h>
Inherits juce::MouseListener.
If you add a mouse listener to yourself to get nested mouse messages, then you get them all twice, so use a lambda mouse listener instead.
◆ LambdaMouseListener()
LambdaMouseListener::LambdaMouseListener |
( |
| ) |
|
|
default |
◆ onMouseMove
std::function<void (const juce::MouseEvent&)> LambdaMouseListener::onMouseMove |
◆ onMouseEnter
std::function<void (const juce::MouseEvent&)> LambdaMouseListener::onMouseEnter |
◆ onMouseExit
std::function<void (const juce::MouseEvent&)> LambdaMouseListener::onMouseExit |
◆ onMouseDown
std::function<void (const juce::MouseEvent&)> LambdaMouseListener::onMouseDown |
◆ onMouseDrag
std::function<void (const juce::MouseEvent&)> LambdaMouseListener::onMouseDrag |
◆ onMouseUp
std::function<void (const juce::MouseEvent&)> LambdaMouseListener::onMouseUp |
◆ onMouseDoubleClick
std::function<void (const juce::MouseEvent&)> LambdaMouseListener::onMouseDoubleClick |
◆ onMouseWheelMove
std::function<void (const juce::MouseEvent&, const juce::MouseWheelDetails&)> LambdaMouseListener::onMouseWheelMove |
◆ onMouseMagnify
std::function<void (const juce::MouseEvent&, float)> LambdaMouseListener::onMouseMagnify |
The documentation for this class was generated from the following file: