Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   Modern Skins (http://forums.winamp.com/forumdisplay.php?f=123)
-   -   Images stroked (http://forums.winamp.com/showthread.php?t=172548)

OzObdrOl 8th March 2004 12:31

Images stroked
 
Hey there. I'm having a bit of an issue which is causing me many hours of frustration. I created a simple little skin, just a base and 5 buttons. The base image has semi-transparent pixels around the edges, but when I use it in winamp they are plain solid black pixels. Which is gay.

I know you're all yelling at me "You fool, desktopalpha, alphabackground, etc etc", but I tried that and there is absolutely no difference between the 6 or so different methods that I tried. If you know what I'm talkin bout and know how to fix it... plz tell me how, coz this happens quite often with me, and then i sit and delete the semi-transparent pixels later.

UUL 8th March 2004 14:25

do you use xp? it won't work on win 98 etc

OzObdrOl 8th March 2004 16:31

Yeah i got XP

UUL 8th March 2004 18:00

hmm, strange.. don't know what's wrong then, could you post the skin?

OzObdrOl 8th March 2004 18:03

i would, but i think i got frustrated and deleted it. Cant find it.

OzObdrOl 8th March 2004 18:14

I think the layout tags look like this:

code:

<layout id="normal" background="non-alpha" alphabackground="alpha" droptarget="pldr" desktopalpha="1">
</layout>


Icegod 8th March 2004 18:33

I suppose you did put the with and height in there too.
Did you try removing the desktopaplha tag. It isn't really neccesary if you use the background+alphabackground tags.

OzObdrOl 8th March 2004 18:35

nevermind. Skin deleted, i'll bitch and moan again, when i run into that problem again

hammerhead 8th March 2004 20:18

Make sure that you actually have desktopalpha turned on in your preferences (since winamp by default doesn't.)

OzObdrOl 10th March 2004 03:22

Thanks Hammerhead, my stupidity shines through yet again. But what does "desktopalpha=1" do then? I thought that was the purpose of the damn option. So if I distribute this skin to people who dont have it activated will have a crappy looking skin... great. I'm not gonna make non-desktopalpha pics, screw that.

Anyway... yet another question: Is there a maximum size that a single picture can be? I feel like such an idiot because nothing I want to do will work. I have this code:
code:

<layout id="FlameNet4" droptarget="pldr" desktopalpha="1" w="585" h="41">
<layer id="player.4.base.layer" image="player.4.base.img" x="0" y="0" sysregion="1" />
<group id="player.4.cbuttons.group" x="0" y="0" />
</layout>


The picture's size is exactly that... but winamp cuts it off at width of about 500. Anything wrong with the above code?

OzObdrOl 10th March 2004 03:28

Nevermind previous post. Sorted out. Damn that Studio.xnf file...

hammerhead 10th March 2004 16:57

;)

DeskTopAlpha="1" allows Winamp to use DTA in your layout. I think it's possible to turn desktopalpha on/off in the Winamp prefs from the skin: make a DTA togglebutton and then switch it on with a maki script.

OzObdrOl 11th March 2004 06:53

Well, cant i do a MAKI script that runs on skin load... then in System.OnScriptLoaded() do the DTA thing? But what is the DTA command?

pukkaboy 11th March 2004 08:11

setDesktopAlpha(Boolean onoff);

OzObdrOl 11th March 2004 09:06

Thanks pukkaboy


All times are GMT. The time now is 21:00.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.