61 lines
1.6 KiB
C++
61 lines
1.6 KiB
C++
#pragma once
|
|
|
|
|
|
#include "KUIControlPanel.h" // Panel Wnd
|
|
|
|
// 길드관리 Wnd 의 패널 윈도우로 들어간다.
|
|
// ** 공격대 결성 패널 **
|
|
class SUIAttackingArmyPanelWnd : public KUIControlPanel
|
|
{
|
|
|
|
private:
|
|
|
|
class KUIControlSimpleButton * m_pExtensionButton; // 확장버튼.
|
|
|
|
KUIControlButton * m_pBtnOrganizeTeam; // 공격대결성 버튼
|
|
|
|
std::string m_TextDecoration; // 텍스트 데코레이션.
|
|
|
|
KUIControl * m_pRaidType;
|
|
std::string m_TextDecorate;
|
|
|
|
public:
|
|
|
|
SUIAttackingArmyPanelWnd( SGameManager * pGameManager, KUIControlPanelManager * pPanelManager=NULL );
|
|
virtual ~SUIAttackingArmyPanelWnd();
|
|
|
|
|
|
//-----------------------------
|
|
// Override
|
|
|
|
//
|
|
// KUIControlPanel::
|
|
// 패널의 크기를 원본크기로 변경한다. 각 패널윈도우의 크기가 다르므로 재정의할것!!.
|
|
virtual void ResizeOriginal();
|
|
|
|
// Open 시 필요기능정의.
|
|
virtual void CustomOpen();
|
|
|
|
//
|
|
// KUIWnd::
|
|
//SUIWnd* CreateWnd( const char* szFile, KUIWndManager* pWndManager, KPoint kPos, int nWindowID );
|
|
virtual bool InitControls( KPoint kPos );
|
|
virtual void OnNotifyUIWindowOpen( bool bOpen, bool bLimitWnd);
|
|
virtual void ProcMsgAtStatic( SGameMessage* pMsg );
|
|
virtual void PumpUpMessage( LPCSTR lpszControlID, DWORD nMessage, DWORD lparam, DWORD wparam );
|
|
virtual DWORD OnMouseMessage(DWORD dwMessage, int x, int y);
|
|
|
|
//-----------------------------
|
|
|
|
// 메모리 해제.
|
|
void Release();
|
|
|
|
// Panel 확대,축소
|
|
void PanelExtend();
|
|
|
|
// 공격대결성 버튼 활성/비활성 처리.
|
|
void VisibilityTeamBtn();
|
|
|
|
private:
|
|
bool isValidArenaJoinSituationAtPlaying();
|
|
}; |