Diff for /np2/win9xc/mousemng.h between versions 1.1 and 1.2

version 1.1, 2003/10/16 17:59:21 version 1.2, 2004/02/13 20:31:55
Line 1 Line 1
 #define MOUSE_MASK              7  
   
 #define M_RES           0x00  enum {
 #define M_XOR           0x40          uPD8255A_LEFTBIT        = 0x80,
 #define M_SET           0x80          uPD8255A_RIGHTBIT       = 0x20
   };
   
 #define MOUSE_OFF               (M_RES | 0)  
 #define MOUSE_ON                (M_SET | 0)  
 #define MOUSE_XOR               (M_XOR | 0)  
 #define MOUSE_CONT              (M_RES | 1)  
 #define MOUSE_STOP              (M_SET | 1)  
 #define MOUSE_CONT_M    (M_RES | 2)  
 #define MOUSE_STOP_M    (M_SET | 2)  
   
   
 #define MOUSE_LEFTDOWN  0  
 #define MOUSE_LEFTUP    1  
 #define MOUSE_RIGHTDOWN 2  
 #define MOUSE_RIGHTUP   3  
   
   
 #ifdef __cplusplus  #ifdef __cplusplus
 extern "C" {  extern "C" {
 #endif  #endif
   
 BYTE mousemng_getstat(short *x, short *y, int clear);  BYTE mousemng_getstat(SINT16 *x, SINT16 *y, int clear);
   
 #ifdef __cplusplus  #ifdef __cplusplus
 }  }
 #endif  #endif
   
 BYTE mouse_flag(void);  
 void mouse_running(BYTE flg);  // ---- for windows
 void mouse_callback(void);  
 BYTE mouse_btn(BYTE btn);  enum {
           MOUSEMNG_LEFTDOWN               = 0,
           MOUSEMNG_LEFTUP,
           MOUSEMNG_RIGHTDOWN,
           MOUSEMNG_RIGHTUP
   };
   
   enum {
           MOUSEPROC_SYSTEM                = 0,
           MOUSEPROC_WINUI,
           MOUSEPROC_BG
   };
   
   
   void mousemng_initialize(void);
   void mousemng_sync(void);
   BOOL mousemng_buttonevent(UINT event);
   void mousemng_enable(UINT proc);
   void mousemng_disable(UINT proc);
   void mousemng_toggle(UINT proc);
   

Removed from v.1.1  
changed lines
  Added in v.1.2


RetroPC.NET-CVS <cvs@retropc.net>