joao1234 Posted January 3, 2014 Posted January 3, 2014 hey guys, im doing a panel and i made a button with alfa = 200, and when a player puts the mouse over it sets the alfa = 255. But i dont know how to make this as there is no function to set alfa of na dx image Any ideas?
Plean Posted January 3, 2014 Posted January 3, 2014 (edited) In dxDrawImage there is argument named "color". There you can write "tocolor(255, 255, 255, alpha)" to change image alpha Edited January 3, 2014 by Guest
xXMADEXx Posted January 3, 2014 Posted January 3, 2014 Use getCursorPosition and check to see if theposition is inside the rectangle.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now