48 lines
		
	
	
		
			714 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			48 lines
		
	
	
		
			714 B
		
	
	
	
		
			C
		
	
	
	
	
	
| #ifndef MYWIN_USER_DEBUG_H__
 | |
| #define MYWIN_USER_DEBUG_H__
 | |
| 
 | |
| 
 | |
| 
 | |
| #include "mywin_inc.h"
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| typedef struct
 | |
| {
 | |
| 	WIN_TouchWinStruct win;
 | |
|   
 | |
|   int time_id1;
 | |
|   int ret;
 | |
|   WIN_WorkFunStruct *work;	                  //工作结构体
 | |
|   char cmd[256];
 | |
| }WIN_DebugStruct;
 | |
| 
 | |
| 
 | |
| 
 | |
| WIN_DebugStruct *WIN_CreatDebug (WIN_WindowStruct *base,
 | |
| 			void (*msgLoop)(struct _WIN_WindowStruct *win,WIN_MsgStruct *msg),
 | |
| 			int x,int y,int x_size,int y_size);
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| //默认绘制函数
 | |
| void DEBUG_DefaultPaint (WIN_DebugStruct *lo);
 | |
| 
 | |
| //默认消息处理函数
 | |
| void DEBUG_DefaultMsgLoop (WIN_DebugStruct *lo,WIN_MsgStruct *msg);
 | |
| 
 | |
| // 显示调试信息
 | |
| void DEBUG_EnterPrint(void);
 | |
| 
 | |
| // 进入调试
 | |
| void DEBUG_EnterPrintCmd(char *cmd);
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| #endif
 | |
| 
 |