|
MayaFlux 0.2.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_API Vruta::Event MayaFlux::Kriya::mouse_scrolled | ( | std::shared_ptr< Core::Window > | window, |
| std::function< void(double, double)> | callback | ||
| ) |
Creates an Event coroutine that triggers on mouse scroll.
| window | Window to listen to |
| callback | Function to call on scroll with ScrollData |
Example:
Definition at line 148 of file InputEvents.cpp.
References MayaFlux::Vruta::EventFilter::event_type, and MayaFlux::Core::MOUSE_SCROLLED.
Referenced by MayaFlux::on_scroll().
Here is the caller graph for this function: