/************************/ /* mouse.h */ /************************/ #ifndef _MOUSE_H_ #define _MOUSE_H_ //#include "menu.h" // ????┤ #define MOUSE_NO_CRICK 0 // ??????? #define MOUSE_LEFT_CRICK ( 1 << 0 ) // ?????┤ #define MOUSE_RIGHT_CRICK ( 1 << 1 ) // ?????┤ #define MOUSE_LEFT_CRICK_UP ( 1 << 2 ) // ????????┤ #define MOUSE_RIGHT_CRICK_UP ( 1 << 3 ) // ????????┤ #define MOUSE_LEFT_DBL_CRICK ( 1 << 4 ) // ????????┤ #define MOUSE_RIGHT_DBL_CRICK ( 1 << 5 ) // ????????┤ //#define MOUSE_LEFT_AUTO_CRICK ( 1 << 6 ) // ????????┤ //#define MOUSE_RIGHT_AUTO_CRICK ( 1 << 7 ) // ????????┤ // ?????火 ?﹨▍ typedef struct{ int x, y; // ????( ?,? )?火 }MOUSE_POINT; // ????﹨▍ typedef struct{ MOUSE_POINT nowPoint; // ????????火 MOUSE_POINT crickLeftDownPoint; // ???????????????火 MOUSE_POINT crickLeftUpPoint; // ?????????????????火 MOUSE_POINT crickRightDownPoint;// ???????????????火 MOUSE_POINT crickRightUpPoint; // ?????????????????火 int state; // ???????┤???????? int onceState; // ???????┤????????????????π?向? int autoState; // ???????┤??????? UINT beforeLeftPushTime; // ?????????????? UINT leftPushTime; // ?????????????? UINT beforeRightPushTime;// ?????????????? UINT rightPushTime; // ?????????????? UCHAR level; // ????????????? int itemNo; // ?????????????吻? BOOL flag; // ????????牙??牙??? }MOUSE; // ????? ??? extern MOUSE mouse; // ????????????????吻???????? extern int HitFontNo; // ????????????????????????????? extern int HitDispNo; // ??????更?? extern char OneLineInfoStr[]; // 牙????? extern int BoxColor; // ???????? //////////////////////////////////////////////////////// void MouseInit( void ); // ????????ㄅ????? ////////////////////////////////////////////// void MouseNowPoint( int x, int y ); // ????????????????????ㄅ????? ////////////////////// void MouseCrickLeftDownPoint( int x, int y ); // ????????????????????ㄅ????? ////////////////////// void MouseCrickLeftUpPoint( int x, int y ); // ????????????????????ㄅ????? ////////////////////// void MouseCrickRightDownPoint( int x, int y ); // ????????????????????ㄅ????? ////////////////////// void MouseCrickRightUpPoint( int x, int y ); // ??????????????????ㄅ????? ////////////////////////// void MouseDblCrickLeftUpPoint( int x, int y ); // ??????????????????ㄅ????? ////////////////////////// void MouseDblCrickRightUpPoint( int x, int y ); // ????? /////////////////////////////////////////////////////////////// void MouseProc( void ); /* ???????????刪叉 **************************************************/ void HitMouseCursor( void ); #endif