aboutsummaryrefslogtreecommitdiff
path: root/Linux_C_12/cCrossCallxDI_121.h
blob: fa754078682b5fc8ab9018ed0ed10c2f9f0a585c (plain) (blame)
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
38
39
#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 OS WinSetDoubleDownDist (int dd, OS ios);

/*	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 OS InstallCrossCallxDI (OS ios);