2025-06-27 00:32:57 +08:00
|
|
|
|
#ifndef MYWIN_USER_DEBUG_H__
|
|
|
|
|
|
#define MYWIN_USER_DEBUG_H__
|
|
|
|
|
|
|
|
|
|
|
|
#include "mywin_inc.h"
|
|
|
|
|
|
|
2025-10-18 01:02:27 +08:00
|
|
|
|
typedef struct {
|
|
|
|
|
|
WIN_TouchWinStruct win;
|
2025-06-27 00:32:57 +08:00
|
|
|
|
|
|
|
|
|
|
int time_id1;
|
|
|
|
|
|
int ret;
|
2025-10-18 01:02:27 +08:00
|
|
|
|
WIN_WorkFunStruct *work; // <20><><EFBFBD><EFBFBD><EFBFBD>ṹ<EFBFBD><E1B9B9>
|
2025-06-27 00:32:57 +08:00
|
|
|
|
char cmd[256];
|
2025-10-18 01:02:27 +08:00
|
|
|
|
} WIN_DebugStruct;
|
2025-06-27 00:32:57 +08:00
|
|
|
|
|
2025-10-18 01:02:27 +08:00
|
|
|
|
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);
|
2025-06-27 00:32:57 +08:00
|
|
|
|
|
2025-10-18 01:02:27 +08:00
|
|
|
|
// Ĭ<>ϻ<EFBFBD><CFBB>ƺ<EFBFBD><C6BA><EFBFBD>
|
|
|
|
|
|
void DEBUG_DefaultPaint(WIN_DebugStruct *lo);
|
2025-06-27 00:32:57 +08:00
|
|
|
|
|
2025-10-18 01:02:27 +08:00
|
|
|
|
// Ĭ<><C4AC><EFBFBD><EFBFBD>Ϣ<EFBFBD><CFA2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
|
void DEBUG_DefaultMsgLoop(WIN_DebugStruct *lo, WIN_MsgStruct *msg);
|
2025-06-27 00:32:57 +08:00
|
|
|
|
|
2025-07-05 19:47:28 +08:00
|
|
|
|
// <20><>ʾ<EFBFBD><CABE><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ
|
2025-06-27 00:32:57 +08:00
|
|
|
|
void DEBUG_EnterPrint(void);
|
|
|
|
|
|
|
2025-07-05 19:47:28 +08:00
|
|
|
|
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
2025-06-27 00:32:57 +08:00
|
|
|
|
void DEBUG_EnterPrintCmd(char *cmd);
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|