|
MayaFlux 0.2.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_API void MayaFlux::on_mouse_pressed | ( | const std::shared_ptr< Core::Window > & | window, |
| IO::MouseButtons | button, | ||
| std::function< void(double, double)> | callback, | ||
| std::string | name = "" |
||
| ) |
Schedule a mouse button press handler.
| window | Window to listen to |
| button | Mouse button to wait for |
| callback | Function to call on button press (x, y) |
| name | Optional name for the event handler |
Example:
Definition at line 173 of file Chronie.cpp.
References get_event_manager(), and MayaFlux::Kriya::mouse_pressed().
Here is the call graph for this function: