uiBlock.h 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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 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 (17)
  9. #define SMS_ICON_X (GPS_ICON_X+GPS_ICON_WX+2)
  10. #define SMS_ICON_WX (10)
  11. #define TIME_ICON_X (SMS_ICON_X+SMS_ICON_WX+2)
  12. #define TIME_ICON_WX (5*8)
  13. #define EAR_ICON_X (TIME_ICON_X+TIME_ICON_WX+2)
  14. #define EAR_ICON_WX (14)
  15. #define LOCK_ICON_X (EAR_ICON_X+EAR_ICON_WX+2)
  16. #define LOCK_ICON_WX 8
  17. #define BAT_ICON_X (LOCK_ICON_X+LOCK_ICON_WX+2)
  18. #define BAT_ICON_WX (21)
  19. #define MIN_PWR_LEVEL 320 //低于此电压后不工作
  20. #define WARN_PWR_LEVEL 330 //提示请充电电压
  21. extern unsigned char netshowvalue;
  22. void uiShowStatusBar(char flash,unsigned int exeInterval);
  23. void uiShowMainInterface(char status,unsigned int);
  24. void uiShowMenuMain(char update);
  25. void MenuMainResponse(void);
  26. void uiShowGUSel(char StatusUpdate,unsigned int exeInterval,char type);
  27. void GroupSelResponse();
  28. void UserSelResponse();
  29. void uiShowMenuSysSetup(char flash);
  30. void sysTemSetResponse(void);
  31. void uiShowMenuLocationSel(char flash);
  32. void loationSetResponse(void);
  33. void uiShowInformation(char update);
  34. void uiShowInformationResponse(void);
  35. void uiShowLcdSel(char StatusUpdate);
  36. void uiShowLcdSelResponse(void);
  37. void uiShowNetSel(char StatusUpdate);
  38. void uiShowNetSelResponse(void);
  39. void uiShowSimSel(char StatusUpdate);
  40. void uiShowSimSelResponse(void);
  41. void uiShowPwrSel(char StatusUpdate);
  42. void uiShowPwrSelResponse(void);
  43. void uiShowServerPassSel(char StatusUpdate);
  44. void uiShowServerSelPassResponse(void);
  45. void uiShowServerSel(char StatusUpdate);
  46. void uiShowServerSelResponse(void);
  47. void uiShowVersionSel(char StatusUpdate);
  48. void uiShowVersionSelResponse(void);
  49. void uiShowVoiceSel(char StatusUpdate);
  50. void uiShowVoiceSelResponse(void);
  51. void pwrModeAckHandler(int seg1);
  52. unsigned short getSmsXAddr(void);
  53. void pwrModeSetCmd(unsigned char pwrMode);
  54. #endif