Old 9th August 2010, 23:20   #1
shinizzle
Junior Member
 
Join Date: Aug 2010
Posts: 2
Transparent skin -> drawer problem

hi community
i just registered here to ask if you maybe have a solution for my problem...
I want to create a transparent skin and i also want to include a drawer. but the drawer can be seen through the main window

drawer closed


drawer open


is there a possibility to really hide the drawer while hidden?
im not really a pro in skinning so a tutorial would be nice

thanks in advance :P
shinizzle is offline   Reply With Quote
Old 10th August 2010, 21:33   #2
pjn123
Major Dude
 
pjn123's Avatar
 
Join Date: Jan 2006
Location: /\/¯¯¯¯¯\/\ , South-Africa
Posts: 1,030
Put the top half in the main layout (as it is atm)
Then put the drawer in a group that starts its y pos just above the end of the player. Then the drawer will never show under the main skin part.

Something like this:

<Layout>
//skin part
<group id="abc" x="0" y="50" w="0" h="30" relatw="1"/>
</layout>

<groupdef id="abc">
<group id="mydrawer" />
</groupdef>

<groupdef id="mydrawer">
//button code
</groupdef>


Hope this makes sense

ClassicPro© v2.01 : This plugin allows you to use cPro skins in Winamp. ClassicPro skins are all SUI skins and loads very quickly. ClassicPro skins is even easier to skin than Winamp Classic skins. A new layout have been added since version 2.
Download ClassicPro© ==== cPro Skins ==== ClassicPro© Homepage ==== SC Forums
pjn123 is offline   Reply With Quote
Old 10th August 2010, 22:13   #3
shinizzle
Junior Member
 
Join Date: Aug 2010
Posts: 2
hmm i think i know what you mean but i cant figure it out can you explain it a little bit more? or would it help you if i load up my current settings?
shinizzle is offline   Reply With Quote
Old 17th August 2010, 17:53   #4
midiwriter
Member
 
midiwriter's Avatar
 
Join Date: Dec 2005
Posts: 99
I think he means to start the y-coordinate of your drawer where the y-coordinate of the main window stops...something like:

<groupdef id="maingroup" w="385" h="432" >
<layer id="mainbg" x="0" y="0" image="player.background" w="385" h="432" sysregion="1" />

then you would set your drawer's y axis at 431 in my example. You would be sure to define a larger height for your main window to keep the lower part of the drawer from being cut off, probably the sum of the main and drawer in pixels. In my example it would be 432+(drawer height). Hope this helps.
midiwriter is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Skinning and Design > Modern Skins

Tags
drawer, transparent

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