Quote:
*cough* ltd source...[?] *cough* Tentando receber "likes" cara? eheuehe... odeio ser br :)
yes, you just have to change the thema of the buttonsQuote:
if I put it in my v18 will work?
#ifdef __v19BUTTONS
void CTheme::RenderWndButtonText( C2DRender* p2DRender, CWndButton* pWndButton )
{
BOOL bHighLight = pWndButton->IsHighLight();
BOOL bEnable = pWndButton->IsWindowEnabled();
BOOL bPush = pWndButton->IsPush();
DWORD dwColor = GetButtonFontColor( pWndButton );
POINT pt = GetButtonTextPos( p2DRender, pWndButton );
CD3DFont* pFont = p2DRender->GetFont();
p2DRender->SetFont( CWndBase::m_Theme.m_pFontButton );
if ( pWndButton->IsPush() )
{
p2DRender->TextOut( pt.x, pt.y + 2, pWndButton->GetTitle(), dwColor );
}
else
{
p2DRender->TextOut( pt.x, pt.y + 1, pWndButton->GetTitle(), dwColor );
}
p2DRender->SetFont( pFont );
}
#endif//__v19BUTTONS
void CTheme::RenderWndButtonText( C2DRender* p2DRender, CWndButton* pWndButton )
{
BOOL bHighLight = pWndButton->IsHighLight();
BOOL bEnable = pWndButton->IsWindowEnabled();
BOOL bPush = pWndButton->IsPush();
DWORD dwColor = GetButtonFontColor( pWndButton );
POINT pt = GetButtonTextPos( p2DRender, pWndButton );
#ifdef __v19BUTTONS
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//__v19BUTTONS
}
This is an idea I also had.Quote:
have you ever looked at the official v19?
I think not because he had looked he would see
that within the official resdata.txt.txt
are written the names of all buttons