blob: d8d5af8b9be26b906b9516f99bf79dfff6c77dcb (
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
|
#ifndef __SWCURSOR_H__INCLUDED__
#define __SWCURSOR_H__INCLUDED__
/* from dibcall.c */
extern LONG cursorX;
extern LONG cursorY;
/* from DDK98 */
#pragma pack(push)
#pragma pack(1)
typedef struct
{
int xHotSpot, yHotSpot;
int cx, cy;
int cbWidth;
BYTE Planes;
BYTE BitsPixel;
} CURSORSHAPE;
#pragma pack(pop)
typedef struct _SWCURSOR SWCURSOR;
BOOL cursor_init();
BOOL cursor_load(CURSORSHAPE __far *lpCursor, longRECT __far *changes);
void cursor_unload(longRECT __far *changes);
void cursor_coordinates(long curx, long cury);
void cursor_erase(longRECT __far *changes);
void cursor_blit(longRECT __far *changes);
void cursor_move(longRECT __far *changes);
void cursor_merge_rect(longRECT __far *r1, longRECT __far *r2);
void cursor_lock();
void cursor_unlock();
extern BOOL sw_cursor_enabled;
extern SWCURSOR __far *sw_cursor;
#endif /* __SWCURSOR_H__INCLUDED__ */
|