#FIXED
CWndNewSkillslot::OnDraw
for( int i = 0; i < MAX_SLOT_QUEUE; i++ )
{
float fScal = 1.45f;
LPSHORTCUT lpShortcut = m_pSlotQueue[ i ] ;
if( !lpShortcut->IsEmpty() )
{
FLOAT fIllu = 0.0f;
if( bRenderIllu[i] )
fIllu = 0.85f;
CRect rect = m_wndCustom[i].GetWndRect();
point = CPoint(rect.left-2,rect.top-3);
if( lpShortcut->m_pTexture )
{
p2DRender->RenderTextureRotateALPHA( point, m_Marronzinha, lpShortcut->m_pTexture, fRadian, fIllu, fScal, fScal );
}
}
}
Still the same the icon are still not align :(Quote:
Code:CWndNewSkillslot::OnDrawCode:for( int i = 0; i < MAX_SLOT_QUEUE; i++ ) { float fScal = 1.45f; LPSHORTCUT lpShortcut = m_pSlotQueue[ i ] ; if( !lpShortcut->IsEmpty() ) { FLOAT fIllu = 0.0f; if( bRenderIllu[i] ) fIllu = 0.85f; CRect rect = m_wndCustom[i].GetWndRect(); point = CPoint(rect.left-2,rect.top-3); if( lpShortcut->m_pTexture ) { p2DRender->RenderTextureRotateALPHA( point, m_Marronzinha, lpShortcut->m_pTexture, fRadian, fIllu, fScal, fScal ); } } }