45
|
1 module dwt.internal.mozilla.nsIDOMMouseEvent;
|
|
2
|
125
|
3 import dwt.internal.mozilla.Common;
|
|
4 import dwt.internal.mozilla.nsID;
|
45
|
5
|
125
|
6 import dwt.internal.mozilla.nsIDOMUIEvent;
|
|
7 import dwt.internal.mozilla.nsIDOMEventTarget;
|
|
8 import dwt.internal.mozilla.nsIDOMAbstractView;
|
|
9 import dwt.internal.mozilla.nsStringAPI;
|
45
|
10
|
125
|
11 const char[] NS_IDOMMOUSEEVENT_IID_STR = "ff751edc-8b02-aae7-0010-8301838a3123";
|
45
|
12
|
125
|
13 const nsIID NS_IDOMMOUSEEVENT_IID=
|
|
14 {0xff751edc, 0x8b02, 0xaae7,
|
|
15 [ 0x00, 0x10, 0x83, 0x01, 0x83, 0x8a, 0x31, 0x23 ]};
|
45
|
16
|
125
|
17 interface nsIDOMMouseEvent : nsIDOMUIEvent {
|
45
|
18
|
125
|
19 static const char[] IID_STR = NS_IDOMMOUSEEVENT_IID_STR;
|
|
20 static const nsIID IID = NS_IDOMMOUSEEVENT_IID;
|
45
|
21
|
125
|
22 extern(System):
|
|
23 nsresult GetScreenX(PRInt32 *aScreenX);
|
|
24 nsresult GetScreenY(PRInt32 *aScreenY);
|
|
25 nsresult GetClientX(PRInt32 *aClientX);
|
|
26 nsresult GetClientY(PRInt32 *aClientY);
|
|
27 nsresult GetCtrlKey(PRBool *aCtrlKey);
|
|
28 nsresult GetShiftKey(PRBool *aShiftKey);
|
|
29 nsresult GetAltKey(PRBool *aAltKey);
|
|
30 nsresult GetMetaKey(PRBool *aMetaKey);
|
|
31 nsresult GetButton(PRUint16 *aButton);
|
|
32 nsresult GetRelatedTarget(nsIDOMEventTarget *aRelatedTarget);
|
45
|
33
|
125
|
34 nsresult InitMouseEvent(nsAString * typeArg, PRBool canBubbleArg, PRBool cancelableArg, nsIDOMAbstractView viewArg, PRInt32 detailArg, PRInt32 screenXArg, PRInt32 screenYArg, PRInt32 clientXArg, PRInt32 clientYArg, PRBool ctrlKeyArg, PRBool altKeyArg, PRBool shiftKeyArg, PRBool metaKeyArg, PRUint16 buttonArg, nsIDOMEventTarget relatedTargetArg);
|
45
|
35
|
125
|
36 } |