Help me pls Sir!!!!
Help me how to remove Point and War point
Posts : 650
Points : 63356
Thanks : 760
Gender :
JoinDate : 2010-11-25
open InventoryWindow.cpp
find
find
- Code:
: m_pPage( NULL )
, m_pPage2( NULL )
, m_pMoneyTextBox( NULL )
, m_pMoneyTextBox2( NULL )
, m_pMoneyTextBox3( NULL )
, m_nONE_VIEW_SLOT( 4 )
- Code:
: m_pPage( NULL )
, m_pPage2( NULL )
, m_pMoneyTextBox( NULL )
// , m_pMoneyTextBox2( NULL )
// , m_pMoneyTextBox3( NULL )
, m_nONE_VIEW_SLOT( 4 )
- Code:
//add money 2
m_pMoneyTextBox2 = CreateStaticControl ( "INVENTORY_VOTE_TEXT", pFont8, NS_UITEXTCOLOR::SYS_ERROR, TEXT_ALIGN_LEFT );
m_pMoneyTextBox2->SetAlignFlag ( UI_FLAG_BOTTOM );
//add money 3
m_pMoneyTextBox3 = CreateStaticControl ( "INVENTORY_POINT_TEXT", pFont8, NS_UITEXTCOLOR::SYS_ERROR, TEXT_ALIGN_LEFT );
m_pMoneyTextBox3->SetAlignFlag ( UI_FLAG_BOTTOM );
- Code:
/* //add money 2
m_pMoneyTextBox2 = CreateStaticControl ( "INVENTORY_VOTE_TEXT", pFont8, NS_UITEXTCOLOR::SYS_ERROR, TEXT_ALIGN_LEFT );
m_pMoneyTextBox2->SetAlignFlag ( UI_FLAG_BOTTOM );
//add money 3
m_pMoneyTextBox3 = CreateStaticControl ( "INVENTORY_POINT_TEXT", pFont8, NS_UITEXTCOLOR::SYS_ERROR, TEXT_ALIGN_LEFT );
m_pMoneyTextBox3->SetAlignFlag ( UI_FLAG_BOTTOM );*/
- Code:
void CInventoryWindow::Update
- Code:
SetMoney2 ( ref_CharData.m_lnVoteP );
//add money 3
SetMoney3 ( ref_CharData.m_lnPremP );
- Code:
void CInventoryWindow::SetMoney2 ( LONGLONG Money )
{
// µ·ÀÚ¸®¼ö
CString strTemp = NS_UITEXTCONTROL::MAKE_MONEY_FORMAT ( Money, 3, "," );
m_pMoneyTextBox2->SetOneLineText ( strTemp );
}
//add money 3
void CInventoryWindow::SetMoney3 ( LONGLONG Money )
{
// µ·ÀÚ¸®¼ö
CString strTemp = NS_UITEXTCONTROL::MAKE_MONEY_FORMAT ( Money, 3, "," );
m_pMoneyTextBox3->SetOneLineText ( strTemp );
}
- Code:
/*void CInventoryWindow::SetMoney2 ( LONGLONG Money )
{
// µ·ÀÚ¸®¼ö
CString strTemp = NS_UITEXTCONTROL::MAKE_MONEY_FORMAT ( Money, 3, "," );
m_pMoneyTextBox2->SetOneLineText ( strTemp );
}
//add money 3
void CInventoryWindow::SetMoney3 ( LONGLONG Money )
{
// µ·ÀÚ¸®¼ö
CString strTemp = NS_UITEXTCONTROL::MAKE_MONEY_FORMAT ( Money, 3, "," );
m_pMoneyTextBox3->SetOneLineText ( strTemp );
}*/
Posts : 15
Points : 27
Thanks : 0
Gender :
JoinDate : 2016-01-26
๖ۣۜAdministrators wrote:open InventoryWindow.cpp
find
remove
- Code:
: m_pPage( NULL )
, m_pPage2( NULL )
, m_pMoneyTextBox( NULL )
, m_pMoneyTextBox2( NULL )
, m_pMoneyTextBox3( NULL )
, m_nONE_VIEW_SLOT( 4 )
next
- Code:
: m_pPage( NULL )
, m_pPage2( NULL )
, m_pMoneyTextBox( NULL )
// , m_pMoneyTextBox2( NULL )
// , m_pMoneyTextBox3( NULL )
, m_nONE_VIEW_SLOT( 4 )
and replace
- Code:
//add money 2
m_pMoneyTextBox2 = CreateStaticControl ( "INVENTORY_VOTE_TEXT", pFont8, NS_UITEXTCOLOR::SYS_ERROR, TEXT_ALIGN_LEFT );
m_pMoneyTextBox2->SetAlignFlag ( UI_FLAG_BOTTOM );
//add money 3
m_pMoneyTextBox3 = CreateStaticControl ( "INVENTORY_POINT_TEXT", pFont8, NS_UITEXTCOLOR::SYS_ERROR, TEXT_ALIGN_LEFT );
m_pMoneyTextBox3->SetAlignFlag ( UI_FLAG_BOTTOM );
next find
- Code:
/* //add money 2
m_pMoneyTextBox2 = CreateStaticControl ( "INVENTORY_VOTE_TEXT", pFont8, NS_UITEXTCOLOR::SYS_ERROR, TEXT_ALIGN_LEFT );
m_pMoneyTextBox2->SetAlignFlag ( UI_FLAG_BOTTOM );
//add money 3
m_pMoneyTextBox3 = CreateStaticControl ( "INVENTORY_POINT_TEXT", pFont8, NS_UITEXTCOLOR::SYS_ERROR, TEXT_ALIGN_LEFT );
m_pMoneyTextBox3->SetAlignFlag ( UI_FLAG_BOTTOM );*/
remove
- Code:
void CInventoryWindow::Update
next find
- Code:
SetMoney2 ( ref_CharData.m_lnVoteP );
//add money 3
SetMoney3 ( ref_CharData.m_lnPremP );
and replace
- Code:
void CInventoryWindow::SetMoney2 ( LONGLONG Money )
{
// µ·ÀÚ¸®¼ö
CString strTemp = NS_UITEXTCONTROL::MAKE_MONEY_FORMAT ( Money, 3, "," );
m_pMoneyTextBox2->SetOneLineText ( strTemp );
}
//add money 3
void CInventoryWindow::SetMoney3 ( LONGLONG Money )
{
// µ·ÀÚ¸®¼ö
CString strTemp = NS_UITEXTCONTROL::MAKE_MONEY_FORMAT ( Money, 3, "," );
m_pMoneyTextBox3->SetOneLineText ( strTemp );
}
save and rebuild
- Code:
/*void CInventoryWindow::SetMoney2 ( LONGLONG Money )
{
// µ·ÀÚ¸®¼ö
CString strTemp = NS_UITEXTCONTROL::MAKE_MONEY_FORMAT ( Money, 3, "," );
m_pMoneyTextBox2->SetOneLineText ( strTemp );
}
//add money 3
void CInventoryWindow::SetMoney3 ( LONGLONG Money )
{
// µ·ÀÚ¸®¼ö
CString strTemp = NS_UITEXTCONTROL::MAKE_MONEY_FORMAT ( Money, 3, "," );
m_pMoneyTextBox3->SetOneLineText ( strTemp );
}*/
Thx Sir
Posts : 650
Points : 63356
Thanks : 760
Gender :
JoinDate : 2010-11-25
if remove code in source don't need remove gui just need edit size inventory in gui is OK
|
|