ISnowMenu.h
上传用户:yulinhuamu
上传日期:2009-12-26
资源大小:7287k
文件大小:1k
源码类别:

BREW编程

开发平台:

Visual C++

  1. #ifndef _ISNOWMENU_H
  2. #define _ISNOWMENU_H
  3. #include "Aeestdlib.h"
  4. #include "aeemenu.h"
  5. #include "aeebitmap.h"
  6. #include "aeeshell.h"
  7. #include "IMineMusic.h"
  8. typedef enum
  9. {
  10. CMD_MENUMIN,
  11. CMD_MENUSTART,
  12. CMD_MENUSCORE,
  13. CMD_MENUEXIT,
  14. CMD_MENUMAX
  15. }TMineCMD;
  16. typedef struct _TPopo
  17. {
  18. AEERect rt;
  19. IBitmap* bitmap;
  20. struct _TPopo* pNext;
  21. }TPopo;
  22. typedef struct _ISnowMenu
  23. {
  24. IBitmap* m_pOldScreen;
  25. IBitmap* m_pCursor;
  26. IDisplay* m_pIDisplay;
  27. IShell* m_pIShell;
  28. TPopo* m_Popo;
  29. IMineMusic* m_pMusic;
  30. int  m_PopoNum;
  31. uint16 m_ActiveItem;
  32. AEERect m_rt;
  33. AEERect m_CursorRect;
  34. }ISnowMenu;
  35. ISnowMenu* ISNOWMENU_CreateInstance();
  36. boolean ISNOWMENU_Release(ISnowMenu* pCtl);
  37. boolean ISNOWMENU_Start(ISnowMenu* pCtl);
  38. boolean ISNOWMENU_Stop(ISnowMenu* pCtl);
  39. boolean ISNOWMENU_HandleKeyEvent(ISnowMenu* pCtl,uint16 wParam);
  40. #endif