58 lines
1.7 KiB
C++
58 lines
1.7 KiB
C++
|
|
#ifndef _SUIArenaPracticeReadyWnd_h_
|
|
#define _SUIArenaPracticeReadyWnd_h_
|
|
|
|
//#include "SUIWnd.h"
|
|
//#include "SUIUtil.h"
|
|
#include "ArenaMenuSystem.h"
|
|
|
|
/* 연습 입장
|
|
*/
|
|
class SUIArenaPracticeReadyWnd : public SUIWnd
|
|
{
|
|
public:
|
|
SUIArenaPracticeReadyWnd(SGameManager* pGameManager);
|
|
virtual ~SUIArenaPracticeReadyWnd();
|
|
virtual bool InitData( bool reload = false );
|
|
virtual void OnNotifyUIWindowOpen(bool bOpen, bool bLimitWnd);
|
|
virtual void ProcMsgAtStatic( SGameMessage* msg );
|
|
virtual void PumpUpMessage( LPCTSTR controlID, DWORD msg, DWORD lparam, DWORD wparam );
|
|
virtual DWORD OnMouseMessage(DWORD dwMessage, int x, int y);
|
|
|
|
private:
|
|
void initFp();
|
|
void initTooltip();
|
|
void getWndInfo();
|
|
void syncPos();
|
|
void setRank();
|
|
void initMainMenu();
|
|
void initMenuSystem();
|
|
bool isEmptyControlRegion(int x, int y) const;
|
|
void setEnableCompleteButton(bool enable);
|
|
void setSelectMenuItem(int mainMenuId, int subMenuId);
|
|
void setUnSelectMenu(int mainMenuId);
|
|
void postUpdateMainMenuButton();
|
|
bool isValidArenaJoinSituation();
|
|
/// control fp
|
|
void close();
|
|
void complete();
|
|
void buttonMainStadium();
|
|
void buttonSubStadium1();
|
|
void buttonSubStadium2();
|
|
void buttonSubStadium3();
|
|
|
|
void procMsgBattleInfo(SGameMessage* msg);
|
|
|
|
private:
|
|
enum { MAIN_MENU_RULE, MAIN_MENU_TEAM, MAIN_MENU_STADIUM, MAIN_MENU_TIME };
|
|
enum { SUB_MENU_STADIUM1, SUB_MENU_STADIUM2, SUB_MENU_STADIUM3 }; /// 우선 경기장 이름을 1, 2, 3으로 한다, 아직 뭔지 모름
|
|
|
|
sArenaMenuSystem m_menuSystem;
|
|
cClassFuncP<SUIArenaPracticeReadyWnd> m_controlFp;
|
|
cClassParamFuncP<SUIArenaPracticeReadyWnd, SGameMessage*, int> m_msgFp;
|
|
sEmptyControlRegionChecker m_emptyControlRegionChecker;
|
|
KUIControl* m_completeButton;
|
|
};
|
|
|
|
#endif
|