![]() |
#1 |
Junior Member
Join Date: Aug 2010
Posts: 40
|
![]()
Hello.
Ok so I've searched the forum and couldn't find a thread mentioning exactly how to add custom buttons to playlist window. So I copied some of the pledit.xml from the modern skin to see how it goes. Apparently I'm still sitting with wasabi buttons in my playlist. What's the secret code to put custom buttons in to playlist & video windows? Gonna put my xml here, maybe it helps to figure it out: code: |
![]() |
![]() |
![]() |
#2 |
Member
Join Date: Dec 2005
Posts: 99
|
Make sure your element tags match existing graphics...
Maybe this will help: code: |
![]() |
![]() |
![]() |
#3 |
Junior Member
Join Date: Aug 2010
Posts: 40
|
Both PL and Video didn't work..
![]() |
![]() |
![]() |
![]() |
#4 |
Member
Join Date: Dec 2005
Posts: 99
|
|
![]() |
![]() |
![]() |
#5 |
Junior Member
Join Date: Aug 2010
Posts: 40
|
Ok , here's my elements file:
|
![]() |
![]() |
![]() |
#6 |
Member
Join Date: Dec 2005
Posts: 99
|
wow that's a huge elements file..best thing is for you to look at my skin MIDISUI and see how I did it...it should be very straightforward.
http://www.winamp.com/skin/midisui/222421 just make sure you have your elements defined making reference to your .png (button) files...did you make your own buttons yet? (just glancing at your file I don't see any of your own buttons in there...) |
![]() |
![]() |
![]() |
#7 |
Junior Member
Join Date: Aug 2010
Posts: 40
|
Oh yeah I have them all done, I'll be lookin into your skin and see if that goes..
|
![]() |
![]() |
![]() |
#8 |
Junior Member
Join Date: Aug 2010
Posts: 40
|
Still no luck... here's the whole thing
|
![]() |
![]() |
![]() |
#9 |
Member
Join Date: Dec 2005
Posts: 99
|
Here's the code you need (sorry I had to look for it):
code: Thats the playlist, here's the avs and vid windows: code: Essentially, you just make a basic container and add the <windowholder> tag to include the component, then throw your custom buttons on top of that. Hope this helps, let me know if you get it. |
![]() |
![]() |
![]() |
#10 |
Junior Member
Join Date: Aug 2010
Posts: 40
|
Tried the one with the container, still nothing(I used bigger button tags than here). This PL buttons thing is getting on my nerves !
code: |
![]() |
![]() |
![]() |
#11 |
Member
Join Date: Dec 2005
Posts: 99
|
You don't have any background image so there's nothing for your elements to sit on.
A great example of this is the new S7Reflex skin. He used this method on his components. His code is easy to read...you'll use relatw="1" relath="1" to get resizing. Much easier is to use wasabi buttons and just change the window-elements.png file, if you can't get this working. |
![]() |
![]() |
![]() |
#12 |
Junior Member
Join Date: Aug 2010
Posts: 40
|
Today I tried all sorts of ways to make the buttons to work by looking at the S7Reflex - no luck. Gonna have to halt this one...
|
![]() |
![]() |
![]() |
#13 |
Junior Member
Join Date: Aug 2010
Posts: 40
|
btw wasabi buttons won't look good at all in playlist, they do however in ML because they are in the LCD area..
|
![]() |
![]() |
![]() |
#14 | |
Member
Join Date: Dec 2005
Posts: 99
|
Quote:
What exactly is happening? Do you even see the buttons? Or do they just not function? I still think it may just be an elements incongruency... |
|
![]() |
![]() |
![]() |
#15 |
Junior Member
Join Date: Aug 2010
Posts: 40
|
What happens is that I see the default buttons and no custom ones..
|
![]() |
![]() |
![]() |
#16 |
Junior Member
Join Date: Aug 2010
Posts: 40
|
You can check my skin file to see what's going on there..
|
![]() |
![]() |
![]() |
#17 |
Member
Join Date: Dec 2005
Posts: 99
|
Looks like you have your groups and layout defined, but I didn't see any container holding your code. Did you add:
code: where pledit-normal.xml would be the file containing your layout and windowholder. |
![]() |
![]() |
![]() |
#18 |
Member
Join Date: Dec 2005
Posts: 99
|
One more thing I notice you have your group defined:
code: but this group isn't anywhere in your skin. Needs to be in your PL container/layout. |
![]() |
![]() |
![]() |
#19 |
Junior Member
Join Date: Aug 2010
Posts: 40
|
Oh yeah I tried putting them into container tags:
code: |
![]() |
![]() |
![]() |
#20 |
Member
Join Date: Dec 2005
Posts: 99
|
Hey how is your skin coming along?
I just finished my new skin, I did what you are asking about. I skinned all the component windows, but left the video window with standardframe buttons. Have a look at my code, I think it's quite easy to understand. Remember, I made my component windows with no'width' border (w="0" relatw="1"), but if your frame has sides (left and right) you'll need to include those coordinates. Hope you got it working...I attached my finished skin. I left in all my .m files so you can look at those too. |
![]() |
![]() |
![]() |
#21 |
Junior Member
Join Date: Aug 2010
Posts: 40
|
Hi, It's funny because I was so pissed about the playlist buttons that I started to make a new project
![]() You skin looks nicee, though I would have made it more variating.. But then again it's called simpleskin ,right? I you don't mind I'll take a look into your skin for the pl-button code By the way you shoud double check your skin because the playlist window snaps at about ~190px far of right.. |
![]() |
![]() |
![]() |
#22 |
Junior Member
Join Date: Aug 2010
Posts: 40
|
That said, I'm planning of going back to the Digital project, rewrite all the xml, add the PL buttons, maybe Video too and I still have to make the mini mode..
|
![]() |
![]() |
![]() |
#23 |
Junior Member
Join Date: Aug 2010
Posts: 40
|
That said, I'm planning of going back to the Digital project, rewrite all the xml, add the PL buttons, maybe Video too and I still have to make the mini mode..
|
![]() |
![]() |
![]() |
#24 |
Junior Member
Join Date: Aug 2010
Posts: 40
|
If only I could delete my posts....
|
![]() |
![]() |
![]() |
|
Tags |
buttons, custom, playlist, window |
Thread Tools | Search this Thread |
Display Modes | |
|
|