#ifndef __UI_MENU_H__ #define __UI_MENU_H__ #define UI_MENU_TOPY 29 #define UI_MENU_ROW 5 #define UI_MENU_SPACE 4 #define UI_MENU_BAR_LEN 108 #include "gui.h" #pragma pack(push) #pragma pack(1) typedef struct{ const char **item; unsigned char itemnum; unsigned char handle; unsigned char page; unsigned char pagenum; }SUT_MENU; #pragma pack(pop) extern SUT_MENU sutMenuSysSetup; void uiMenuInit(SUT_MENU *p, const char **item, FONT_MODEENUM fontMode); unsigned short uiMenuResponse(SUT_MENU *p); #endif