NPAPI:ExtendedXEventModel: Difference between revisions

 
(One intermediate revision by the same user not shown)
Line 15: Line 15:
= NPEventModelX =
= NPEventModelX =


As this will be the first alternative to the default X event model, we'll designate the original model:
As NPEventModelExtendedX will be the first alternative to the default X event model, we'll designate the original model:


* NPEventModelX (NPEventModel = 2)
* NPEventModelX (NPEventModel = 2)
Line 40: Line 40:
     void *event;
     void *event;
   } NPExtendedXEvent;
   } NPExtendedXEvent;
The events that the browser actually sends will depend on the associated drawing model. For example, if a plugin were to select NPEventModelExtendedX and not  NPDrawingModelDrawImage, then the plugin would simply receive the same events as in NPEventModelX but wrapped in the NPEventModelExtendedX structure and of type NPXEventTypeXEvent.
Confirmed users, Bureaucrats and Sysops emeriti
1,680

edits