uiBlock.h 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. #ifndef __UI_BLOCK_H__
  2. #define __UI_BLOCK_H__
  3. #define SIGNAL_ICON_X 0
  4. #define SIGNAL_ICON_WX (7+10)
  5. #define CARD_ICON_X (SIGNAL_ICON_X+SIGNAL_ICON_WX+2)
  6. #define CARD_ICON_WX 7
  7. #define NET_ICON_X (CARD_ICON_X+CARD_ICON_WX+1)
  8. #define NET_ICON_WX (16)
  9. #define GPS_ICON_X (NET_ICON_X+NET_ICON_WX+1)
  10. #define GPS_ICON_WX (18)
  11. #define SMS_ICON_X (GPS_ICON_X+GPS_ICON_WX+2)
  12. #define SMS_ICON_WX (8)
  13. #define TIME_ICON_X (SMS_ICON_X+SMS_ICON_WX+1)
  14. #define TIME_ICON_WX (5*8)
  15. #define EAR_ICON_X (TIME_ICON_X+TIME_ICON_WX+1)
  16. #define EAR_ICON_WX (11)
  17. #define LOCK_ICON_X (EAR_ICON_X+EAR_ICON_WX+2)
  18. #define LOCK_ICON_WX 8
  19. #define BAT_ICON_X (LOCK_ICON_X+LOCK_ICON_WX+1)
  20. #define BAT_ICON_WX (21)
  21. #define WARN_TTS_INTERVAL 60000 //定时�示充电间隔
  22. #define MIN_PWR_LEVEL 320 //低于此电压��工�
  23. #define WARN_PWR_LEVEL 340 //�示请充电电�
  24. extern unsigned char netshowvalue;
  25. extern unsigned char ctecCurrentSet;
  26. void uiShowStatusBar(char flash,unsigned int exeInterval);
  27. void uiShowMainInterface(char status,unsigned int);
  28. void uiShowMenuMain(char update);
  29. void MenuMainResponse(void);
  30. void uiShowGUSel(char StatusUpdate,unsigned int exeInterval,char type);
  31. void GroupSelResponse();
  32. void UserSelResponse();
  33. void uiShowMenuSysSetup(char flash);
  34. void sysTemSetResponse(void);
  35. void uiShowMenuLocationSel(char flash);
  36. void loationSetResponse(void);
  37. void uiShowInformation(char update);
  38. void uiShowInformationResponse(void);
  39. void uiShowLcdSel(char StatusUpdate);
  40. void uiShowLcdSelResponse(void);
  41. void uiShowNetSel(char StatusUpdate);
  42. void uiShowNetSelResponse(void);
  43. void uiShowSimSel(char StatusUpdate);
  44. void uiShowSimSelResponse(void);
  45. void uiShowPwrSel(char StatusUpdate);
  46. void uiShowPwrSelResponse(void);
  47. void uiShowServerPassSel(char StatusUpdate);
  48. void uiShowServerSelPassResponse(void);
  49. void uiShowServerSel(char StatusUpdate);
  50. void uiShowServerSelResponse(void);
  51. void uiShowVersionSel(char StatusUpdate);
  52. void uiShowVersionSelResponse(void);
  53. void uiShowPingTaiSel(char StatusUpdate);
  54. void uiShowPingTaiSelResponse(void);
  55. void uiShowLBS_MAP(char update);
  56. void uiShowLBS_MAPResponse(void);
  57. void uiShowWeatherSel(char StatusUpdate);
  58. void uiShowWeatherSelResponse(void);
  59. void pwrModeAckHandler(unsigned char seg1, unsigned char seg2);
  60. unsigned short getSmsXAddr(void);
  61. void showLoading(void);
  62. #endif