#ifndef _PRWINUTIL_
#define _PRWINUTIL_
#ifdef __cplusplus
extern "C" {
#endif

typedef struct {
  short but;
  short mx;
  short my;
} PR_MouseCallback_data;
extern PR_MouseCallback_data mouse;

int minit (void);
void mdeinit (void);
void msetbounds (int x0, int y0, int x1, int y1);
void mreadmouse (void);
void msetxy (int x0, int y0);
void noclick (void);

int installkbd (void);
void uninstallkbd (void);

void UpdateMessages (void);

int PR_kbhit (void);
char PR_getch (void);


#ifdef __cplusplus
}
#endif
#endif
