[SOURCE]V19 title of windows

12/09/2012 18:31 adeilson123#1

I bring to you guys the titles of windows v19
I hope you enjoy

==================================
ITheme.cpp
==================================
search:
Code:
#ifdef __LANG_1013
	PLANG_DATA pLangData	= CLangMan::GetInstance()->GetLangData( ::GetLanguage() );
	CD3DFont* pFont;
put down:

Code:
#ifdef __TITLE_WINDOWS_V19
	pFont = new CD3DFont( _T("gulim"), 10, D3DFONT_BOLD );
	pFont->m_nOutLine = 2;
	pFont->m_dwColor = 0xffffffff;
	pFont->m_dwBgColor = D3DCOLOR_ARGB( 255, 0, 0, 0 );
	m_mapFont.SetAt( _T( "NewTitle"), pFont );
#endif//__TITLE_WINDOWS_V19

search:
Code:
	m_mapFont.Lookup( _T("Arial Black9"), (void*&)m_pFontWndTitle );
put down:
Code:
#ifdef __TITLE_WINDOWS_V19
	m_mapFont.Lookup( _T("NewTitle"), (void*&)m_pFontWndNewTitle );
#endif//__TITLE_WINDOWS_V19
==================================
ITheme.h
==================================

search:
Code:
	CD3DFont* m_pFontWndTitle;
put down:
Code:
#ifdef __TITLE_WINDOWS_V19
	CD3DFont* m_pFontWndNewTitle;
#endif//__TITLE_WINDOWS_V19
==================================
WndBase.cpp
==================================

go to:

Code:
void CWndBase::PaintFrame(C2DRender* p2DRender)
search:
Code:
				CD3DFont* pOldFont = p2DRender->GetFont();
				p2DRender->SetFont( CWndBase::m_Theme.m_pFontWndTitle );
				p2DRender->TextOut( 10, 4, m_strTitle, m_dwColor );
				p2DRender->SetFont( pOldFont );
replace with:
Code:
#ifdef __TITLE_WINDOWS_V19
			CPoint newpoint;
			CSize sizeTitle = p2DRender->m_pFont->GetTextExtent( m_strTitle );
			CRect rect	= GetWindowRect();
			newpoint = (rect.Width() - sizeTitle.cx) / 2;

			CD3DFont* pOldFont = p2DRender->GetFont();
			p2DRender->SetFont( CWndBase::m_Theme.m_pFontWndNewTitle );
			p2DRender->TextOut( newpoint.x , 8, m_strTitle, 0xffffffff );
			p2DRender->SetFont( pOldFont );
#endif//__TITLE_WINDOWS_V19
==================================
Neuz VersionCommon.h
==================================
Code:
#define __TITLE_WINDOWS_V19
Codes 100% by me

Image:
[Only registered and activated users can see links. Click Here To Register...]

12/09/2012 18:47 Lumi#2
It looks nice, but it would be nice, if you upload the theme folder of this thing.
12/09/2012 18:56 adeilson123#3
Quote:
Originally Posted by Lumi' View Post
It looks nice, but it would be nice, if you upload the theme folder of this thing.

Source
[Only registered and activated users can see links. Click Here To Register...]

Resource for server
[Only registered and activated users can see links. Click Here To Register...]

Theme
[Only registered and activated users can see links. Click Here To Register...]

12/09/2012 19:21 sbobetcom#4
Thank this is importtant for me :handsdown:
12/09/2012 19:36 Icetea#5
Thanks :3 Very Nice! :)

Greetz Icetea
12/09/2012 19:37 DerObstBauerFreak#6
really good!
12/14/2012 17:53 adeilson123#7
thanks
12/15/2012 00:11 Rhyder`#8
The theme is incomplete please upload the buttons

error!!!
[Only registered and activated users can see links. Click Here To Register...]
02/01/2013 18:26 adeilson123#9

you guys can swap rows:
Code:
	pFont = new CD3DFont( _T("gulim"), 10, D3DFONT_BOLD );
	pFont->m_nOutLine = 2;
	pFont->m_dwColor = 0xffffffff;
	pFont->m_dwBgColor = D3DCOLOR_ARGB( 255, 0, 0, 0 );
	m_mapFont.SetAt( _T( "NewTitle"), pFont );
for:
Code:
	pFont = new CD3DFont( _T("Verdana"), 9, D3DFONT_BOLD );
	pFont->m_nOutLine  = 1;
	pFont->m_dwColor   = D3DCOLOR_ARGB( 255, 238, 221, 130 );
	pFont->m_dwBgColor = D3DCOLOR_ARGB( 255,   0,   0,   0 );
	m_mapFont.SetAt( _T( "NewTitle"), pFont );
or: (usa flyff style)
Code:
	pFont = new CD3DFont( _T("Verdana"), 9);
	pFont->m_nOutLine  = 1;
	pFont->m_dwColor   = D3DCOLOR_ARGB( 255, 238, 221, 130 );
	pFont->m_dwBgColor = D3DCOLOR_ARGB( 255,   0,   0,   0 );
	m_mapFont.SetAt( _T( "NewTitle"), pFont );
07/16/2013 15:04 amirshu#10
should i edit the resdata to this code?
and if yes can someone bring me the code pls?
07/16/2013 15:28 Rhyder`#11
Quote:
Originally Posted by amirshu View Post
should i edit the resdata to this code?
and if yes can someone bring me the code pls?
no need to edit the resdata.inc
07/16/2013 16:18 amirshu#12
Quote:
Originally Posted by jayjei14 View Post
no need to edit the resdata.inc
jayjay can you pls help me add the Vgold look to my blessed files?
my skype is amirshu
03/31/2016 13:08 ivenamado#13
Im having this error when i compile

ERROR C2146:syntax error : missing';' before identifier 'CD3DFont'
ERROR C2086: 'CD3DFONT *CTheme::m_pFontButton' : redefinition

I need help!