View Full Version : Menue 50% Transparent?
h4xter
07-12-2008, 11:49 AM
The title says everything.
This is my current Menuecode.
BackGround(13, 49, 312, 162, D3DCOLOR_ARGB(255, 0, 0, 139), m_pD3Ddev);
BackGround(14, 50, 310, 160, D3DCOLOR_ARGB(255, 65, 105, 225), m_pD3Ddev);
DrawGameText(50, 30, D3DCOLOR_ARGB(255, 255, 140, 0), "");
virus7799
07-12-2008, 12:17 PM
The title says everything.
This is my current Menuecode.
BackGround(13, 49, 312, 162, D3DCOLOR_ARGB(255, 0, 0, 139), m_pD3Ddev);
BackGround(14, 50, 310, 160, D3DCOLOR_ARGB(255, 65, 105, 225), m_pD3Ddev);
DrawGameText(50, 30, D3DCOLOR_ARGB(255, 255, 140, 0), "");
Obviously you need a transparent rectangle function...
That's jus Zeas's basic drawing background function.
h4xter
07-12-2008, 12:20 PM
No.
I have a menue.
But i need a 50% Transparent Menue!
virus7799
07-12-2008, 12:22 PM
Lol I don't think your getting what I'm saying.
A transparent rec. function is used to draw a transparent menu....
h4xter
07-12-2008, 12:27 PM
Can you post the Code?
virus7799
07-12-2008, 12:29 PM
Can you post the Code?
It's off another site so I'll PM you the link.
h4xter
07-12-2008, 12:41 PM
Is the Code for a Menue like this?
http://img291.imageshack.us/img291/6692/newd3dzv8.png
Beacause i need this Code !! :D
D3DCOLOR_ARGB( A, R, G, B )
change the A value ( 0 - 255 ) 255 is max visible!
but as the other users said this will only work if you have a Fill_ARGB function or something else to draw transparent rects...
h4xter
07-13-2008, 08:27 AM
I allready change it but it doesn't Work
Powered by vBulletin® Version 4.1.12 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.