|
JUCE
|
Represents the touch surface of a BLOCKS device. More...
Classes | |
| struct | Listener |
| Receives callbacks when a touch moves or changes pressure. More... | |
| struct | Touch |
Public Member Functions | |
| TouchSurface (Block &) | |
| virtual | ~TouchSurface () |
| Destructor. More... | |
| virtual void | cancelAllActiveTouches () noexcept=0 |
| Forces a touch-off message for all active touches. More... | |
| void | callListenersTouchChanged (const TouchSurface::Touch &t) |
| Testing feature: this allows you to inject touches onto a touch surface. More... | |
| void | addListener (Listener *) |
| Adds a listener to be called when the surface is touched. More... | |
| void | removeListener (Listener *) |
| Removes a previously-registered listener. More... | |
Public Attributes | |
| Block & | block |
| The block that owns this touch surface. More... | |
Protected Attributes | |
| juce::ListenerList< Listener > | listeners |
Represents the touch surface of a BLOCKS device.
| juce::TouchSurface::TouchSurface | ( | Block & | ) |
|
virtual |
Destructor.
|
pure virtualnoexcept |
Forces a touch-off message for all active touches.
| void juce::TouchSurface::callListenersTouchChanged | ( | const TouchSurface::Touch & | t | ) |
Testing feature: this allows you to inject touches onto a touch surface.
| void juce::TouchSurface::addListener | ( | Listener * | ) |
Adds a listener to be called when the surface is touched.
| void juce::TouchSurface::removeListener | ( | Listener * | ) |
Removes a previously-registered listener.
| Block& juce::TouchSurface::block |
The block that owns this touch surface.
|
protected |