uiBlock.h 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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. extern unsigned char netshowvalue;
  16. void uiShowStatusBar(char flash,unsigned int exeInterval);
  17. void uiShowMainInterface(char status,unsigned int);
  18. void uiShowMenuMain(char update);
  19. void MenuMainResponse(void);
  20. void uiShowGUSel(char StatusUpdate,unsigned int exeInterval,char type);
  21. void GroupSelResponse();
  22. void UserSelResponse();
  23. void uiShowMenuSysSetup(char flash);
  24. void sysTemSetResponse(void);
  25. void uiShowMenuLocationSel(char flash);
  26. void loationSetResponse(void);
  27. void uiShowInformation(char update);
  28. void uiShowInformationResponse(void);
  29. void uiShowLcdSel(char StatusUpdate);
  30. void uiShowLcdSelResponse(void);
  31. void uiShowNetSel(char StatusUpdate);
  32. void uiShowNetSelResponse(void);
  33. void uiShowSimSel(char StatusUpdate);
  34. void uiShowSimSelResponse(void);
  35. void uiShowPwrSel(char StatusUpdate);
  36. void uiShowPwrSelResponse(void);
  37. void uiShowServerPassSel(char StatusUpdate);
  38. void uiShowServerSelPassResponse(void);
  39. void uiShowServerSel(char StatusUpdate);
  40. void uiShowServerSelResponse(void);
  41. void uiShowVersionSel(char StatusUpdate);
  42. void uiShowVersionSelResponse(void);
  43. void pwrModeAckHandler(unsigned char seg1, unsigned char seg2);
  44. void uiShowLearnGName(const char *name);
  45. unsigned short getSmsXAddr(void);
  46. #endif