UiNewPlayerStartMsg.h
上传用户:dzyhzl
上传日期:2019-04-29
资源大小:56270k
文件大小:1k
源码类别:

模拟服务器

开发平台:

C/C++

  1. /*****************************************************************************************
  2. // 界面--新手进入的提示界面
  3. // Copyright : Kingsoft 2003
  4. // Author :   Freeway Chen
  5. // CreateTime: 2003-7-8
  6. ------------------------------------------------------------------------------------------
  7. *****************************************************************************************/
  8. #pragma once
  9. #include "../Elem/WndList.h"
  10. #include "../Elem/WndScrollBar.h"
  11. #include "../Elem/WndMessageListBox.h"
  12. #include "../Elem/WndShowAnimate.h"
  13. class KUiNewPlayerStartMsg : protected KWndShowAnimate
  14. {
  15. public:
  16. static KUiNewPlayerStartMsg* OpenWindow(); //打开窗口,返回唯一的一个类对象实例
  17. static void CloseWindow(bool bDestroy);         //关闭窗口
  18. private:
  19. KUiNewPlayerStartMsg();
  20. ~KUiNewPlayerStartMsg();
  21. void Initialize(); //初始化
  22. void LoadScheme(const char* pScheme); //载入界面方案
  23. int WndProc(unsigned int uMsg, unsigned int uParam, int nParam); //窗口函数
  24. void OnOk();
  25. int OnKeyDown(unsigned int uKey);
  26. void OnClickButton(KWndButton* pBtn);
  27. private:
  28. void LoadList();
  29. static  KUiNewPlayerStartMsg* m_pSelf;
  30. private:
  31. KScrollMessageListBox m_List;
  32. KScrollMessageListBox m_AdvanceList;
  33. KWndButton m_NewerBtn;
  34. KWndButton m_AdvanceBtn;
  35. KWndButton         m_Ok;
  36. };