Go Back   Winamp Forums > Skinning and Design > Modern Skins

Reply
Thread Tools Search this Thread Display Modes
Old 10th November 2003, 22:25   #1
Eyedunno
Junior Member
 
Join Date: Nov 2003
Posts: 8
Coding explaination, please.

Just curious here:
I was picking through the Default Player skin, trying to figure it out and I came across this:

Quote:
<!--
Note that you can also use "guid:avs" or "guidl", however, you can also use the
guid for the component itself for toggling parameters. For example.
Media library : guid:{6B0EDF80-C9A5-11d3-9F26-00C04F39FFC6}
Playlist Editor : guid:{45f3f7c1-a6f3-4ee6-a15e-125e92fc3f8d}
-->
I was just wondering if someone could explain this to me, cause it seems important, and I'm just not getting it from this explanation. (It's in the player-normal-group.xml file, if that helps.)

Thanks,
Joshua
Eyedunno is offline   Reply With Quote
Old 11th November 2003, 12:09   #2
SLoB
Major Dude
 
SLoB's Avatar
 
Join Date: Jul 2003
Location: UK
Posts: 1,316
probably something like

button A is a toggle button
on its ON state you could make the ML show
on its OFF state you could make the PL show

and the button would toggle between the 2 depending on the state of the button and the xml replacement guid from the maki script

that right?
SLoB is offline   Reply With Quote
Old 11th November 2003, 12:28   #3
-=RoNtZ=-
Major Dude
 
-=RoNtZ=-'s Avatar
 
Join Date: Feb 2002
Location: Universe > Milkyway > Sol > Earth > Europe > Germany > Bavaria > Near Nuremberg
Posts: 1,346
Send a message via ICQ to -=RoNtZ=- Send a message via AIM to -=RoNtZ=- Send a message via Yahoo to -=RoNtZ=-
what exactly do you mean? these are the actions that toggle the avs,playlist and medialibrary on and off...

Frozen skins: Gravestone Betaskins: Mushroom ::-:: The Claw
In development: TechnodropFinished: Draculas Helmet (<-- still waiting for some color themes!) ::-:: Hal's eye
-=RoNtZ=- is offline   Reply With Quote
Old 11th November 2003, 12:46   #4
SLoB
Major Dude
 
SLoB's Avatar
 
Join Date: Jul 2003
Location: UK
Posts: 1,316
surely its the replacement of xml for the button as in
on state
setXmlParam("cfgattrib", "{45F3F7C1-A6F3-4EE6-A15E-125E92FC3F8D};Shuffle");
off/alternate state
setXmlParam("cfgattrib", "{45F3F7C1-A6F3-4EE6-A15E-125E92FC3F8D};Repeat");

or pass it any other amount of guids depending on an incremental counter say for just the 1 button, so you could use 1 button to cycle through lots of different guids/windows

sort of thing or have i not grasped the point?
SLoB is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Skinning and Design > Modern Skins

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump