Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[transparency mystery]

 [1/2] from: rebol665::ifrance::com at: 13-Feb-2002 23:37


Hi reboller, How come that I can't get any transparency for buttons ? Let me explain a bit ... I was reading the "How to Create Custom Buttons how-to" when I noticed that all the button images had white background. Furthermore every example in the how-to uses a white background for the layout. In fact, in one changes the layout background to blue for example, the result is ugly : rectangular button with white corner. Using PaintShop Pro, I started to experiment creating button with transparent background. I tried .GIF and .PNG in vain. The result was rubbish. I then remembered Etienne ALAURENT aqua-skin. Looking around I found very pretty round cornered button (button_up.png for example). In PaintShop Pro, these buttons have magenta background. However, when I substitute the original black backgrounded rebol button, with Etienne ALAURENT button, the result is still rubbish. What am I missing ? Does anyone had any idea to make transparency ? Patrick

 [2/2] from: ryanc:iesco-dms at: 13-Feb-2002 15:51


Use the 'key effect to render a color transparent. Something like: button %xxx.gif effect [key 0.0.0] --Ryan pat665 wrote: SNIP