70 lines
2.1 KiB
C++
70 lines
2.1 KiB
C++
#pragma once
|
|
|
|
////#include "SUIWnd.h"
|
|
////#include "SGameMessageUI.h"
|
|
|
|
class SUIAddonWnd : public SUIWnd
|
|
{
|
|
protected:
|
|
public:
|
|
virtual bool InitControls( KPoint kPos );
|
|
virtual void ProcMsgAtStatic( SGameMessage* pMsg );
|
|
virtual void PumpUpMessage( LPCSTR lpszControlID, DWORD nMessage, DWORD lparam, DWORD wparam );
|
|
virtual bool InitData( bool bReload = false );
|
|
virtual void Process(DWORD dwTime);
|
|
virtual void OnNotifyUIWindowOpen( bool bOpen, bool bLimitWnd = true );
|
|
virtual DWORD OnMouseMessage(DWORD dwMessage, int x, int y);
|
|
public:
|
|
SUIAddonWnd( SGameManager* pGameManager );
|
|
virtual ~SUIAddonWnd();
|
|
};
|
|
|
|
class SUITargetWndAddon : public SUIAddonWnd
|
|
{
|
|
private:
|
|
AR_HANDLE m_hOldTarget;
|
|
DWORD m_dwCheckingTime;
|
|
|
|
KUIControlButton* m_kickButton;
|
|
KUIControlButton* m_inviteButton;
|
|
KUIControlButton* m_takeOverButton;
|
|
KUIControlButton* m_reportDiveButton; /// 잠수 신고
|
|
KUIControlButton* m_challengeButton;
|
|
|
|
public:
|
|
SUITargetWndAddon( SGameManager* pGameManager );
|
|
~SUITargetWndAddon();
|
|
bool InitControls( KPoint kPos );
|
|
void PumpUpMessage( LPCSTR lpszControlID, DWORD nMessage, DWORD lparam, DWORD wparam );
|
|
virtual void ProcMsgAtStatic( SGameMessage* pMsg );
|
|
|
|
void OnNotifyUIWindowOpen( bool bOpen, bool bLimitWnd = true );
|
|
void Process(DWORD dwTime);
|
|
|
|
void SetButtonState( bool bEnable, bool isPartyMember = false );
|
|
|
|
void Action( int type );
|
|
void CheckAddOnWindow();
|
|
|
|
protected:
|
|
void updatePopup(int x, int y); /// 2011.11.18 - prodongi
|
|
/// 2011.12.16 파티 상태에 따라서 관련 버튼 show/hide - prodongi
|
|
void showPartyButtons(bool isPartyMember);
|
|
|
|
/// 2012.05.22 잠수 신고, 대전 버튼을 눌렀을 때, 아레나이면 잠수 신고를 한다 - prodongi
|
|
void reportDive();
|
|
void showReportDive();
|
|
|
|
protected:
|
|
bool getIsTaming() const; /// 2011.01.20 - prodongi
|
|
void setButtonDisableColor(); /// 2011.01.27 - prodongi
|
|
};
|
|
|
|
class SUIInventoryWndAddon : public SUIAddonWnd
|
|
{
|
|
public:
|
|
void OnNotifyUIWindowOpen( bool bOpen, bool bLimitWnd = true );
|
|
public:
|
|
SUIInventoryWndAddon( SGameManager* pGameManager );
|
|
~SUIInventoryWndAddon();
|
|
}; |