Called by the browser when a system event needs to be handled, such as a mouse event, a keyboard event, or a drawing event.
The recommended way to implement HandleEvent is with the PLUGINEVENT_TYPE macros, like so:
EVENTTYPE_CASE(FB::MouseDownEvent, onMouseDown, FB::PluginWindow)
EVENTTYPE_CASE(FB::MouseUpEvent, onMouseUp, FB::PluginWindow)
EVENTTYPE_CASE(FB::MouseMoveEvent, onMouseMove, FB::PluginWindow)
If you use these macros, you must also create the matching methods in your class. For example, the methods needed for the map above are:
Generated on Sat Nov 18 2017 08:00:04 for FireBreath by 1.8.6