View Full Version : Buttons
28th February 2003, 20:21
I want my buttons to be bigger then the originals from the standard
skin which i used to make my own skin.
How do i do this.
Im an absolute script noob.:cry:
Changing coordinates of a button That i can do, but there it stops.
Spanx in advance
Kill ya later !!! :p
28th February 2003, 20:50
Okay. A quick lesson. I'm assuming that if you can change the coordinants, you understand the xml files. First, the button's XML:
<button id="PLAY" action="PLAY" x="150" y="100" image="player.play" downimage="player.play.down" />
Image="player.play" is the tag that defines which image it's going to use.
Now, open elements.xml, and look for a tag that says:
<bitmap id="player.play" file="player/play.png" />
you'll also see the tag for player.play.down and all the other images in the skin.
This is where Winamp figures out where to get the images. If you want the button to be bigger, you could go to winamp3\skins\skinname\player\ and open play.png with a GFX editor, resize it or draw a new one or whatever (so that it's bigger), and then save the file. Reload the skin, and the new graphic should be there.
Note: if you're just trying to edit the default.wal, all the images come bundled into a player-elements.png. In that case, you'd have to open the player-elements.png, copy the button graphic you want, save it to a new file and edit it however you want, and then change the tag in elements.xml from
<bitmap id="player.play" file="player/button-elements.png" /> to
<bitmap id="player.play" file="player/newfile.png" />
where newfile is the name of the new button graphic you want to load.
Also, if it is using the button-elements.png file, there may be x="10" y="12" w="12" h="5" or something after the file="" tag. You need to delete that if it's there.
Hope that wasn't too confusing. Ask more if ya need it.
28th February 2003, 22:11
here it is a little more simpler
if u want to enlarge ur file go to ur <button tag and go to the bit where it say x="" y="" and add w="ur number here" h="ur number here". to change the size of ur image just put in what size u want where ive got "ur number here". if u need more help reply ill help u out
1st March 2003, 19:42
Spanx guys this helps a lot.
Il show you my skin when its in a progressive enough state that it
actually looks like something.
Cya and thx again.
1st March 2003, 21:39
Mean something like this?
3rd March 2003, 16:20
i don't think he means something like that...
vBulletin® v3.8.6, Copyright ©2000-2013, Jelsoft Enterprises Ltd.