12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- #ifndef __LIST_BOX_H
- #define __LIST_BOX_H
-
- #include "ListBoxSMS.h"
-
- #define LIST_TOPX 0
- #define LIST_TOPY 30
- #define LIST_ROW 5
- #define LIST_BAR_LEN 126
- #define LIST_ITEM_NUM_MAX 200
-
- #define N 100
- #pragma pack(push)
- #pragma pack(1)
- typedef struct SUT_LIST_BOX
- {
- char **item;
- unsigned short itemnum;
- unsigned short handle;
- unsigned short page;
- unsigned short pgaenum;
- char unicode;
- char features[LIST_ITEM_NUM_MAX];
-
- const char **icon;
- unsigned short iconnum;
-
- SUT_LIST_BOX_SMS_INFO boxinfo[LIST_ROW];
- unsigned char up_down_flag;
- unsigned short totalnum;
- unsigned short notehandle;
- unsigned char pageChange;
- }SUT_LIST_BOX;
- #pragma pack(pop)
- extern SUT_LIST_BOX sutListBox;
- void ListBoxInitSMS(SUT_LIST_BOX *p,unsigned short totalnum,const char **iconlist,char unicode);
- void ListBoxShowSMS(SUT_LIST_BOX *p);
- void ListBoxInit(struct SUT_LIST_BOX *p,char **itemlist,char unicode,const char **iconlist,char *features);
- unsigned long ListBoxResponse(struct SUT_LIST_BOX *p);
- void StrIntercept(char *des,char *src,unsigned short len);
- unsigned long ListBoxResponseSMS(SUT_LIST_BOX *p);
- #endif
|