61 lines
1.3 KiB
C++
61 lines
1.3 KiB
C++
#include "stdafx.h"
|
|
|
|
#include "SUIFulldownTargetMonsterWnd.h"
|
|
|
|
bool SUIFulldownTargetMonsterWnd::InitControls( KPoint kPos )
|
|
{
|
|
// 숫자만 입력
|
|
// KUIControlEdit* pEdit = ( KUIControlEdit* )GetChild( "input_edit" );
|
|
// if( pEdit )
|
|
// {
|
|
// pEdit->SetOnlyNumber(true);
|
|
// pEdit->SetLimitation( c_nInputNumberLimit );
|
|
// }
|
|
// SetCustomMovingRect( KRect(0, 0, 224, 20) );
|
|
|
|
// 버튼 클릭 영역
|
|
//SetValidRect( "input_ok", KRect(0,0,-c_nButtonClickArea,0) );
|
|
//SetValidRect( "input_cancel", KRect(c_nButtonClickArea,0,0,0) );
|
|
|
|
return SUIWnd::InitControls(kPos);
|
|
}
|
|
bool SUIFulldownTargetMonsterWnd::InitData( bool bReload )
|
|
{
|
|
// m_nAllValue = 0;
|
|
// m_RequestWindow = SIMSG_TOGGLE_UIWINDOW::UIWINDOW_INPUTNUMBER;
|
|
|
|
return SUIWnd::InitData(bReload);
|
|
}
|
|
void SUIFulldownTargetMonsterWnd::PumpUpMessage( LPCSTR lpszControlID, DWORD nMessage, DWORD lparam, DWORD wparam )
|
|
{
|
|
switch(nMessage)
|
|
{
|
|
case KUI_MESSAGE::KBUTTON_CLICK:
|
|
break;
|
|
}
|
|
|
|
SUIWnd::PumpUpMessage( lpszControlID, nMessage, lparam, wparam );
|
|
}
|
|
|
|
void SUIFulldownTargetMonsterWnd::ProcMsgAtStatic( SGameMessage* pMsg )
|
|
{
|
|
switch(pMsg->nType)
|
|
{
|
|
case MSG_SCRIPT_SHOW_WINDOW:
|
|
{
|
|
}
|
|
break;
|
|
case IMSG_UI_REQ_INPUTNUMBER:
|
|
{
|
|
}
|
|
break;
|
|
case IMSG_UI_MOVE:
|
|
{
|
|
SIMSG_UI_MOVE* pMoveMsg = ( SIMSG_UI_MOVE* )pMsg;
|
|
MovePos( pMoveMsg->m_nX, pMoveMsg->m_nY );
|
|
pMsg->bUse = true;
|
|
}
|
|
break;
|
|
}
|
|
}
|