![]() |
ImFusion C++ SDK 4.5.0
|
#include <ImFusion/GUI/View.h>
Interface to be used as base class for event handlers of Views. More...
Interface to be used as base class for event handlers of Views.
You can register any number of event handlers with a view, see View::addEventHandler().
Public Member Functions | |
| virtual EventResult | handleInputEvent (const InputEvent &event)=0 |
| This function is called by sources of input events in order to dispatch them to the handlers. | |
|
pure virtual |
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.
Implemented in ImFusion::GUI::SliceViewDefaultEventHandler, and ImFusion::GUI::VolumeViewDefaultEventHandler.