File: cCrossCallxDI_121.h

package info (click to toggle)
ghc-cvs 20040725-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 68,484 kB
  • ctags: 19,658
  • sloc: haskell: 251,945; ansic: 109,709; asm: 24,961; sh: 12,825; perl: 5,786; makefile: 5,334; xml: 3,884; python: 682; yacc: 650; lisp: 477; cpp: 337; ml: 76; fortran: 24; csh: 18
file content (37 lines) | stat: -rw-r--r-- 1,597 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#include "util_121.h"


//	Global data with external references:
extern OSWindowPtr ghTopDocWindow;
extern int gComboSelection;
extern BOOL gInMouseDown;
extern BOOL gInKey;
extern int gCurChar;

/*	Registered Windows class names:
*/
extern char SDIFrameClassName[];		/* Class for SDI frames.  */
extern char MDIFrameClassName[];		/* Class for MDI frames.  */
extern char SDIWindowClassName[];		/* Class for SDI windows (must have same length as MDIWindowClassName). */
extern char MDIWindowClassName[];		/* Class for MDI windows (must have same length as SDIWindowClassName). */

/*	Managing the double down distance.
*/
extern void WinSetDoubleDownDist (int dd);

/*	Sending keyboard events to Clean thread:
*/
extern void SendKeyDownToClean      (OSWindowPtr hwndParent, OSWindowPtr hwndChild, int c);
extern void SendKeyStillDownToClean (OSWindowPtr hwndParent, OSWindowPtr hwndChild, int c);
extern void SendKeyUpToClean        (OSWindowPtr hwndParent, OSWindowPtr hwndChild, int c);

/*	Sending mouse events to Clean thread:
*/
extern void SendMouseUpToClean        (OSWindowPtr hwndParent, OSWindowPtr hwndChild, int x, int y);
extern void SendMouseStillDownToClean (OSWindowPtr hwndParent, OSWindowPtr hwndChild, int x, int y);
extern void SendMouseStillUpToClean   (OSWindowPtr hwndParent, OSWindowPtr hwndChild, int x, int y);
extern void SendMouseDownToClean      (OSWindowPtr hwndParent, OSWindowPtr hwndChild, int x, int y);

//	InstallCrossCallxDI adds the proper cross call procedures to the
//	cross call procedures managed by cCrossCall_121.c.
extern void InstallCrossCallxDI ();