diff options
Diffstat (limited to 'Linux_C_12/cCrossCallxDI_121.h')
-rw-r--r-- | Linux_C_12/cCrossCallxDI_121.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/Linux_C_12/cCrossCallxDI_121.h b/Linux_C_12/cCrossCallxDI_121.h new file mode 100644 index 0000000..fa75407 --- /dev/null +++ b/Linux_C_12/cCrossCallxDI_121.h @@ -0,0 +1,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);
|