D3D Mouse Cursor

Posts 1625 of 25 · Page 2 of 2
Quote Originally Posted by TokolocoSK View Post
Em Menu.h

Code:
void DrawMouse(DWORD color,LPDIRECT3DDEVICE9 pDevice){
POINT myCursor; 
GetCursorPos(&myCursor);
DrawRect(myCursor.x,myCursor.y,11,1,color,pDevice);
DrawRect(myCursor.x+1,myCursor.y+1,9,1,color,pDevice);
DrawRect(myCursor.x+2,myCursor.y+2,7,1,color,pDevice);
DrawRect(myCursor.x+3,myCursor.y+3,7,1,color,pDevice);
DrawRect(myCursor.x+4,myCursor.y+4,8,1,color,pDevice);
DrawRect(myCursor.x+5,myCursor.y+5,3,1,color,pDevice);
DrawRect(myCursor.x+6,myCursor.y+6,2,1,color,pDevice);
DrawRect(myCursor.x+7,myCursor.y+6,1,1,color,pDevice);
DrawRect(myCursor.x+5,myCursor.y+10,4,1,color,pDevice);
DrawRect(myCursor.x+6,myCursor.y+12,2,1,color,pDevice);
}

Code:
DrawMouse(Cyan,pDevice);
Como Vai Ficar:



2º Modelo

Code:
void DrawMouse(DWORD color,LPDIRECT3DDEVICE9 pDevice){
POINT myCursor;
GetCursorPos(&myCursor);
DrawRect(myCursor.x,myCursor.y,30,1,color,pDevice);
DrawRect(myCursor.x+1,myCursor.y,28,1,color,pDevice);
DrawRect(myCursor.x+2,myCursor.y,26,1,color,pDevice);
DrawRect(myCursor.x+3,myCursor.y,24,1,color,pDevice);
DrawRect(myCursor.x+4,myCursor.y,22,1,color,pDevice);
DrawRect(myCursor.x+5,myCursor.y,20,1,color,pDevice);
DrawRect(myCursor.x+6,myCursor.y,18,1,color,pDevice);
DrawRect(myCursor.x,myCursor.y,1,30,color,pDevice);
DrawRect(myCursor.x,myCursor.y+1,1,28,color,pDevice);
DrawRect(myCursor.x,myCursor.y+2,1,26,color,pDevice);
DrawRect(myCursor.x,myCursor.y+3,1,24,color,pDevice);
DrawRect(myCursor.x,myCursor.y+4,1,22,color,pDevice);
DrawRect(myCursor.x,myCursor.y+5,1,20,color,pDevice);
DrawRect(myCursor.x,myCursor.y+6,1,18,color,pDevice);
}
Code:
DrawMouse(Blue,pDevice);

Credito 100% @Solify
ki essi cheta fais mam?
Quote Originally Posted by Ratozana View Post
ki essi cheta fais mam?
pra você tudo é "cheta", porra.

Isso não é cheta, e é só você ver as imagens que vai descobrir o que esse CODE faz.
Capevaldo eu não tenho nenhum preconceito contra o ratozana só que passou do limite faz tempo.
Quote Originally Posted by Templar View Post
Capevaldo eu não tenho nenhum preconceito contra o ratozana só que passou do limite faz tempo.
é, eu também.
mano todo mundo cansa uma hora.

@Ratozana

Para com isso, o maximo que você ganhará é um ban.
mause = mouse , não digitamos da maneira que pronunciamos.
bruno2204, so floodar para ganhar posts?
Para usar na base de CheckBox do WE11, seria:

Code:
DrawRect(pDevice,myCursor.x,myCursor.y,30,1,color);
DrawRect(pDevice,myCursor.x+1,myCursor.y,28,1,color);
DrawRect(pDevice,myCursor.x+2,myCursor.y,26,1,color);
DrawRect(pDevice,myCursor.x+3,myCursor.y,24,1,color);
DrawRect(pDevice,myCursor.x+4,myCursor.y,22,1,color);
DrawRect(pDevice,myCursor.x+5,myCursor.y,20,1,color);
DrawRect(pDevice,myCursor.x+6,myCursor.y,18,1,color);
DrawRect(pDevice,myCursor.x,myCursor.y,1,30,color);
DrawRect(pDevice,myCursor.x,myCursor.y+1,1,28,color);
DrawRect(pDevice,myCursor.x,myCursor.y+2,1,26,color);
DrawRect(pDevice,myCursor.x,myCursor.y+3,1,24,color);
DrawRect(pDevice,myCursor.x,myCursor.y+4,1,22,color);
DrawRect(pDevice,myCursor.x,myCursor.y+5,1,20,color);
DrawRect(pDevice,myCursor.x,myCursor.y+6,1,18,color);
Acho que essa semana eu vou comprar um outro MAUSE




É, título editado.
Posts 1625 of 25 · Page 2 of 2
This thread is closed for replies.

Tags for this Thread

None

Need help?