|
|
#1 |
|
Junior Member
Join Date: Mar 2002
Posts: 47
|
desktop alpha and hiding / substract sysregion ?
Hi,
I can't find how to use sysregion="-2" or -1 with my skin (it only works when I disable the desktop alpha) basically my skin is like that code: for exemple I'd like to hide some of this last layer using another one with sysregion="-2", is it impossible when using desktop alpha or is there another way ? Thanks |
|
|
|
|
|
#2 |
|
Member
|
sysregion only works when desktop alpha is disabled
|
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Mar 2002
Posts: 47
|
Thanks, too bad :/
|
|
|
|
|
|
#4 |
|
Senior Member
Join Date: Feb 2005
Location: Kent, England
Posts: 353
|
Well, for a given layout, you can define a standard image and an alpha image, if that is what you were trying to do.
<layout id="normal" background="main" alphabackground="mainalpha"/> So you use those tags, and winamp changes between the images depending on alpha setting. Also you could make layers switch, but you would need a script do to that job. |
|
|
|
|
|
#5 | |
|
Major Dude
Join Date: Oct 2003
Location: Netherlands
Posts: 1,416
|
Quote:
How would you explain the use of regions on the playlist editor for example? Using smooth edges is a different story, but that has nothing to do with the possibility to use sysregion="-2". |
|
|
|
|
|
|
#6 |
|
Senior Member
Join Date: Feb 2005
Location: Kent, England
Posts: 353
|
Well i've tried using sysregion on the main window that has a normal and alpha background set. The sysregion="-2" only works with DTA turned off in that case.
|
|
|
|
|
|
#7 |
|
Member
|
DTA does not apply to the Playlist window. It can't use desktop alpha, so for that window it is always disabled.
|
|
|
|
|
|
#8 |
|
Major Dude
Join Date: Oct 2003
Location: Netherlands
Posts: 1,416
|
Ok maybe I misunderstood something. I think I missed the normal and alphabackground thing. I will try it.
![]() Yes you're right and I'm sorry! On the noalpha background the region acts normal, but as soon as I enable desktopalpha and the skin uses the alphabackground, the region turns black.
|
|
|
|
|
|
#9 |
|
Senior Member
Join Date: Feb 2005
Location: Kent, England
Posts: 353
|
Yeah, and thats pretty annoying, because a sysregion="-2" block is a useful way to hide the top of drawers in shade modes where the drawer is taller than that part of the skin.
|
|
|
|
|
|
#10 |
|
Junior Member
Join Date: Mar 2002
Posts: 47
|
Yep, I wanted to add a background pattern image over the background image (using tiling) and hide the borders as the background has rounded borders, now I can't do it and I don't see another way to do it when using dalpha :'(
|
|
|
|
|
|
#11 |
|
Android/UI Development
|
why need you a beg image?
lets say you want to sunstract 10 px from your bg, then why don't simply use a bg which has x="10" and h="-10" and relath="1"? or do something i did with my alpha-standardframe: simply change the images on the layers via maki when dta_on/off changes? can u perhaps post some code? |
|
|
|
|
|
#12 |
|
Junior Member
Join Date: Mar 2002
Posts: 47
|
Well I wanted the bg pattern to overlay the all thing (as there's a 1pixel black border it can be x=1 y=1 and w=-1 h=-1) so when the pattern is over a rounded border it suck ^^,
just as example for the left top corner
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|