2 GEOS mouse and sprite functions
4 ported to small C on 27.10.1999
5 by Maciej 'YTM/Alliance' Witkowiak
11 void __fastcall__ StartMouseMode(void);
12 void __fastcall__ ClearMouseMode(void);
13 void __fastcall__ MouseUp(void);
14 void __fastcall__ MouseOff(void);
15 char __fastcall__ IsMseInRegion(struct window *region);
17 void __fastcall__ DrawSprite(char spritenum, char *spritepic);
18 void __fastcall__ PosSprite(char spritenum, struct pixel *position);
19 void __fastcall__ EnablSprite(char spritenum);
20 void __fastcall__ DisablSprite(char spritenum);
22 void __fastcall__ InitTextPrompt(char height);
23 void __fastcall__ PromptOn(struct pixel *position);
24 void __fastcall__ PromptOff(void);
25 char __fastcall__ GetNextChar(void);
27 /* keyboard constants */
43 #define KEY_UPARROR 21
53 #define KEY_INVALID 31
54 #define KEY_LEFT BACKSPACE
56 /* values of faultData - pointer position vs. mouseWindow */
59 #define OFFBOTTOM_BIT 6
61 #define OFFRIGHT_BIT 4
64 #define SET_OFFTOP 0x80
65 #define SET_OFFBOTTOM 0x40
66 #define SET_OFFLEFT 0x20
67 #define SET_OFFRIGHT 0x10
68 #define SET_OFFMENU 0x08
76 #define SET_MSE_ON 0x80
77 #define SET_MENUON 0x40
78 #define SET_ICONSON 0x20
82 #define KEYPRESS_BIT 7
86 #define SET_KEYPRESS 0x80
87 #define SET_INPUTCHG 0x40
88 #define SET_MOUSE 0x20