-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathCXLMOU.H
57 lines (51 loc) · 2.41 KB
/
CXLMOU.H
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
/*
ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
³ ³
³ CXLMOU.H - CXL is Copyright (c) 1987-1990 by Mike Smedley. ³
³ ³
³ This header file contains function prototypes and definitions for ³
³ Microsoft compatible mouse functions. ³
³ ³
ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ
*/
#if defined(__TURBOC__) /* Turbo C */
#if __STDC__
#define _Cdecl
#else
#define _Cdecl cdecl
#endif
#define _Near
#elif defined(__ZTC__) /* Zortech C++ */
#define _Cdecl
#define _Near
#elif defined(M_I86) && !defined(__ZTC__) /* Microsoft C/QuickC */
#if !defined(NO_EXT_KEYS)
#define _Cdecl cdecl
#define _Near near
#else
#define _Cdecl
#define _Near
#endif
#endif
/*---------------------------[ function prototypes ]-------------------------*/
void _Cdecl msbclear(void);
void _Cdecl msbpress(int button,int *bstat,int *bcount,int *row,int *col);
void _Cdecl msbreles(int button,int *bstat,int *bcount,int *row,int *col);
void _Cdecl mscondoff(int srow,int scol,int erow,int ecol);
void _Cdecl mscursor(unsigned curtype,unsigned smask,unsigned cmask);
void _Cdecl msgotoxy(int row,int col);
void _Cdecl mshbounds(int leftcol,int rightcol);
void _Cdecl mshidecur(void);
int _Cdecl msinit(void);
void _Cdecl msmotion(int *rowcount,int *colcount);
void _Cdecl msshowcur(void);
void _Cdecl msspeed(int xratio,int yratio);
void _Cdecl msstatus(int *bstat,int *row,int *col);
void _Cdecl mssupport(int type);
void _Cdecl msvbounds(int toprow,int botrow);
extern int _Near _Cdecl _mouse; /* mouse support level */
/*----------------------[ mouse support definitions ]------------------------*/
#define MS_NONE 0 /* no mouse support */
#define MS_KEYS 1 /* mouse movement emulates arrow keys */
#define MS_CURS 2 /* free-moving mouse cursor where supported */
#define MS_FULL 3 /* full mouse support (MS_KEYS | MS_CURS) */