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: WmKeyFocus.h,v $ $Revision: 1.1.1.1 $ $Date: 1997-03-25 09:12:21 $ */ |
---|
9 | /* |
---|
10 | * (c) Copyright 1987, 1988, 1989, 1990 HEWLETT-PACKARD COMPANY */ |
---|
11 | |
---|
12 | #ifdef _NO_PROTO |
---|
13 | void AutoResetKeyFocus (); |
---|
14 | void ClearFocusIndication (); |
---|
15 | Boolean CheckForKeyFocus (); |
---|
16 | void DoExplicitSelectGrab (); |
---|
17 | ClientData * FindLastTransientTreeFocus (); |
---|
18 | ClientData * FindNextTFocusInSeq (); |
---|
19 | ClientData * FindPrevTFocusInSeq (); |
---|
20 | Boolean FocusNextTransient (); |
---|
21 | Boolean FocusNextWindow (); |
---|
22 | Boolean FocusPrevTransient (); |
---|
23 | Boolean FocusPrevWindow (); |
---|
24 | ClientData * GetClientUnderPointer (); |
---|
25 | void InitKeyboardFocus (); |
---|
26 | void RepairFocus (); |
---|
27 | void ResetExplicitSelectHandling (); |
---|
28 | void SetFocusIndication (); |
---|
29 | void SetKeyboardFocus (); |
---|
30 | |
---|
31 | |
---|
32 | #else /* _NO_PROTO */ |
---|
33 | |
---|
34 | extern void AutoResetKeyFocus (ClientData *pcdNoFocus, Time focusTime); |
---|
35 | extern void ClearFocusIndication (ClientData *pCD, Boolean refresh); |
---|
36 | extern Boolean CheckForKeyFocus (ClientListEntry *pNextEntry, |
---|
37 | unsigned long type, Boolean focusNext, |
---|
38 | Time focusTime); |
---|
39 | extern void DoExplicitSelectGrab (Window window); |
---|
40 | extern ClientData *FindLastTransientTreeFocus (ClientData *pCD, |
---|
41 | ClientData *pcdNoFocus); |
---|
42 | extern ClientData *FindNextTFocusInSeq (ClientData *pCD, |
---|
43 | unsigned long startAt); |
---|
44 | extern ClientData *FindPrevTFocusInSeq (ClientData *pCD, |
---|
45 | unsigned long startAt); |
---|
46 | extern Boolean FocusNextTransient (ClientData *pCD, unsigned long type, |
---|
47 | Boolean initiate, Time focusTime); |
---|
48 | extern Boolean FocusNextWindow (unsigned long type, Time focusTime); |
---|
49 | extern Boolean FocusPrevTransient (ClientData *pCD, unsigned long type, |
---|
50 | Boolean initiate, Time focusTime); |
---|
51 | extern Boolean FocusPrevWindow (unsigned long type, Time focusTime); |
---|
52 | extern ClientData *GetClientUnderPointer (Boolean *pSameScreen); |
---|
53 | extern void InitKeyboardFocus (void); |
---|
54 | extern void RepairFocus (void); |
---|
55 | extern void ResetExplicitSelectHandling (ClientData *pCD); |
---|
56 | extern void SetFocusIndication (ClientData *pCD); |
---|
57 | extern void SetKeyboardFocus (ClientData *pCD, long focusFlags); |
---|
58 | |
---|
59 | #endif /* _NO_PROTO */ |
---|
60 | |
---|
61 | |
---|