Button graphics

Started by Don Dickinson, July 16, 2004, 01:21:36 PM

Previous topic - Next topic

Don Dickinson

is there a way to make the background on an image button transparent?

thanks
don

Anonymous

I may be wrong, but I believe you've got the source code to the RR buttons donated by Bjorge Hagsten - if so you could get in there to do what you want.

Andrew

Roger Garstang

Background of the image or background of the button?  The button shouldn't need it, as for the image you'll have to make it transparent in an editor.  Most likely it is an ico file so a big one like MicroAngelo or an MS Freebie like ANIedit/Imagedit will let you edit it and make it transparent.  If I remember right I think Paul even has the command loading the image mapping 3D colors so:

Color Replaced with
Dk Gray, RGB(128,128,128) COLOR_3DSHADOW
Gray, RGB(192,192,192) COLOR_3DFACE
Lt Gray, RGB(223,223,223) COLOR_3DLIGHT


This could be good or bad...I wish he would leave that off and just use LR_SHARED...especially on Picture controls or maybe make it a property option.  But either way if you use those colors you'd need to set the image yourself.