uiBlock.h 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. #ifndef __UI_BLOCK_H__
  2. #define __UI_BLOCK_H__
  3. #define SIGNAL_ICON_X 0
  4. #define SIGNAL_ICON_WX (7+11)
  5. #define NET_ICON_X (SIGNAL_ICON_X+SIGNAL_ICON_WX+2)
  6. #define NET_ICON_WX (16)
  7. #define GPS_ICON_X (NET_ICON_X+NET_ICON_WX+2)
  8. #define GPS_ICON_WX (16)
  9. #define SMS_ICON_X (GPS_ICON_X+GPS_ICON_WX+2)
  10. #define SMS_ICON_WX (16)
  11. #define TIME_ICON_X (SMS_ICON_X+SMS_ICON_WX+2)
  12. #define TIME_ICON_WX (5*12)
  13. #define BAT_ICON_X (TIME_ICON_X+TIME_ICON_WX+2)
  14. #define BAT_ICON_WX (21)
  15. #define WARN_TTS_INTERVAL 30000 //定时提示充电间隔
  16. #define MIN_PWR_LEVEL 320 //低于此电压后不工作
  17. #define WARN_PWR_LEVEL 340 //提示请充电电压
  18. extern unsigned char netshowvalue;
  19. void uiShowStatusBar(char flash,unsigned int exeInterval);
  20. void uiShowMainInterface(char status,unsigned int);
  21. void uiShowMenuMain(char update);
  22. void MenuMainResponse(void);
  23. void uiShowGUSel(char StatusUpdate,unsigned int exeInterval,char type);
  24. void GroupSelResponse();
  25. void UserSelResponse();
  26. void uiShowMenuSysSetup(char flash);
  27. void sysTemSetResponse(void);
  28. void uiShowMenuLocationSel(char flash);
  29. void loationSetResponse(void);
  30. void uiShowInformation(char update);
  31. void uiShowInformationResponse(void);
  32. void uiShowLcdSel(char StatusUpdate);
  33. void uiShowLcdSelResponse(void);
  34. void uiShowNetSel(char StatusUpdate);
  35. void uiShowNetSelResponse(void);
  36. void uiShowSimSel(char StatusUpdate);
  37. void uiShowSimSelResponse(void);
  38. void uiShowPwrSel(char StatusUpdate);
  39. void uiShowPwrSelResponse(void);
  40. void uiShowServerPassSel(char StatusUpdate);
  41. void uiShowServerSelPassResponse(void);
  42. void uiShowServerSel(char StatusUpdate);
  43. void uiShowServerSelResponse(void);
  44. void uiShowVersionSel(char StatusUpdate);
  45. void uiShowVersionSelResponse(void);
  46. void pwrModeAckHandler(unsigned char seg1, unsigned char seg2);
  47. void uiShowLearnGName(const char *name);
  48. unsigned short getSmsXAddr(void);
  49. #endif