|
MayaFlux 0.2.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_API void MayaFlux::on_scroll | ( | const std::shared_ptr< Core::Window > & | window, |
| std::function< void(double, double)> | callback, | ||
| std::string | name = "" |
||
| ) |
Schedule a mouse scroll handler.
| window | Window to listen to |
| callback | Function to call on scroll (xoffset, yoffset) |
| name | Optional name for the event handler |
Example:
Definition at line 223 of file Chronie.cpp.
References get_event_manager(), and MayaFlux::Kriya::mouse_scrolled().
Here is the call graph for this function: