Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
UiInit.h
Package: SwordOnline.rar [view]
Upload User: dzyhzl
Upload Date: 2019-04-29
Package Size: 56270k
Code Size: 1k
Category:
Game Server Simulator
Development Platform:
C/C++
- // -------------------------------------------------------------------------
- // 文件名 : UiInit.h
- // 创建者 : 彭建波
- // 创建时间 : 2002-9-10 11:25:36
- // 功能描述 : 初始界面
- //
- // -------------------------------------------------------------------------
- #ifndef __UIINIT_H__
- #define __UIINIT_H__
- #include "../Elem/WndButton.h"
- #include "../Elem/WndShowAnimate.h"
- class KUiInit : protected KWndShowAnimate
- {
- public:
- //----界面面板统一的接口函数----
- static KUiInit* OpenWindow(bool bStartMusic = true, bool bJustLaunched = false); //打开窗口,返回唯一的一个类对象实例
- static void CloseWindow(); //关闭窗口
- static void PlayTitleMusic();
- static void StopTitleMusic();
- private:
- KUiInit() {}
- ~KUiInit() {}
- void ShowCompleted();
- void Initialize(); //初始化
- void LoadScheme(const char* pScheme); //载入界面方案
- private:
- int WndProc(unsigned int uMsg, unsigned int uParam, int nParam);
- void OnClickButton(KWndButton* pWnd); //响应点击按钮
- KWndButton* GetActiveBtn();
- void OnAutoLogin();
- int OnKeyDown(unsigned int uKey);
- void PlayStartMovie();
- private:
- static KUiInit* m_pSelf;
- private:
- char m_szLoginBg[32];
- KWndButton m_EnterGame; // 进入游戏
- KWndButton m_GameConfig; // 游戏设置
- KWndButton m_DesignerList; // 制作人员名单
- // KWndButton m_AutoLogin; //自动登陆
- KWndButton m_ExitGame; // 退出游戏
- int m_nCurrentMovieIndex; //当前播放的动画的编号
- };
- #endif // __UIINIT_H__