ISnowMenu.h
资源名称:brewmine3.rar [点击查看]
上传用户:yulinhuamu
上传日期:2009-12-26
资源大小:7287k
文件大小:1k
源码类别:
BREW编程
开发平台:
Visual C++
- #ifndef _ISNOWMENU_H
- #define _ISNOWMENU_H
- #include "Aeestdlib.h"
- #include "aeemenu.h"
- #include "aeebitmap.h"
- #include "aeeshell.h"
- #include "IMineMusic.h"
- typedef enum
- {
- CMD_MENUMIN,
- CMD_MENUSTART,
- CMD_MENUSCORE,
- CMD_MENUEXIT,
- CMD_MENUMAX
- }TMineCMD;
- typedef struct _TPopo
- {
- AEERect rt;
- IBitmap* bitmap;
- struct _TPopo* pNext;
- }TPopo;
- typedef struct _ISnowMenu
- {
- IBitmap* m_pOldScreen;
- IBitmap* m_pCursor;
- IDisplay* m_pIDisplay;
- IShell* m_pIShell;
- TPopo* m_Popo;
- IMineMusic* m_pMusic;
- int m_PopoNum;
- uint16 m_ActiveItem;
- AEERect m_rt;
- AEERect m_CursorRect;
- }ISnowMenu;
- ISnowMenu* ISNOWMENU_CreateInstance();
- boolean ISNOWMENU_Release(ISnowMenu* pCtl);
- boolean ISNOWMENU_Start(ISnowMenu* pCtl);
- boolean ISNOWMENU_Stop(ISnowMenu* pCtl);
- boolean ISNOWMENU_HandleKeyEvent(ISnowMenu* pCtl,uint16 wParam);
- #endif