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
UiSelPlayerNearby.h
Package: SwordOnline.rar [view]
Upload User: dzyhzl
Upload Date: 2019-04-29
Package Size: 56270k
Code Size: 2k
Category:
Game Server Simulator
Development Platform:
C/C++
- /*****************************************************************************************
- // 界面--选择附近的某个玩家
- // Copyright : Kingsoft 2003
- // Author : Wooy(Wu yue)
- // CreateTime: 2003-2-26
- ------------------------------------------------------------------------------------------
- *****************************************************************************************/
- #pragma once
- #include "../Elem/WndShowAnimate.h"
- #include "../Elem/WndButton.h"
- #include "../Elem/WndPureTextBtn.h"
- #include "../Elem/WndList.h"
- #include "../Elem/WndScrollBar.h"
- #include "../Elem/WndEdit.h"
- struct KPlayerInterAction
- {
- char szActionName[32]; //行为名称
- int nId; //行为id
- };
- struct KUiPlayerItem;
- class KUiSelPlayerNearby : protected KWndShowAnimate
- {
- public:
- static KUiSelPlayerNearby* OpenWindow(); //打开窗口,返回唯一的一个类对象实例
- static int DoesHaveVisibleWnd();
- static void CloseWindow(bool bDestroy); //关闭窗口,同时可以选则是否删除对象实例
- static void LoadScheme(const char* pScheme); //载入界面方案
- private:
- KUiSelPlayerNearby();
- ~KUiSelPlayerNearby() {}
- void Initialize(); //初始化
- void LoadScheme(class KIniFile* pIni);//载入界面方案
- int WndProc(unsigned int uMsg, unsigned int uParam, int nParam);//窗口函数
- void OnClickXButton(int nAction);
- void UpdateData();
- void Clear();
- void LoadActionList(KIniFile* pSetting);
- private:
- static KUiSelPlayerNearby* m_pSelf;
- KUiPlayerItem* m_pDataList;
- int m_nPlayerCount;
- KWndList m_PlayerList;
- KWndScrollBar m_ListScroll;
- #define MAX_NUM_BUTTON 9
- KWndPureTextBtn m_ActionBtns[MAX_NUM_BUTTON];
- KPlayerInterAction m_ActionList[MAX_NUM_BUTTON];
- int m_nActionCount;
- KWndButton m_CancelBtn, m_RefreshBtn;
- KWndEdit32 m_InputEdit;
- };