1 | /* |
---|
2 | * (c) Copyright 1989, 1990, 1991, 1992 OPEN SOFTWARE FOUNDATION, INC. |
---|
3 | * ALL RIGHTS RESERVED |
---|
4 | */ |
---|
5 | /* |
---|
6 | * Motif Release 1.2 |
---|
7 | */ |
---|
8 | /* $RCSfile: WmEvent.h,v $ $Revision: 1.1.1.1 $ $Date: 1997-03-25 09:12:18 $ */ |
---|
9 | /* |
---|
10 | * (c) Copyright 1987, 1988, 1989, 1990 HEWLETT-PACKARD COMPANY */ |
---|
11 | |
---|
12 | #ifdef _NO_PROTO |
---|
13 | extern Boolean CheckForButtonAction (); |
---|
14 | extern Time GetTimestamp (); |
---|
15 | extern Boolean HandleKeyPress (); |
---|
16 | extern void HandleWsButtonPress (); |
---|
17 | extern void HandleWsButtonRelease (); |
---|
18 | extern void HandleWsConfigureRequest (); |
---|
19 | extern void HandleWsEnterNotify (); |
---|
20 | extern void HandleWsFocusIn (); |
---|
21 | extern Boolean HandleWsKeyPress (); |
---|
22 | extern void HandleWsLeaveNotify (); |
---|
23 | extern void IdentifyEventContext (); |
---|
24 | extern void InitEventHandling (); |
---|
25 | extern void ProcessClickBPress (); |
---|
26 | extern void ProcessClickBRelease (); |
---|
27 | extern void PullExposureEvents (); |
---|
28 | extern int SetupKeyBindings (); |
---|
29 | extern Boolean WmDispatchMenuEvent (); |
---|
30 | extern Boolean WmDispatchWsEvent (); |
---|
31 | |
---|
32 | #else /* _NO_PROTO */ |
---|
33 | |
---|
34 | extern Boolean CheckForButtonAction (XButtonEvent *buttonEvent, |
---|
35 | Context context, Context subContext, |
---|
36 | ClientData *pCD); |
---|
37 | extern Time GetTimestamp (void); |
---|
38 | extern Boolean HandleKeyPress (XKeyEvent *keyEvent, KeySpec *keySpecs, |
---|
39 | Boolean checkContext, Context context, |
---|
40 | Boolean onlyFirst, ClientData *pCD); |
---|
41 | extern void HandleWsButtonPress (XButtonEvent *buttonEvent); |
---|
42 | extern void HandleWsButtonRelease (XButtonEvent *buttonEvent); |
---|
43 | extern void HandleWsConfigureRequest (XConfigureRequestEvent *configureEvent); |
---|
44 | extern void HandleWsEnterNotify (XEnterWindowEvent *enterEvent); |
---|
45 | extern void HandleWsFocusIn (XFocusInEvent *focusEvent); |
---|
46 | extern Boolean HandleWsKeyPress (XKeyEvent *keyEvent); |
---|
47 | extern void HandleWsLeaveNotify (XLeaveWindowEvent *leaveEvent); |
---|
48 | extern void IdentifyEventContext (XButtonEvent *event, ClientData *pCD, |
---|
49 | Context *pContext, int *pPartContext); |
---|
50 | extern void InitEventHandling (void); |
---|
51 | extern void ProcessClickBPress (XButtonEvent *buttonEvent, ClientData *pCD, |
---|
52 | Context context, Context subContext); |
---|
53 | extern void ProcessClickBRelease (XButtonEvent *buttonEvent, ClientData *pCD, |
---|
54 | Context context, Context subContext); |
---|
55 | extern void PullExposureEvents (void); |
---|
56 | extern int SetupKeyBindings (KeySpec *keySpecs, Window grabWindow, |
---|
57 | int keyboardMode, long context); |
---|
58 | extern Boolean WmDispatchMenuEvent (XButtonEvent *event); |
---|
59 | extern Boolean WmDispatchWsEvent (XEvent *event); |
---|
60 | #endif /* _NO_PROTO */ |
---|