[Question] Character info

11/30/2016 18:41 Wezzy_Dev#1
Can i ask where can i adjust the position of the red mark (name, Level and "?" "X".

and where can i remove the "?" Icon in the status. Thanks in advance
[Only registered and activated users can see links. Click Here To Register...]
12/01/2016 02:29 trashee09#2
resdata.inc open it with Atools
12/01/2016 05:36 Ecrypter#3
Use Gui tools
12/01/2016 07:09 Wezzy_Dev#4
its not in resdata.inc i all ready try using A tools and Ruby. I think in source code do you know what .cpp file related in this character status?

Look no WIDC or WTYPE For character name and for the "?" and "x"

Only of character icon hp,mp,fp and Exp.

[Only registered and activated users can see links. Click Here To Register...]
12/01/2016 11:19 Ecrypter#5
minimize the size of your status info they hide your ? into X. i already do this and work in in other v19 resdata
12/02/2016 09:47 XorArsen#6
All wrong.. here.. there you will find what you looking for.

Quote:
CWndStatus::PaintFrame
12/02/2016 10:26 Mike Oxmaul#7
CWndTitleBar is what he asked..
12/02/2016 10:48 XorArsen#8
Quote:
Originally Posted by Jupsi332 View Post
CWndTitleBar is what he asked..
Not for the position. But is okay.
12/02/2016 11:44 Mike Oxmaul#9
void CWndTitleBar::OnInitialUpdate()
but is okay.
12/02/2016 12:00 XorArsen#10
Quote:
Originally Posted by Jupsi332 View Post
void CWndTitleBar::OnInitialUpdate()
but is okay.
Cmon. I know what you mean. Its true for minimaze and co.
But is okay.

Can i ask where can i adjust the position of the red mark (name, Level and "?" "X".
Quote:
void CWndStatus::PaintFrame( C2DRender* p2DRender )
and where can i remove the "?" Icon in the status. Thanks in advance
Quote:
void CWndTitleBar::OnInitialUpdate()
12/02/2016 12:16 Mike Oxmaul#11
Code:
if(m_pParentWnd->IsWndStyle( WBS_HELP ) )
	{
		m_awndButton[ WTBID_HELP - 10000 ].Create( _T( "?" ), 0, CRect( m_nButtonMax * 16, 1 , m_nButtonMax * 16 + 16, 20), this, WTBID_HELP ), m_nButtonMax++;
//#ifdef __CLIENT
		m_awndButton[ WTBID_HELP - 10000 ].SetTexture( m_pApp->m_pd3dDevice, MakePath( DIR_THEME, "ButtWndHelp.tga" ), TRUE );
		m_awndButton[ WTBID_HELP - 10000 ].FitTextureSize();
//#endif
	}
remove WBS_HELP from cwndstatus

positioning the X
Code:
if( m_pParentWnd->m_bNoCloseButton == FALSE )
		{
			m_awndButton[ WTBID_CLOSE - 10000 ].Create( _T( "x" ), 0, CRect( m_nButtonMax * 16, 1 , m_nButtonMax * 16 + 16, 20), this, WTBID_CLOSE ), m_nButtonMax++;
			m_awndButton[ WTBID_CLOSE - 10000 ].SetTexture( m_pApp->m_pd3dDevice, MakePath( DIR_THEME, "ButtWndExit.tga" ), TRUE );
			m_awndButton[ WTBID_CLOSE - 10000 ].FitTextureSize();
		}
please in advance?

the Name and level is made with SetTitle
so CWndBase::Paintframe adjust height.
12/02/2016 13:33 XorArsen#12
Quote:
Originally Posted by Jupsi332 View Post
Code:
if(m_pParentWnd->IsWndStyle( WBS_HELP ) )
	{
		m_awndButton[ WTBID_HELP - 10000 ].Create( _T( "?" ), 0, CRect( m_nButtonMax * 16, 1 , m_nButtonMax * 16 + 16, 20), this, WTBID_HELP ), m_nButtonMax++;
//#ifdef __CLIENT
		m_awndButton[ WTBID_HELP - 10000 ].SetTexture( m_pApp->m_pd3dDevice, MakePath( DIR_THEME, "ButtWndHelp.tga" ), TRUE );
		m_awndButton[ WTBID_HELP - 10000 ].FitTextureSize();
//#endif
	}
remove WBS_HELP from cwndstatus

positioning the X
Code:
if( m_pParentWnd->m_bNoCloseButton == FALSE )
		{
			m_awndButton[ WTBID_CLOSE - 10000 ].Create( _T( "x" ), 0, CRect( m_nButtonMax * 16, 1 , m_nButtonMax * 16 + 16, 20), this, WTBID_CLOSE ), m_nButtonMax++;
			m_awndButton[ WTBID_CLOSE - 10000 ].SetTexture( m_pApp->m_pd3dDevice, MakePath( DIR_THEME, "ButtWndExit.tga" ), TRUE );
			m_awndButton[ WTBID_CLOSE - 10000 ].FitTextureSize();
		}
please in advance?

the Name and level is made with SetTitle
so CWndBase::Paintframe adjust height.

Realy?
Quote:
void CWndStatus::PaintFrame( C2DRender* p2DRender )
{
CRect rect = GetWindowRect();
if( m_pTexture && g_pPlayer )
{
RenderWnd();
// ¿©±â´Â ŸÀÌÆ² ¹ÙÀÇ ÅØ½ºÆ®¸¦ Ãâ·ÂÇÏ´Â °÷
if( IsWndStyle( WBS_CAPTION ) )
{
int y = 4;
CD3DFont* pOldFont = p2DRender->GetFont();
p2DRender->SetFont( CWndBase::m_Theme.m_pFontWndTitle );
p2DRender->TextOut( 10, y, m_strTitle, m_dwColor );
:o