65 lines
2.3 KiB
C++
65 lines
2.3 KiB
C++
|
|
#pragma once
|
|
|
|
#include "SUIWnd.h"
|
|
#include "SUIUtil.h"
|
|
#include "KUIControlStatic.h"
|
|
#include "KUIControlScroll.h"
|
|
#include "KUIControlButton.h"
|
|
#include "SUIDisplayInfo.h"
|
|
#include "SGameMessage.h"
|
|
|
|
using std::string;
|
|
|
|
using namespace KUI_MESSAGE;
|
|
using namespace CStringUtil;
|
|
|
|
//-----------------------------------------------------------------------------------------------------------------
|
|
// 타겟 창 (프랍)
|
|
//-----------------------------------------------------------------------------------------------------------------
|
|
class SUITargetWnd_Prop : public SUIWnd
|
|
{
|
|
|
|
public:
|
|
|
|
|
|
SUITargetWnd_Prop( SGameManager* pGameManager, SUIDisplayInfo* pDisplayInfo );
|
|
~SUITargetWnd_Prop( void );
|
|
|
|
virtual SUIWnd* CreateWnd( const char* szFile, KUIWndManager* pWndManager, KPoint kPos, int nWindowID );
|
|
|
|
virtual bool InitControls( KPoint kPos );
|
|
virtual bool InitData( bool bReload = false );
|
|
virtual void PumpUpMessage( LPCSTR lpszControlID, DWORD nMessage, DWORD lparam, DWORD wparam );
|
|
virtual void ProcMsgAtStatic( SGameMessage* pMsg );
|
|
|
|
|
|
private:
|
|
|
|
|
|
void RefreshGauge( KUIControlGauge* pGaugeControl, const int nCurrent, const int nMax, const bool bAnimation, const bool bFriend );
|
|
|
|
bool ProcessMessage_UITargetInfo( SIMSG_UI_TARGET_INFO_PROP* const pTargetMsg );
|
|
bool ProcessMessage_UITargetInfo_Gauge( SIMSG_UI_TARGET_INFO_PROP* const pTargetMsg );
|
|
|
|
bool ProcessMessage_UITargetStat( SIMSG_UI_TARGET_STAT* const pStatMsg );
|
|
bool ProcessMessage_UITargetStat_Gauge( SIMSG_UI_TARGET_STAT* const pStatMsg );
|
|
|
|
|
|
private:
|
|
|
|
|
|
SUIDisplayInfo* m_pDisplayInfo;
|
|
|
|
KUIControlIconStatic* m_pPropertyIcon; // 속성 ICON 컨트롤
|
|
|
|
KUIControlGauge* m_pHpGauge; // HP 게이지 컨트롤
|
|
KUIControlStatic* m_pHpGaugeValue; // HP 게이지 숫자 컨트롤
|
|
KUIControlStatic* m_pPropName; // PROP 이름 컨트롤
|
|
KUIControlStatic* m_pPropDesc; // PROP 설명 컨트롤
|
|
|
|
string m_strPropNamePropertyTag; // PROP 이름 속성 태그 <font:>,<size:>.. <etc>
|
|
string m_strPropDescPropertyTag; // PROP 설명 속성 태그 <font:>,<size:>.. <etc>
|
|
string m_strHpGaugeValuePropertyTag; // HP 값 속성 태그 <font:>,<size:>.. <etc>
|
|
};
|