2 GEOS mouse and sprite functions
4 by Maciej 'YTM/Elysium' Witkowiak
10 void StartMouseMode(void);
11 void ClearMouseMode(void);
14 char __fastcall__ IsMseInRegion(struct window *region);
16 void __fastcall__ DrawSprite(char spritenum, const char *spritepic);
17 void __fastcall__ PosSprite(char spritenum, struct pixel *position);
18 void __fastcall__ EnablSprite(char spritenum);
19 void __fastcall__ DisablSprite(char spritenum);
21 void __fastcall__ InitTextPrompt(char height);
22 void __fastcall__ PromptOn(struct pixel *position);
24 char GetNextChar(void);
26 /* keyboard constants */
42 #define KEY_UPARROR 21
52 #define KEY_INVALID 31
53 #define KEY_LEFT BACKSPACE
55 /* values of faultData - pointer position vs. mouseWindow */
58 #define OFFBOTTOM_BIT 6
60 #define OFFRIGHT_BIT 4
63 #define SET_OFFTOP 0x80
64 #define SET_OFFBOTTOM 0x40
65 #define SET_OFFLEFT 0x20
66 #define SET_OFFRIGHT 0x10
67 #define SET_OFFMENU 0x08
75 #define SET_MSE_ON 0x80
76 #define SET_MENUON 0x40
77 #define SET_ICONSON 0x20
81 #define KEYPRESS_BIT 7
85 #define SET_KEYPRESS 0x80
86 #define SET_INPUTCHG 0x40
87 #define SET_MOUSE 0x20