[Help] Button v19 delete shadow

10/26/2016 23:28 Lapinfr#1
Hello Epvp's community

i got one problem , i use Button V19 release here but i got a shadow white on font like that :

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

i know the problem from source code , but where ?
10/29/2016 00:23 Lapinfr#2
Problem solved :
Code:
#ifdef __BUTTONS_V19
	CD3DFont* pFont = p2DRender->GetFont();
	p2DRender->SetFont( CWndBase::m_Theme.m_pFontButton ); 

	if ( pWndButton->IsPush() )
	{
               p2DRender->TextOut( pt.x, pt.y + 3, pWndButton->GetTitle(), 0xffffffff );
		p2DRender->TextOut( pt.x, pt.y + 2, pWndButton->GetTitle(), dwColor );
	}
	else if (pWndButton->IsWindowEnabled() == FALSE )
	{
		p2DRender->TextOut( pt.x, pt.y + 1, pWndButton->GetTitle(), dwColor );
	}
	else
	{
		p2DRender->TextOut( pt.x, pt.y + 2, pWndButton->GetTitle(), 0xffffffff );
 		p2DRender->TextOut( pt.x, pt.y + 1, pWndButton->GetTitle(), dwColor );
	}
	p2DRender->SetFont( pFont );
#else
	p2DRender->TextOut( pt.x, pt.y, pWndButton->GetTitle(), dwColor);
#endif// __BUTTONS_V19
Just Delete x2

Quote:
Code:
p2DRender->TextOut( pt.x, pt.y + 2, pWndButton->GetTitle(), 0xffffffff );