| 
									
										
										
										
											2025-06-27 00:32:57 +08:00
										 |  |  |  | #ifndef MYWIN_USER_HOME_H__
 | 
					
						
							|  |  |  |  | #define MYWIN_USER_HOME_H__
 | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-07-05 19:47:28 +08:00
										 |  |  |  | //<2F><>ҳ
 | 
					
						
							| 
									
										
										
										
											2025-06-27 00:32:57 +08:00
										 |  |  |  | 
 | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  | #define STRUCT_TYPE_HOME 0x00000001
 | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  | typedef struct | 
					
						
							|  |  |  |  | { | 
					
						
							| 
									
										
										
										
											2025-07-05 19:47:28 +08:00
										 |  |  |  | 	u32 structType;			//<2F>ṹ<EFBFBD><E1B9B9><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
 | 
					
						
							| 
									
										
										
										
											2025-06-27 00:32:57 +08:00
										 |  |  |  | 	char date[50]; | 
					
						
							|  |  |  |  | 	char time[20]; | 
					
						
							|  |  |  |  | }HOME_DataStruct; | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  | 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; | 
					
						
							|  |  |  |  | 	u8 hour; | 
					
						
							|  |  |  |  | 	 | 
					
						
							|  |  |  |  | 	WIN_ButtonStruct *key_menu; | 
					
						
							|  |  |  |  | 	WIN_ButtonStruct *key_tool; | 
					
						
							|  |  |  |  | 		 | 
					
						
							|  |  |  |  | }WIN_HomeStruct; | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  | WIN_HomeStruct *WIN_CreatHome (WIN_WindowStruct *base, | 
					
						
							|  |  |  |  | 			void (*msgLoop)(struct _WIN_WindowStruct *win,WIN_MsgStruct *msg), | 
					
						
							|  |  |  |  | 			int x,int y,int x_size,int y_size); | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  | int HOME_Updata (WIN_HomeStruct *home,HOME_DataStruct *data); | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-07-05 19:47:28 +08:00
										 |  |  |  | //Ĭ<>ϻ<EFBFBD><CFBB>ƺ<EFBFBD><C6BA><EFBFBD>
 | 
					
						
							| 
									
										
										
										
											2025-06-27 00:32:57 +08:00
										 |  |  |  | void HOME_DefaultPaint (WIN_HomeStruct *home); | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  | 
 | 
					
						
							| 
									
										
										
										
											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 HOME_DefaultMsgLoop (WIN_HomeStruct *home,WIN_MsgStruct *msg); | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  | #endif
 | 
					
						
							|  |  |  |  | 
 |