Diff for /np2/macosx/mousemng.h between versions 1.2 and 1.5

version 1.2, 2003/10/19 14:48:07 version 1.5, 2003/11/12 19:56:50
Line 1 Line 1
 #if defined(NP2GCC)  
 #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);  
   
 #ifdef __cplusplus  
 }  
 #endif  
   
 BYTE mouse_flag(void);  
 void mouse_running(BYTE flg);  
 void mouse_callback(void);  
 BYTE mouse_btn(BYTE btn);  
   
 #else  
 #ifdef __cplusplus  
 extern "C" {  
 #endif  
   
 BYTE mousemng_getstat(SINT16 *x, SINT16 *y, int clear);  BYTE mousemng_getstat(SINT16 *x, SINT16 *y, int clear);
   
 #ifdef __cplusplus  #ifdef __cplusplus
 }  }
 #endif  #endif
   
 #endif  enum {
           MOUSEMNG_LEFTDOWN               = 0,
           MOUSEMNG_LEFTUP,
           MOUSEMNG_RIGHTDOWN,
           MOUSEMNG_RIGHTUP
   };
   
   enum {
           MOUSEPROC_SYSTEM                = 0,
           MOUSEPROC_MACUI
   };
   
   void mousemng_initialize(void);
   void mousemng_callback(HIPoint delta);
   BOOL mousemng_buttonevent(UINT event);
   void mousemng_enable(UINT proc);
   void mousemng_disable(UINT proc);
   void mousemng_toggle(UINT proc);

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


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