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: WmWinConf.h,v $ $Revision: 1.1.1.1 $ $Date: 1997-03-25 09:12:27 $ */ |
---|
9 | /* |
---|
10 | * (c) Copyright 1987, 1988, 1989, 1990 HEWLETT-PACKARD COMPANY */ |
---|
11 | |
---|
12 | #ifdef _NO_PROTO |
---|
13 | |
---|
14 | extern void AdjustPos (); |
---|
15 | extern unsigned int ButtonStateBit (); |
---|
16 | extern void CancelFrameConfig(); |
---|
17 | extern void CheckEatButtonRelease (); |
---|
18 | extern Boolean CheckVisualPlace (); |
---|
19 | extern void CompleteFrameConfig (); |
---|
20 | extern Cursor ConfigCursor(); |
---|
21 | extern void DoFeedback(); |
---|
22 | extern Boolean DoGrabs(); |
---|
23 | extern void DrawOutline(); |
---|
24 | extern void EatButtonRelease (); |
---|
25 | extern void FixFrameValues(); |
---|
26 | extern void FlashOutline(); |
---|
27 | extern void ForceOnScreen(); |
---|
28 | extern void GetClipDimensions (); |
---|
29 | extern void GetConfigEvent (); |
---|
30 | extern Window GrabWin(); |
---|
31 | extern void HandleClientFrameMove (); |
---|
32 | extern void HandleClientFrameResize (); |
---|
33 | extern Boolean HandleResizeKeyPress(); |
---|
34 | extern void MoveOpaque (); |
---|
35 | extern void MoveOutline (); |
---|
36 | extern void ProcessNewConfiguration (); |
---|
37 | extern void ReGrabPointer(); |
---|
38 | extern void SetFrameInfo (); |
---|
39 | extern Boolean SetKeyboardResizePart (); |
---|
40 | extern void SetOutline(); |
---|
41 | extern void SetPointerPosition (); |
---|
42 | extern Boolean SetPointerResizePart (); |
---|
43 | extern Boolean StartClientMove (); |
---|
44 | extern void StartClientResize(); |
---|
45 | extern Boolean StartResizeConfig(); |
---|
46 | extern int ResizeType(); |
---|
47 | extern void UndoGrabs(); |
---|
48 | |
---|
49 | #else /* _NO_PROTO */ |
---|
50 | |
---|
51 | extern void AdjustPos (int *pX, int *pY, unsigned int oWidth, |
---|
52 | unsigned int oHeight, unsigned int nWidth, |
---|
53 | unsigned int nHeight); |
---|
54 | extern unsigned int ButtonStateBit (unsigned int button); |
---|
55 | extern void CancelFrameConfig (ClientData *pcd); |
---|
56 | extern void CheckEatButtonRelease (ClientData *pcd, XEvent *pev); |
---|
57 | extern Boolean CheckVisualPlace (ClientData *pCD, int tmpX, int tmpY); |
---|
58 | extern void CompleteFrameConfig (ClientData *pcd, XEvent *pev); |
---|
59 | extern Cursor ConfigCursor (int frame_part); |
---|
60 | extern void DoFeedback (ClientData *pcd, int x, int y, unsigned int width, |
---|
61 | unsigned int height, unsigned long newStyle, |
---|
62 | Boolean resizing); |
---|
63 | extern Boolean DoGrabs (Window grab_win, Cursor cursor, unsigned int pmask, |
---|
64 | Time grabTime, ClientData *pCD, Boolean alwaysGrab); |
---|
65 | extern void DrawOutline (int x, int y, unsigned int width, |
---|
66 | unsigned int height); |
---|
67 | extern void EatButtonRelease (unsigned int releaseButtons); |
---|
68 | extern void FixFrameValues (ClientData *pcd, int *pfX, int *pfY, |
---|
69 | unsigned int *pfWidth, unsigned int *pfHeight, |
---|
70 | Boolean resizing); |
---|
71 | extern void FlashOutline (int x, int y, unsigned int width, |
---|
72 | unsigned int height); |
---|
73 | extern void ForceOnScreen (int screen, int *pX, int *pY); |
---|
74 | extern void GetClipDimensions (ClientData *pCD, Boolean fromRoot); |
---|
75 | extern void GetConfigEvent (Display *display, Window window, |
---|
76 | unsigned long mask, int curX, int curY, |
---|
77 | int oX, int oY, unsigned oWidth, |
---|
78 | unsigned oHeight, XEvent *pev); |
---|
79 | extern Window GrabWin (ClientData *pcd, XEvent *pev); |
---|
80 | extern void HandleClientFrameMove (ClientData *pcd, XEvent *pev); |
---|
81 | extern void HandleClientFrameResize (ClientData *pcd, XEvent *pev); |
---|
82 | extern Boolean HandleResizeKeyPress (ClientData *pcd, XEvent *pev); |
---|
83 | extern void MoveOpaque (ClientData *pcd, int x, int y, |
---|
84 | unsigned int width, unsigned int height); |
---|
85 | extern void MoveOutline (int x, int y, unsigned int width, |
---|
86 | unsigned int height); |
---|
87 | extern void ProcessNewConfiguration (ClientData *pCD, int x, int y, |
---|
88 | unsigned int width, unsigned int height, |
---|
89 | Boolean clientRequest); |
---|
90 | extern void ReGrabPointer (Window grab_win, Time grabTime); |
---|
91 | extern void SetOutline (XSegment *pOutline, int x, int y, unsigned int width, |
---|
92 | unsigned int height, int fatness); |
---|
93 | extern void SetPointerPosition (int newX, int newY, int *actualX, |
---|
94 | int *actualY); |
---|
95 | extern Boolean SetPointerResizePart (ClientData *pcd, XEvent *pev); |
---|
96 | extern Boolean StartClientMove (ClientData *pcd, XEvent *pev); |
---|
97 | extern void StartClientResize (ClientData *pcd, XEvent *pev); |
---|
98 | extern Boolean StartResizeConfig (ClientData *pcd, XEvent *pev); |
---|
99 | extern int ResizeType (ClientData *pcd, XEvent *pev); |
---|
100 | extern void UndoGrabs (void); |
---|
101 | |
---|
102 | #endif /* _NO_PROTO */ |
---|