13 # if defined(__FLAT__) || defined(__LARGE__) 20 #if defined(__DOS__) || defined(__DJGPP__) 22 #if defined(__WATCOMC__) 23 #pragma pack(push, 1); 33 #if defined(__WATCOMC__) 43 #if defined(__DOS__) || defined(__DJGPP__) 57 #if defined(__WATCOMC__) 59 #pragma aux mouse_hide= \ 60 "mov ax, [mouse_initialized]" \ 68 #pragma aux mouse_show= \ 69 "mov ax, [mouse_initialized]" \ 82 #if defined(__NT__) || defined(__CURSES__) 84 #define mouse_init() 0 85 #define mouse_deinit() int mouse_init()
initializes the mouse
Definition: mouse.c:92
short int m_curs_row
Definition: mouse.h:30
int mouse_get_event(struct mouse_event __FAR *o_event)
retrieves a mouse event from the queue
Definition: mouse.c:64
short int mouse_initialized
Definition: mouse.c:18
short int m_curs_col
Definition: mouse.h:29
void mouse_deinit()
clean up the mouse handler
Definition: mouse.c:148
void mouse_hide()
hides the mouse cursor
Definition: mouse.c:181
contianer for mouse event
Definition: mouse.h:26
short int m_btn_state
Definition: mouse.h:28
void mouse_show()
shows the mouse cursor
Definition: mouse.c:166