|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Portal::Forma::Context::on_press | ( | uint32_t | id, |
| IO::MouseButtons | btn, | ||
| PressFn | fn | ||
| ) |
Called when a mouse button is pressed over an element.
| id | Element id to bind to. |
| btn | Mouse button. |
| fn | Callback receiving element id and NDC press position. |
Definition at line 33 of file Context.cpp.
References m_callbacks.
Referenced by MayaFlux::Portal::Forma::Collapsible::place().
Here is the caller graph for this function: