A specialized Viewport that notifies listeners when the visible area changes (i.e., when scrolled).
More...
#include <effects_interface.h>
|
class | Listener |
| Interface for objects that need to respond when the effects viewport is scrolled. More...
|
|
A specialized Viewport that notifies listeners when the visible area changes (i.e., when scrolled).
◆ addListener()
void EffectsViewport::addListener |
( |
Listener * | listener | ) |
|
|
inline |
Adds a listener to be notified when the viewport is scrolled.
- Parameters
-
listener | The listener to add. |
◆ visibleAreaChanged()
void EffectsViewport::visibleAreaChanged |
( |
const Rectangle< int > & | visible_area | ) |
|
|
inlineoverride |
Called when the visible area changes. Notifies listeners of scrolling.
- Parameters
-
visible_area | The new visible area. |
The documentation for this class was generated from the following file: