00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #ifndef __AWINMULTIPLAYER_H__
00012 #define __AWINMULTIPLAYER_H__
00013
00014 #include "Mod_Aeternis_Client/Mod_Aeternis_ClientDll.h"
00015 #include "Interface/Win.h"
00016 #include "Interface/Button.h"
00017 #include "Interface/ListBox.h"
00018 #include "Interface/Edit.h"
00019 #include "Interface/WinBrowser.h"
00020
00021
00022 class MOD_AETERNIS_CLIENT_API KAWinMultiPlayer : public KWin
00023 {
00024 protected:
00025 KSHADER m_hBackGround;
00026 KButton* m_pButtonFight;
00027 KButton* m_pButtonRefresh;
00028 KButton* m_pButtonBack;
00029 KButton* m_pButtonConnect;
00030
00031 KEdit* m_pPlayerName;
00032 u32 m_nServers ;
00033
00034 KWinBrowser* m_pWinBrowser ;
00035
00036 void Refresh();
00037
00038 public:
00039 KAWinMultiPlayer( KWin* pFather, KFPt& Pos, KFPt& Size, KInterface* pInterface );
00040 ~KAWinMultiPlayer();
00041
00042 virtual void Display();
00043 virtual void Manage();
00044 virtual void OnShow();
00045
00046
00047 virtual void Load();
00048 virtual void Unload();
00049
00050 virtual void OnAddServersList( KServerInfo& ServerInfo ) ;
00051 virtual void OnFlushServersList() ;
00052 };
00053
00054 #endif __AWINMULTIPLAYER_H__