2025-06-27 00:32:57 +08:00
|
|
|
|
#ifndef MYWIN_USER_LOCK_H__
|
|
|
|
|
#define MYWIN_USER_LOCK_H__
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#include "mywin_inc.h"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
typedef struct
|
|
|
|
|
{
|
|
|
|
|
WIN_TouchWinStruct win;
|
|
|
|
|
char date[50];
|
|
|
|
|
char time[20];
|
2025-07-05 19:47:28 +08:00
|
|
|
|
int timerId; //<2F><>ʱˢ<CAB1><CBA2>ʱ<EFBFBD><CAB1><EFBFBD><EFBFBD>ʾ<EFBFBD>Ķ<EFBFBD>ʱ<EFBFBD><CAB1>
|
2025-06-27 00:32:57 +08:00
|
|
|
|
u32 color1;
|
|
|
|
|
u8 sec;
|
2025-07-05 19:47:28 +08:00
|
|
|
|
int lock_relieve; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
2025-06-27 00:32:57 +08:00
|
|
|
|
|
|
|
|
|
char *pic_altitude;
|
|
|
|
|
char *pic_pressure;
|
|
|
|
|
char *pic_heart;
|
|
|
|
|
char *pic_battery;
|
|
|
|
|
char *pic_lock;
|
|
|
|
|
float pressure;
|
|
|
|
|
int altitude;
|
|
|
|
|
int heart;
|
|
|
|
|
int electricity;
|
|
|
|
|
|
|
|
|
|
}WIN_LockStruct;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
WIN_LockStruct *WIN_CreatLock (WIN_WindowStruct *base,
|
|
|
|
|
void (*msgLoop)(struct _WIN_WindowStruct *win,WIN_MsgStruct *msg),
|
|
|
|
|
int x,int y,int x_size,int y_size);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-07-05 19:47:28 +08:00
|
|
|
|
//Ĭ<>ϻ<EFBFBD><CFBB>ƺ<EFBFBD><C6BA><EFBFBD>
|
2025-06-27 00:32:57 +08:00
|
|
|
|
void LOCK_DefaultPaint (WIN_LockStruct *lo);
|
|
|
|
|
|
2025-07-05 19:47:28 +08:00
|
|
|
|
//Ĭ<><C4AC><EFBFBD><EFBFBD>Ϣ<EFBFBD><CFA2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
2025-06-27 00:32:57 +08:00
|
|
|
|
void LOCK_DefaultMsgLoop (WIN_LockStruct *lo,WIN_MsgStruct *msg);
|
|
|
|
|
|
2025-07-05 19:47:28 +08:00
|
|
|
|
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
2025-06-27 00:32:57 +08:00
|
|
|
|
void LOCK_EnterLock(const char *path);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|