Old 27th March 2003, 15:55   #1
soulpatch
Junior Member
 
soulpatch's Avatar
 
Join Date: Mar 2003
Location: Phoenix, AZ
Posts: 42
Send a message via AIM to soulpatch
Question I've got the drawer, now what

I need some help with how to reference things to get them to load in the drawer. such as the eq and thinger. I don't know how to put the containers in there.
soulpatch is offline   Reply With Quote
Old 27th March 2003, 16:15   #2
Digitalhigh
Senior Member
 
Digitalhigh's Avatar
 
Join Date: Aug 2002
Location: hell
Posts: 232
For the EQ, I've attached a file that has all the elements used in a standard EQ. It's just a bunch of sliders and buttons. All you really have to keep the same are the ID's of the items, their actions, and their paramaters. The X, Y, and image stuff can all be changed to suit your needs. For the Thinger. There's only 3 items. They are:

<componentbucket
id="Thinger"
x="45" y="117"
w="80" h="28"
vertical="0"
/>

Which is the actual thinger area, and the two scroll buttons:
(Changing vertical="0" to vertical="1" will make it scroll up/down instead of left/right.)
<button
id="ScrollLeft"
action="CB_NEXT"
x="30" y="101" rectrgn="1"
image="thinger.left"
/>

<button
id="ScrollRight"
action="CB_PREV"
x="79" y="101" rectrgn="1"
image="thinger.right"
/>
Attached Files
File Type: txt eqxml.txt (2.2 KB, 149 views)
Digitalhigh is offline   Reply With Quote
Old 27th March 2003, 17:44   #3
soulpatch
Junior Member
 
soulpatch's Avatar
 
Join Date: Mar 2003
Location: Phoenix, AZ
Posts: 42
Send a message via AIM to soulpatch
thanks for your help. I know how to get elements into the drawer I just don't know how to get it to open it when I for instance press the eq button, how do I get that to triger the drawer
soulpatch is offline   Reply With Quote
Old 27th March 2003, 18:14   #4
Digitalhigh
Senior Member
 
Digitalhigh's Avatar
 
Join Date: Aug 2002
Location: hell
Posts: 232
That would require a MAKI script, one that said something like:

EQbutton.onleftclick() {
if (drawerisopen) {
EQdrawer.settargetx();
EQdrawer.settargety();
EQdrawer.settarget...
EQdrawer.gototarget();
} else {
EQdrawer.settargetx(target2);
...
}
}

There'd be much more code, but that's just an example. If you want it to switch between the EQ and something else, you'd need even more code. Let me know more of what you're trying to do, and I'll help explain it.
Digitalhigh is offline   Reply With Quote
Old 27th March 2003, 18:51   #5
soulpatch
Junior Member
 
soulpatch's Avatar
 
Join Date: Mar 2003
Location: Phoenix, AZ
Posts: 42
Send a message via AIM to soulpatch
I was looking at the linkin park skin and I like the way the eq and the thinger are the same drawer
soulpatch is offline   Reply With Quote
Old 27th March 2003, 19:03   #6
soulpatch
Junior Member
 
soulpatch's Avatar
 
Join Date: Mar 2003
Location: Phoenix, AZ
Posts: 42
Send a message via AIM to soulpatch
another thing maybe you can tell me is how to learn how to script. I.e. a book of code or just a tutorial. I'd like to learn how to do it instead of using other peoples stuff and hacking my way through it.
soulpatch is offline   Reply With Quote
Old 27th March 2003, 19:20   #7
Digitalhigh
Senior Member
 
Digitalhigh's Avatar
 
Join Date: Aug 2002
Location: hell
Posts: 232
That's about the only way to do it. There's the "How to write a MAKI script" thread that should point you to a bunch of tutorials, but I prefer learning from other's examples.

As far as a list of all the different commands available in MAKI, you've already got one on your computer. Go to C:\program files\winamp3\lib\ and open STD.mi. That's your bitch. It tells you what you can access, how you can access them, and how to use them appropriately.

As far as the Linkin' Park skin, I haven't seen it, but I'm guessing that it requires a bit more complexity than just moving a drawer. You've got to use the .hide() and .show() commands for the group that each component is in.
Digitalhigh is offline   Reply With Quote
Reply
Go Back   Winamp & SHOUTcast 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