mirror of
https://github.com/dashr9230/SA-MP.git
synced 2026-10-11 17:58:16 +08:00
[saco] Implement/match CDeathWindow::RenderText(...)
This commit is contained in:
1 parent
45c97b5a32
commit
b9963944f4
2 files changed
+20
No files matched your search
@@ -134,6 +134,25 @@ void CDeathWindow::PushBack()
|
||||
|
||||
//----------------------------------------------------
|
||||
|
||||
void CDeathWindow::RenderText(CHAR *sz,RECT rect,DWORD dwColor,DWORD dwParams)
|
||||
{
|
||||
rect.top -= 1;
|
||||
m_pD3DFont->DrawText(m_pSprite,sz,-1,&rect,DT_NOCLIP|dwParams,0xFF000000);
|
||||
rect.top += 2;
|
||||
m_pD3DFont->DrawText(m_pSprite,sz,-1,&rect,DT_NOCLIP|dwParams,0xFF000000);
|
||||
rect.top -= 1;
|
||||
rect.left -= 1;
|
||||
m_pD3DFont->DrawText(m_pSprite,sz,-1,&rect,DT_NOCLIP|dwParams,0xFF000000);
|
||||
rect.left += 2;
|
||||
m_pD3DFont->DrawText(m_pSprite,sz,-1,&rect,DT_NOCLIP|dwParams,0xFF000000);
|
||||
rect.left -= 1;
|
||||
|
||||
m_pD3DFont->DrawText(m_pSprite,sz,-1,&rect,DT_NOCLIP|dwParams,dwColor);
|
||||
|
||||
}
|
||||
|
||||
//----------------------------------------------------
|
||||
|
||||
SIZE CDeathWindow::GetSymbolSize()
|
||||
{
|
||||
SIZE ret;
|
||||
|
||||
Reference in new issue
Block a user