www.pudn.com > 2minilib.rar > tchScr.h


#include "../inc/macro.h" 
 
#ifndef __TCHSCR_H__ 
#define __TCHSCR_H__ 
 
/////////´¥ÃþÆÁ¶¯×÷//////// 
#define TCHSCR_ACTION_NULL			0	 
#define TCHSCR_ACTION_CLICK		1	//´¥ÃþÆÁµ¥»÷ 
#define TCHSCR_ACTION_DBCLICK		2	//´¥ÃþÆÁË«»÷ 
#define TCHSCR_ACTION_DOWN		3	//´¥ÃþÆÁ°´Ï 
#define TCHSCR_ACTION_UP			4	//´¥ÃþÆÁ̧Æð 
#define TCHSCR_ACTION_MOVE		5	//´¥ÃþÆÁÒÆ¶¯ 
 
typedef struct { 
	int x; 
	int y; 
	int action; 
}tsdata, *Ptsdata; 
 
void TchScr_GetScrXY(int *x, int *y); 
void Touch_Screen_Task(void *Id);		//´¥ÃþÆÁÈÎÎñ 
 
#endif //#ifndef __TCHSCR_H__