Old 25th September 2006, 21:52   #1
r4dius
Junior Member
 
r4dius's Avatar
 
Join Date: Mar 2002
Posts: 47
I need people to help coding :'(

Hi,
so I'm havin some issues that need more coding knowledge ^^,
a previous version of the skin here http://r4dius.free.fr/temp/SimpleX_200906.wal
and the actual version here (full of bugs) http://r4dius.free.fr/temp/SimpleX_250906.zip
so in this last version I'm trying to add Wasabi:StandardFrame skining.

bugs / problems I have seen are:
-using Wasabi:StandardFrame I need the window title to be created automaticaly but I can't find how to add the title using :componentname (it works if i don't use the clear container / standardframe.maki) it actually writes ":componenttitle"

-when closing the "Video" window using the close (cross) button (it hides the clear and normal layouts thru standardfram.maki) it needs to enable / disable / enable 'Video' in the right click winamp menu to get the window showing again

-for some reason some windows get visible by themselves when changing skin or opening winamp, for exemple if you open "Video" window and change skin to "some skin" / "my skin" / "some skin" / "my skin", "Media Library" and "Visualization" window get visible ...

-I need all the windows to get the same background alpha value (It can be changed in the options menu, i actually do it thru options.maki where I add each container / layout manually) I'd like to replace this with something like backgroundalpha.onDataChanged() in standardframe.maki so when I change alpha in the options window all the windows using standardframe script are doen automaticaly but I just can't find how to get the ondatachanged thing working :'(

I'd appreciate if someone would like to join and help me

Last edited by r4dius; 25th September 2006 at 22:15.
r4dius is offline   Reply With Quote
Old 29th September 2006, 19:07   #2
martin.deimos
Android/UI Development
 
martin.deimos's Avatar
 
Join Date: Sep 2004
Location: Bavaria
Posts: 1,242
Send a message via ICQ to martin.deimos Send a message via AIM to martin.deimos Send a message via Yahoo to martin.deimos
will give it a try...

WebSite: www.skinconsortium.com - Community for Userinterface Design & Coding
Skins: Click Here
martin.deimos is offline   Reply With Quote
Old 29th September 2006, 19:09   #3
martin.deimos
Android/UI Development
 
martin.deimos's Avatar
 
Join Date: Sep 2004
Location: Bavaria
Posts: 1,242
Send a message via ICQ to martin.deimos Send a message via AIM to martin.deimos Send a message via Yahoo to martin.deimos
for changing the alpha you need a timer!

WebSite: www.skinconsortium.com - Community for Userinterface Design & Coding
Skins: Click Here
martin.deimos is offline   Reply With Quote
Old 29th September 2006, 19:14   #4
r4dius
Junior Member
 
r4dius's Avatar
 
Join Date: Mar 2002
Posts: 47
Hi martin I actually resolved or circumvented most of the problems ^^, btw I found how to use the alpha setting as an attribute and then use a alpha.onDataChanged() so whenever I change alpha i can detect it in other script files, I'll post the new version when it's finished, one strange thing I'm having now is when closing the visualization window sometimes it pops up again (it needs to be closed twice)
r4dius is offline   Reply With Quote
Old 30th September 2006, 09:51   #5
martin.deimos
Android/UI Development
 
martin.deimos's Avatar
 
Join Date: Sep 2004
Location: Bavaria
Posts: 1,242
Send a message via ICQ to martin.deimos Send a message via AIM to martin.deimos Send a message via Yahoo to martin.deimos
kk, good to hear!
i'm really interested in the attribute, cause i havn't found it!
btw, is this the alpha value for one window or the value for all windows (the one for all i know )

WebSite: www.skinconsortium.com - Community for Userinterface Design & Coding
Skins: Click Here
martin.deimos is offline   Reply With Quote
Old 30th September 2006, 13:07   #6
r4dius
Junior Member
 
r4dius's Avatar
 
Join Date: Mar 2002
Posts: 47
here it is http://r4dius.free.fr/temp/SimpleX_300906.wal
the value is used on 2 layers or / and groups on each window
have a look in attribs.m the initAttribs() function (btw I'm not sure if the way I check if an attribute exists is necessary)
I include the attribs.m in the scripts that will need the attribute, options.m for exemple, and add a initAttribs(); in the System.onScriptLoaded()

I need the attribute to get the value of the (alpha) slider
code:
alphaslider.onSetPosition(int pp) {
attrib_backgroundalpha.setData(integertostring(pp));
}



what I want to do when the slider is moved
code:
attrib_backgroundalpha.onDataChanged() {
int a = stringtointeger(getData());

setalpha(playerbackgroundalpha, playerbackgroundbottom, a);
}


r4dius is offline   Reply With Quote
Old 30th September 2006, 17:00   #7
Michgelsen
Major Dude
 
Michgelsen's Avatar
 
Join Date: Oct 2003
Location: Netherlands
Posts: 1,416
Wow wonderful skin!

I found a little bug though. If you use the seeker, but cancel it by pressing the right mouse button while you keep the left one still pressed, the seeking will be cancelled (and the main menu will pop up, which is normal), but "Seek: 0:54/4:10 (21%)" will remain in the display forever. A safety timer that runs one second and then clears the "Seek: ..." would easily fix it.

I'm really digging the seeker/volume with the delay by the way.

I also had an idea. You don't have to use it, but you may of course if you like it. I think it would look good if the length of the song would be placed in the songinfo line and showlen="1" removed from the ticker. Then you have all the "data" about the song in the upper line and more space for the title of the song, which makes it scroll less. Another advantage is that the two lines will be of equal length often. I noticed that almost always the lower line is longer than the upper one, so this "idea" would compensate that.

Keep up the good work.
Michgelsen is offline   Reply With Quote
Old 1st October 2006, 04:19   #8
r4dius
Junior Member
 
r4dius's Avatar
 
Join Date: Mar 2002
Posts: 47
Thanks for letting me know, it was fixed before I add animation but then I changed stuff anf forgot to test it :/, it's should be ok now, I thought about moving the song duration next to the playing time but for some reason I let it like that, I may add an option to choose where it should be or something
r4dius is offline   Reply With Quote
Old 1st October 2006, 20:58   #9
martin.deimos
Android/UI Development
 
martin.deimos's Avatar
 
Join Date: Sep 2004
Location: Bavaria
Posts: 1,242
Send a message via ICQ to martin.deimos Send a message via AIM to martin.deimos Send a message via Yahoo to martin.deimos
Yeah, looks very nice!
is anything left to be done?

cheers

WebSite: www.skinconsortium.com - Community for Userinterface Design & Coding
Skins: Click Here
martin.deimos is offline   Reply With Quote
Old 12th October 2006, 16:22   #10
r4dius
Junior Member
 
r4dius's Avatar
 
Join Date: Mar 2002
Posts: 47
I installed the "wasabi color editor", and when I open it it uses the "station info" container, i tried duplicating this container with another name and without the xuitag="Wasabi:StandardFrame:DL", now if i open either "station info" or "color editor" it opens in the "station info" container, then when I open the second it opens in the new container, i really don't know why ^^

Quote:
<container id="dlibrary" default_visible="0">
<groupdef id="xui" xuitag="Wasabi:StandardFrame:DL" inherit_content="0">
<button id="close" action="CLOSE"/>
<layer x="9" y="22" w="-18" h="-30" relatw="1" relath="1" image="img.displayover" stretch="1" sysregion="1"/>
<script file="scripts/standardframe.maki" param="dlibrary"></script>
</groupdef>

<layout id="normal" desktopalpha="0" default_h="117" default_w="245" minimum_h="117" minimum_w="245">
<group id="xui" x="0" y="0" w="0" h="0" relatw="1" relath="1"/>
<component x="9" y="23" w="-17" h="-32" relatw="1" relath="1" noshowcmdbar="1" autoopen="1" autoclose="1"/>
</layout>
</container>

Last edited by r4dius; 12th October 2006 at 17:12.
r4dius is offline   Reply With Quote
Old 13th October 2006, 00:30   #11
mike-db
Pancakes!
(Major Dude)
 
mike-db's Avatar
 
Join Date: Feb 2005
Location: Colour, if you're, you know...
Posts: 3,523
Send a message via ICQ to mike-db
This is a great skin I think I you just replaced my old fav skin.

SEX APPEAL UP IN HERE!
(╯°□°)╯︵ ┻━┻
mike-db is offline   Reply With Quote
Old 13th October 2006, 00:54   #12
r4dius
Junior Member
 
r4dius's Avatar
 
Join Date: Mar 2002
Posts: 47
Thanks
btw last version is here http://r4dius.free.fr/temp/SimpleX_121006.wal
r4dius is offline   Reply With Quote
Old 13th October 2006, 03:44   #13
QuadHeliX
Major Dude
 
QuadHeliX's Avatar
 
Join Date: Jan 2003
Location: Washington State
Posts: 1,133
great skin, nice maki.. here is a pic of it.
Attached Images
File Type: jpg smpx.jpg (55.3 KB, 225 views)
QuadHeliX is offline   Reply With Quote
Old 13th October 2006, 22:32   #14
PseudoChron
Member
 
PseudoChron's Avatar
 
Join Date: Sep 2006
Posts: 66
Send a message via AIM to PseudoChron
Upon playing a streaming WMA file from an internet radio station, I receive a Guru Meditation "Division by zero" error in seek.maki. It is odd that it only happens for WMA and not MP3; I guess WMA returns zero for getPlayItemLength() if it's streaming? Anyway it can probably be fixed with a simple if statement before the division.
PseudoChron is offline   Reply With Quote
Old 14th October 2006, 01:53   #15
r4dius
Junior Member
 
r4dius's Avatar
 
Join Date: Mar 2002
Posts: 47
Thanks man I would never have noticed that ^^, strange "bug" as you said I added 2 ifs where needed
here's a fixed version (it should be ), before i release the next version http://r4dius.free.fr/temp/SimpleX_141006.zip
r4dius is offline   Reply With Quote
Old 14th October 2006, 11:50   #16
martin.deimos
Android/UI Development
 
martin.deimos's Avatar
 
Join Date: Sep 2004
Location: Bavaria
Posts: 1,242
Send a message via ICQ to martin.deimos Send a message via AIM to martin.deimos Send a message via Yahoo to martin.deimos
cool

WebSite: www.skinconsortium.com - Community for Userinterface Design & Coding
Skins: Click Here
martin.deimos 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