12345678910111213141516171819202122232425 |
- #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 140
- #include "stdbool.h"
- #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)
- void uiMenuInit(SUT_MENU *p, const char **item, FONT_MODEENUM fontMode,bool status);
- unsigned short uiMenuResponse(SUT_MENU *p);
- #endif
|