uiMenu.h 518 B

123456789101112131415161718192021222324252627
  1. #ifndef __UI_MENU_H__
  2. #define __UI_MENU_H__
  3. #define UI_MENU_TOPY 29
  4. #define UI_MENU_ROW 5
  5. #define UI_MENU_SPACE 4
  6. #define UI_MENU_BAR_LEN 140
  7. #include "gui.h"
  8. #pragma pack(push)
  9. #pragma pack(1)
  10. typedef struct{
  11. const char **item;
  12. unsigned char itemnum;
  13. unsigned char handle;
  14. unsigned char page;
  15. unsigned char pagenum;
  16. }SUT_MENU;
  17. #pragma pack(pop)
  18. extern SUT_MENU sutMenuSysSetup;
  19. void uiMenuInit(SUT_MENU *p, const char **item, FONT_MODEENUM fontMode);
  20. unsigned short uiMenuResponse(SUT_MENU *p);
  21. #endif