System Button Trans Issue I Can't Figure Out

Tuesday, April 17, 2007 by Daiwa | Discussion: Skinning

I am using a .tga image for the system buttons in a skin I'm working on, imported from a .png with alpha-trans. Only the four corner pixels are transparent. The image attributes are set correctly as best I can tell - transparency & translucency are both enabled. However, on the Logoff & Shutdown dialogs the corner pixels are not transparent against the screen mask background:



Anyone know how to get those corner pixels to be translucent? The button paints correctly everywhere else; only the End Session dialogs have this problem.

Thanks.
I.R. Brainiac
Reply #1 Tuesday, April 17, 2007 3:50 AM
Are they on perpixel logoff backgrounds?Could make a difference.  
Daiwa
Reply #2 Tuesday, April 17, 2007 8:10 PM
Yes, that button is on a PP background - both the dialog and the screen mask are PP. Would that difference be a good thing or bad thing?

Thanks, I.R.
I.R. Brainiac
Reply #3 Tuesday, April 17, 2007 9:37 PM


was hoping it would...guess not...seen this before but cant remember the fix

try an opaque background behind at least the button area...
Daiwa
Reply #4 Tuesday, April 17, 2007 9:54 PM
That may be the only realistic option, unless you can remember that fix.

Thanks again.
1nsomn1ac
Reply #5 Tuesday, April 17, 2007 11:27 PM
you should skin both shutdown dialog background & shutdown dialog background per pixel
Daiwa
Reply #6 Wednesday, April 18, 2007 12:51 PM
Thanks, 1nsomn1ac.

Both are per pixel. In fact, all three elements of both dialogs (Shutdown & Logoff) - the background, the buttons & the system button - are per pixel, which is why I was puzzled that the corner pixels in the system button paint opaque when applied.
I.R. Brainiac
Reply #7 Wednesday, April 18, 2007 1:42 PM
the regular ones cant be perpixel...that may be it.You have to make 2 sets.
Daiwa
Reply #8 Wednesday, April 18, 2007 2:14 PM
Things are still confused, I guess.

The "regular" dialogs are not perpixel, only the perpixel dialogs are perpixel. It appears WB defaults to the perpixel backgrounds if they are present. The problem is only with perpixel backgrounds.
1nsomn1ac
Reply #9 Thursday, April 19, 2007 3:29 AM
make a bmp for regular background, you'll see the difference
Daiwa
Reply #10 Thursday, April 19, 2007 3:58 PM
Thanks again, 1nsomn1ac.

Only thing is, I want the transparency/screen mask & to isolate or "float" the button out there. The button does paint correctly on an opaque background, but that's not what I'm shooting for.
I.R. Brainiac
Reply #11 Thursday, April 19, 2007 9:51 PM
Mine are perpixel but not see thru and they are fine...did you try opaque just behind the button?Try 'floating it on its own image...put the button on your graphic and let the real one cover it.
1nsomn1ac
Reply #12 Friday, April 20, 2007 12:18 AM
make opaque button background couple pixel bigger than the button
[URL=http://imageshack.us][/URL]
Daiwa
Reply #13 Friday, April 20, 2007 1:34 PM
Yeah, that's the plan. I'll repost a shot once I have it finished.

Thanks, guys.

Please login to comment and/or vote for this skin.

Welcome Guest! Please take the time to register with us.
There are many great features available to you once you register, including:

  • Richer content, access to many features that are disabled for guests like commenting on the forums and downloading skins.
  • Access to a great community, with a massive database of many, many areas of interest.
  • Access to contests & subscription offers like exclusive emails.
  • It's simple, and FREE!



web-wc01