Files
player/Project/Src/MyWinApp/mywin_user_debug.h
andy d45df9714a 整理代码
1.解决一些编译警告
2.整理一些文件格式
2025-10-18 01:02:27 +08:00

33 lines
763 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