![]() |
ImFusion SDK 4.3
|
Inheritance diagram for LambdaEventHandler:Public Member Functions | |
| void | reset () |
| GUI::EventResult | handleInputEvent (const GUI::InputEvent &event, const GUI::View &view) override |
| This function is called by sources of input events in order to dispatch them to the handlers. | |
Public Attributes | |
| std::function< GUI::EventResult(bool left, bool right, vec3 world, const GlView &view)> | m_mouseEventHandler |
|
overridevirtual |
This function is called by sources of input events in order to dispatch them to the handlers.
In case there are more than one InputEventHandlers dispatchers are intended call this function consecutively until the first handler indicates to stop by returning a result where EventResult::stopPropagation() is true.
Implements ViewObject::EventHandler.