#ifndef __UI_BLOCK_H__ #define __UI_BLOCK_H__ #define SIGNAL_ICON_X 6 #define SIGNAL_ICON_WX (9+20) #define NET_ICON_X (SIGNAL_ICON_X+SIGNAL_ICON_WX+2) #define NET_ICON_WX (32) #define GPS_ICON_X (NET_ICON_X+NET_ICON_WX+2)//(NET_ICON_X+NET_ICON_WX+1) #define GPS_ICON_WX (24) #define SMS_ICON_X (GPS_ICON_X+GPS_ICON_WX)//(GPS_ICON_X+GPS_ICON_WX+2) #define SMS_ICON_WX 0//(8) #define TIME_ICON_X (GPS_ICON_X+GPS_ICON_WX) //(SMS_ICON_X+SMS_ICON_WX+1) #define TIME_ICON_WX 0 //(5*16) #define LEADER_ICON_X (GPS_ICON_X+GPS_ICON_WX) #define LEADER_ICON_WX 24 #define EAR_ICON_X (LEADER_ICON_X+LEADER_ICON_WX) #define EAR_ICON_WX (24) #define BLE_ICON_X (EAR_ICON_X+EAR_ICON_WX) #define BLE_ICON_WX 24 #define VOICE_ICON_X (BLE_ICON_X+BLE_ICON_WX) #define VOICE_ICON_WX 20 #define LOCK_ICON_X (EAR_ICON_X+EAR_ICON_WX+2) #define LOCK_ICON_WX 8 #define BAT_ICON_WX (38) #define BAT_ICON_X (GLCD_WIDTH-BAT_ICON_WX-1) #define WARN_TTS_INTERVAL 30000 //定时提示充电间隔 #define MIN_PWR_LEVEL 320 //低于此电压后不工作 #define WARN_PWR_LEVEL 340 //提示请充电电压 #define NORMAL_BOOL_NUM 2 //#define USE_LEFT_MOVING void ShowTime(char flash,unsigned int exeInterval); void ShowExInfo(char flash,unsigned int exeInterval); extern unsigned char netshowvalue; extern unsigned char ctecCurrentSet; extern const char ZZD_PWRMODE[3]; void pwrModeSetCmd(unsigned char pwrMode); void uiShowStatusBar(char flash,unsigned int exeInterval); void uiShowMainInterface(char status,unsigned int); void uiShowMenuMain(char update); void MenuMainResponse(void); void uiShowGUSel(char StatusUpdate,unsigned int exeInterval,char type); void GroupSelResponse(); void UserSelResponse(); void FriendSelResponse(); void uiShowMenuSysSetup(char flash); void sysTemSetResponse(void); void uiShowMenuLocationSel(char flash); void loationSetResponse(void); void uiShowInformation(char update); void uiShowInformationResponse(void); void uiShowLcdSel(char StatusUpdate); void uiShowLcdSelResponse(void); void uiShowNetSel(char StatusUpdate); void uiShowNetSelResponse(void); void uiShowSimSel(char StatusUpdate); void uiShowSimSelResponse(void); void uiShowPwrSel(char StatusUpdate); void uiShowPwrSelResponse(void); void uiShowServerPassSel(char StatusUpdate); void uiShowServerSelPassResponse(void); void uiShowServerSel(char StatusUpdate); void uiShowServerSelResponse(void); void uiShowVersionSel(char StatusUpdate); void uiShowVersionSelResponse(void); void pwrModeAckHandler(unsigned char seg1, unsigned char seg2); void uiShowShutDown(char update); void uiShowShutDownResponse(void); unsigned short getSmsXAddr(void); void showLoading(void); bool isUiSwitchReady(void); void uiShowBleMenuSysSetup(char flash); void sysBleSetResponse(void); void uiShowBleEnableUpdate(char StatusUpdate); void uiShowBleEnableUpdateResponse(void); void uiShowBleMacth(char StatusUpdate); void uiShowBleMacthUpdateResponse(void); void uiShowRingUpdate(char StatusUpdate); void uiShowRingUpdateResponse(void); void uiShowBleSpkUpdate(char StatusUpdate); void uiShowBleSpkUpdateResponse(void); void uiShowBleMicUpdate(char StatusUpdate); void uiShowBleMicUpdateResponse(void); void uiShowBleInitUpdate(char StatusUpdate); void uiShowBleInitUpdateResponse(void); void uiShowRingInitUpdate(char StatusUpdate); void uiShowRingInitUpdateResponse(void); void PalaceIndexReset(); void uiShowXINBIAOMenuSysSetup(char flash); void sysXINBIAOSetResponse(void); void uiShowXINBIAOStationUpdate(char StatusUpdate); void uiShowXINBIAOStationUpdateResponse(void); void uiShowXINBIAOEnableLive(char StatusUpdate); void uiShowXINBIAOEnableLiveResponse(void); void uiShowXINBIAOTriggerMode(char StatusUpdate); void uiShowXINBIAOTriggerModeResponse(void); void uiShowXinbiaoTimeUpdate(char StatusUpdate); void uiShowXinbiaoTimeUpdateResponse(void); void uiShowXINBIAOGateway(char StatusUpdate); void uiShowXINBIAOGatewayResponse(void); void uiShowXinbiaoClearlist(char StatusUpdate); void uiShowXinbiaoClearlistResponse(void); void uiShowXINBIAOInfoUpdate(char StatusUpdate); void uiShowXINBIAOInfoResponse(void); void uiShowMenuTTSEnableUpdate(char StatusUpdate); void uiShowMenuTTSEnableUpdateResponse(void); void uiShowShakeEnableUpdate(char StatusUpdate); void uiShowShakeEnableUpdateResponse(void); void uiShowPoc_soundUpdate(char StatusUpdate); void uiShowPoc_soundUpdateResponse(void); void uiShowSideKeyMenuSysSetup(char StatusUpdate); void sysSetSideKeyResponse(void); void uiShowSideKeyFuncUpdate(char StatusUpdate,char type); void uiShowSideKeyFuncUpdateResponse(char type); void uiShowLeaderMenuSysSetup(char StatusUpdate); void sysSetLeaderResponse(); void ReFlashItemLeader(char StatusUpdate,char type); void uiShowLeaderFuncResponse(); void uiShowOnlineXINBIAOShow(char StatusUpdate); void uiShowOnlineXINBIAOResponse(void); void uiShowFirmGPSPageShow(char StatusUpdate); void uiShowFirmGPSPageResponse(void); void uiShowCompassPoint(char StatusUpdate); void CompassPointResponse(void); void uiCallwindowShow(char StatusUpdate,int exeInterval); void uiShowOnlineXINBIAOResponse(void); void uiShowCallwindowResponse(void); void uiShowWriteParaUpdate(char StatusUpdate); void uiShowWriteParaResponse(); void uiShowSceneSel(char StatusUpdate); void uiShowSceneSelResponse(void); void uiShowMICgainSel(char StatusUpdate); void uiShowMICgainResponse(void); void movingShowNames(unsigned int dlyInterval,unsigned char reset,unsigned char now,unsigned char voice); void mainScreenShowMoving(unsigned short y, unsigned char reset,char *gname,char *uname,char *voicePri); void leftMoveStr(char *name, unsigned short len); void getRealShow(char *des, char *src,int maxsize); #endif