Job select by char create

06/03/2015 21:21 raventh1984#1
Hi elitepvpers,

I am having some trouble to customize the Job select by char create system.

What i want is instead of the DropDown list. I want to have buttons of the 4 classes.(Images).

So what i have done is created 4 WIDC_BUTTON's 4 to 7
WIDC_BUTTON4
WIDC_BUTTON5
WIDC_BUTTON6
WIDC_BUTTON7

I did align with i hate daisy.

I also edited the source. Here is my code

on void CWndCreateChar::OnInitialUpdate()
Code:
CWndButton* nJobMerc = (CWndButton*)GetDlgItem( WIDC_BUTTON4 );
	CWndButton* nJobAcro = (CWndButton*)GetDlgItem( WIDC_BUTTON5 );
	CWndButton* nJobAssist = (CWndButton*)GetDlgItem( WIDC_BUTTON6 );
	CWndButton* nJobMage = (CWndButton*)GetDlgItem( WIDC_BUTTON7 );
	nJobMerc->SetTexture(D3DDEVICE, MakePath( DIR_THEME, "SlotMer.bmp" ), TRUE );
	nJobAcro->SetTexture(D3DDEVICE, MakePath( DIR_THEME, "SlotArc.bmp" ), TRUE );
	nJobAssist->SetTexture(D3DDEVICE, MakePath( DIR_THEME, "SlotAs.bmp" ), TRUE );
	nJobMage->SetTexture(D3DDEVICE, MakePath( DIR_THEME, "SlotMag.bmp" ), TRUE );
After building the Neuz and launch it.
It seems its only reading the first njob. Cause its not giving me the other 3 jobs.
Its only showing SlotMerc on first slot.

this is my resdata
Code:
	WTYPE_BUTTON WIDC_BUTTON4 "" 0 16 100 80 164 0x2220000 0 0 0 0 46 112 169 //CHAR CREATE JOB MERC
	{
	//Title String
	""
	}
	{
	//TOOLTOP
	""
	}
	WTYPE_BUTTON WIDC_BUTTON5 "" 0 85 100 149 164 0x260000 0 0 0 0 46 112 169 //CHAR CREATE JOB ACRO
	{
	//Title String
	""
	}
	{
	//TOOLTOP
	""
	}
	WTYPE_BUTTON WIDC_BUTTON6 "" 0 155 100 80 164 0x2220000 0 0 0 0 46 112 169 //CHAR CREATE JOB ASSIST
	{
	//Title String
	""
	}
	{
	//TOOLTOP
	""
	}
	WTYPE_BUTTON WIDC_BUTTON7 "" 0 225 100 80 164 0x2220000 0 0 0 0 46 112 169 //CHAR CREATE JOB MAGE
	{
	//Title String
	""
	}
	{
	//TOOLTOP
	""
	}
Any help would be appriciated.

With kind regards.