A specialized viewport for the modulation matrix allowing for scroll listeners.
More...
#include <modulation_matrix.h>
|
class | Listener |
| A listener interface for responding to scrolling events in the modulation viewport. More...
|
|
|
void | mouseWheelMove (const MouseEvent &e, const MouseWheelDetails &wheel) override |
| Handles mouse wheel movement, notifying listeners before and after scrolling.
|
|
void | addListener (Listener *listener) |
| Adds a listener to be notified of scrolling changes.
|
|
void | visibleAreaChanged (const Rectangle< int > &visible_area) override |
| Called when the visible area changes, updating listeners with the new scroll position.
|
|
A specialized viewport for the modulation matrix allowing for scroll listeners.
◆ addListener()
void ModulationViewport::addListener |
( |
Listener * | listener | ) |
|
|
inline |
Adds a listener to be notified of scrolling changes.
- Parameters
-
listener | The listener to add. |
◆ mouseWheelMove()
void ModulationViewport::mouseWheelMove |
( |
const MouseEvent & | e, |
|
|
const MouseWheelDetails & | wheel ) |
|
inlineoverride |
Handles mouse wheel movement, notifying listeners before and after scrolling.
- Parameters
-
e | The mouse event. |
wheel | Details about the wheel movement. |
◆ visibleAreaChanged()
void ModulationViewport::visibleAreaChanged |
( |
const Rectangle< int > & | visible_area | ) |
|
|
inlineoverride |
Called when the visible area changes, updating listeners with the new scroll position.
- Parameters
-
visible_area | The new visible area. |
The documentation for this class was generated from the following file: