|
|
#441 |
|
Member
Join Date: Aug 2002
Location: Somewhere
Posts: 70
|
A lot of people here will be glad to help you |(me included) and I belive plague as well.
|
|
|
|
|
|
#442 |
|
f(caffeine){
return wasabi; } (Forum King) Join Date: Jul 2001
Location: Sweden
Posts: 3,962
|
sure..
If you can't get it to work properly, just post the code here and we'll have a look at it. -Plague Winique work-in-progress (download) | Stargate:Winamp - SG1 Edition | D-Reliction | wasabi.player skin Opal Redemption | X-Slant | wa2skin.wac | Wasabi Wiki | WASD | /j #wasabi | Breed 011101110110000101110011011000010110001001101001 |
|
|
|
|
|
#443 |
|
Senior Member
|
alright, i had guests all weekend, they just left this morning, so i worked on that for like 2 minutes and got it and it works. i'm wondering why it only offsets like that sometimes though.
|
|
|
|
|
|
#444 |
|
Junior Member
Join Date: Oct 2003
Posts: 19
|
Sorry thought I would pop in and see what you guys thought of an idea that I had this afternoon. Already stared on it but I thought I would see the reaction to it.
A sleep countdown knob with the actual amount in the countdown labeled on top of the knob itself, taking up as little space as possible. Maybe slowly rotating itself down as it counts. What do you guys think? If you need it I can draw up a visual aid
|
|
|
|
|
|
#445 |
|
Major Dude
Join Date: Nov 2002
Location: Hamburg, Germany
Posts: 1,312
|
Not a bad idea. As i understood you wanna havea knob, you give the countdown. For exapmle you wanna 5 mins and the knobs rotates in this 5 min? right? good idea but what for?
it is easy to do, you can try rotate layer function in maki to do it. Think bout it :P
my skins: Nokia 3650, Spiderman Freeform, M3 (Manual), Simpsons Freeform(Idea, Coding), Freeamp Metaskins: WooHoo-FER , Ar-7 |
|
|
|
|
|
#446 |
|
Junior Member
Join Date: Oct 2003
Posts: 19
|
I know "how" to do it. I was just wondering if anyone would be interested in the finished product.
[Edit]Finished the actual sleep script, working on mapping the knob and making a decent graphic for it[/Edit] Last edited by Agnomen; 22nd October 2003 at 23:22. |
|
|
|
|
|
#447 |
|
Junior Member
Join Date: Oct 2003
Posts: 19
|
Thought of something else that I would love to add to one of my upcoming skins.
Does anyone here know how I could wrap the songticker around something. Maybe through regions? I haven't had much experience with them though. Don't know even if it would work. I want it to be in a circular shape so that I could overlay it onto one of my volume and seekerbar combos. |
|
|
|
|
|
#448 |
|
Major Dude
Join Date: Nov 2002
Location: Hamburg, Germany
Posts: 1,312
|
NO! no chance. You can´t change the songticker. I would like to take a look at that sleep script with anim. Should be cool. I am writing something for the coders. It is an app wich is only started. I am doing it with VC++. Would be cool if someone could help me a little bit with. I am not such a good in c++.
my skins: Nokia 3650, Spiderman Freeform, M3 (Manual), Simpsons Freeform(Idea, Coding), Freeamp Metaskins: WooHoo-FER , Ar-7 |
|
|
|
|
|
#449 | |
|
The Shark
(Forum King) |
Quote:
|
|
|
|
|
|
|
#450 |
|
Junior Member
Join Date: Oct 2003
Posts: 19
|
Hmm have to look into it... I can see how it would be difficult but I don't think that it would be impossible. I'll PM him and see how far he got.
@CarlosP I am working on the image's and maps now. It is coming along nicely, should have it done by the end of this coming week. Been very busy with other stuff... |
|
|
|
|
|
#451 |
|
The Shark
(Forum King) |
I haven't seen him around here recently, try contacting him through his site:
http://frisbeemonkey.com -hh |
|
|
|
|
|
#452 |
|
Junior Member
Join Date: Oct 2003
Posts: 19
|
I sent a PM, if I don't get a response in a while I will email him.
BTW, When setting buttons is it possible to put a variable in the tags? Such as: code: Is there a specific tag that is used for this so that winamp ignores it or is anything good? |
|
|
|
|
|
#454 |
|
Major Dude
Join Date: Jul 2003
Location: UK
Posts: 1,316
|
erm if your only getting true/false for a button set it to a toggle button?
|
|
|
|
|
|
#455 |
|
Junior Member
Join Date: Oct 2003
Posts: 19
|
I am not using this literally, I just wanted to find out if it could be done. I am building a Maki filled skin and needed to know a few things about grabbing and setting variables. Such as to use them to communicate to other scripts in the skin directly.
|
|
|
|
|
|
#456 |
|
Member
Join Date: Aug 2002
Location: Somewhere
Posts: 70
|
I found the perefernces to be a very good way for that
|
|
|
|
|
|
#457 |
|
Junior Member
Join Date: Oct 2003
Posts: 19
|
Sorry about the wait for the Sleep/knob script. I still don't have it ready yet. Still working on the basics. I just had to rebuild our PC. New hard-drive and motherboard. I haven't had any time to work on any scripts for a while. Hang in there, I'll get it done eventually.
|
|
|
|
|
|
#458 |
|
Junior Member
Join Date: Nov 2003
Location: Star Base IV
Posts: 15
|
Trying to use "AutoRepeat Seek Buttons" by "Digitalhigh" as found at http://frisbeemonkey.com/winamp3/references/maki.php
I must be missing something in my XML because this script just wont work for me. Here is what I have: <groupdef id="player.Seek"> <button id="previous" action="" image="btn.prev" x="0" y="0" w="46" h="21" tooltip="Rewind" /> <button id="next" action="" image="btn.next" x="52" y="0" w="46" h="21" tooltip="Fast Forward"/> <script id="seekbuttons" file="scripts/seekbuttons.maki"/> </groupdef> Then: <!-- Main Window: Container and Layout --> <container id="main" name="Main Window" default_x="0" default_y="0" default_visible="1"> <!-- First Layout --> <layout id="normal" background="player.main.background" droptarget="pldr"> <!-- Using Playback Buttons Group --> <group id="player.normal"... ... <group id="player.Seek" x="422" y="330"/> </layout> </container> Can some one show me what I am doing wrong? |
|
|
|
|
|
#459 |
|
Major Dude
Join Date: Jul 2003
Location: UK
Posts: 1,316
|
your best bet is to post up your wal so it can be looked at to see what youve got & what you havnt got
![]() ive got the arbutton script working in my beta ufo skin for both volume & seek |
|
|
|
|
|
#460 |
|
Junior Member
Join Date: Nov 2003
Location: Star Base IV
Posts: 15
|
Here is the zip file.
|
|
|
|
|
|
#461 |
|
Junior Member
Join Date: Nov 2003
Location: Star Base IV
Posts: 15
|
OK the file is too big. But let me try this again with the .wal file. (I just figured how to make .wal files from frisbeemonkey's web page)
My background .png file is too big to upload, so unfortunatly I have not included it in the .wal file. |
|
|
|
|
|
#462 |
|
Major Dude
Join Date: Jul 2003
Location: UK
Posts: 1,316
|
erm if your bg image is too big what are you actually doing with it? heheh
right after putting in a dummy background, you are referencing the arbutton maki for your volume but you have no maki file for it. other than that the seek buttons work after repositioning them on the dummy background. some strange naming conventions on some of the folders etc ![]() cba do go into the code on the seek buttons too much but it looks like youve managed to get it working ok. altho youve not really accomplished much tbh cos the original arb script is a generic button script meaning its easily added to any button whereas your script is specific to the seek, in that case youll need to add another script for the volume. I suppose if you wanted to learn the maki then its of some use
Last edited by SLoB; 8th November 2003 at 10:49. |
|
|
|
|
|
#463 |
|
Junior Member
Join Date: Nov 2003
Location: Star Base IV
Posts: 15
|
Thanks SLoB
I guess my problem was that I had placed the buttons off the skin (ops). I have found a script for adjusting fade with a nob, but has any one made a fade adjuster that is just Left and Right buttons? |
|
|
|
|
|
#464 |
|
Major Dude
Join Date: Jul 2003
Location: UK
Posts: 1,316
|
thers a few skins out there that have buttons for fade
![]() check a few out ![]() ya might pickup other ideas somewhere
|
|
|
|
|
|
#465 |
|
Junior Member
Join Date: Nov 2003
Location: Star Base IV
Posts: 15
|
What am I doing wrong
I used (hacked up) the balance function from Side Amp (coded by MC^^^^). Can some one take a look to see what I am duing wrong. The maki that is used for balance is "balance.maki". The XML that calles the script is "UCDmain.xml".
PS sorry the reselution is so crapy, but had to get the file size down. |
|
|
|
|
|
#466 |
|
Junior Member
Join Date: Nov 2003
Location: Star Base IV
Posts: 15
|
Balance Buttons Script
OK OK
I got this going on my own. Here it is if anyone else would like to use balance (Fade Left-Right) butons. |
|
|
|
|
|
#467 |
|
Banned
Join Date: Nov 2003
Location: Refrigerator
Posts: 134
|
Chill
It's cool. |
|
|
|
|
|
#469 |
|
Major Dude
Join Date: Jul 2003
Location: UK
Posts: 1,316
|
dunno but it does sound cool
lol
|
|
|
|
|
|
#470 |
|
Junior Member
Join Date: Nov 2003
Location: Star Base IV
Posts: 15
|
Back on topic, I need a script to adjust the Opacity with a button. If any one has this, please post. If not, I think I will try to do this myself. Hammerhead posted a script to adjust a layer's opacity with a slider. I may try to modify that script. If any one with more skill than me (any skill would qualify) would like to do this, that would be exellent.
here it is see if that link works. |
|
|
|
|
|
#471 |
|
Major Dude
Join Date: Jul 2003
Location: UK
Posts: 1,316
|
control menu button has scale & opacity, time to get that manual out
|
|
|
|
|
|
#472 |
|
Junior Member
Join Date: Nov 2003
Location: Star Base IV
Posts: 15
|
I am looking for a autorepeating, seek type, Opacity button pair.
|
|
|
|
|
|
#473 |
|
Major Dude
|
it looks like you know how to read a script, so i wont explain it uness you need me to:
code: Published: OvalAmp | Scythe | Simple Amp(code) | PAD(code) | Classix10k | LayerONE (code) WIP: Aeschere | Manta | Winamp 5 SingleGUI Need some help? How to write a MAKI script | Custom Vis Script | Add a Notifier to Your Skin |
|
|
|
|
|
#474 |
|
Junior Member
Join Date: Nov 2003
Location: Star Base IV
Posts: 15
|
Thanks a lot "iPlayTheSpoons"!! I will try that out at lunch today.
|
|
|
|
|
|
#475 |
|
Junior Member
Join Date: Nov 2003
Location: Star Base IV
Posts: 15
|
By modifying your code to look like this, I got the script to modify the Opacity of an object. Does anyone know of a way to adjust the Opacity of the entire skin (i.e. container)? There does not seem to be the required commands in maki. I guess I could adjust the Opacity of each object, but that would require a large repetitive script.
EDIT: Would it be possible to use the "componentBucket" class to adjust all objects? //----------------------------------------------------------------------------- // opacbybutton.m // // adjust the opacity of an object using auto-repeat buttons // // // by iPlayTheSpoons // //----------------------------------------------------------------------------- // #include "../../../lib/std.mi" Global Container MainContainer; Global Layout NormalLayout; Global Button opacUp, opacDown; Global Timer opacButtonTimer; Global Int UpButtonIsDown, DownButtonIsDown, CurOpac; Global GUIObject Dummy; Global Group ButtonGroup; System.onScriptUnloading() { delete opacButtonTimer; setPrivateInt("UCDamp","Opac",CurOpac); } System.onScriptLoaded() { ButtonGroup = getScriptGroup(); Dummy = ButtonGroup.getObject("bal_right"); opacUp = ButtonGroup.getObject("Alpha_Up"); opacDown = ButtonGroup.getObject("Alph_Down"); opacButtonTimer = new Timer; opacButtonTimer.setDelay(6); CurOpac = getPrivateInt("UCDamp","Opac",255); opacUp.setAlpha(CurOpac); } |
|
|
|
|
|
#476 |
|
Major Dude
|
componentbucket is the thinger. i dont know about the opacity changing for a container. maybe wait for the official wa5 release and see if there are new maki functions for that
Published: OvalAmp | Scythe | Simple Amp(code) | PAD(code) | Classix10k | LayerONE (code) WIP: Aeschere | Manta | Winamp 5 SingleGUI Need some help? How to write a MAKI script | Custom Vis Script | Add a Notifier to Your Skin |
|
|
|
|
|
#477 |
|
Major Dude
Join Date: Jul 2003
Location: UK
Posts: 1,316
|
you should be able to use the layout with Opacity
//temp and untested and you will need to modify a little i.e. Function ChangeOpacity(String sDirection); MainContainer = system.getContainer("main"); NormalLayout = MainContainer.getLayout("normal"); Global Int iOpacity; iOpacity=255; ChangeOpacity(String sDirection){ if (sDirection =="UP" && iOpacity <256){ //temp and untested, may b better to increment from the button press and call function with value? iOpacity = iOpacity + 1 NormalLayout.setAlpha(iOpacity); } if (sDirection =="DOWN" && iOpacity >-1){ //temp and untested, may b better to increment from the button press and call function with value? iOpacity = iOpacity - 1 NormalLayout.setAlpha(iOpacity); } } something like that may be worth trying
|
|
|
|
|
|
#478 |
|
Junior Member
Join Date: Nov 2003
Location: Star Base IV
Posts: 15
|
Here is what I have. I do not get any errors, or anything, but nothing happens when I use the buttons. What am I doing wrong here?
//___________________________________________________ #include "../../../lib/std.mi" Global Int iOpacity; Global Container MainContainer; Global Layout NormalLayout; Global Group ButtonGroup; Global Button opacUp, opacDown; System.onScriptLoaded() { MainContainer = system.getContainer("main"); NormalLayout = MainContainer.getLayout("normal"); iOpacity=255; ButtonGroup = NormalLayout.getObject("player.normal.Alpha"); opacUp = ButtonGroup.getObject("Alpha_Up"); opacDown = ButtonGroup.getObject("Alph_Down"); } opacUp.onleftbuttondown(int x, int y){ if (iOpacity <256){ iOpacity = iOpacity + 10; NormalLayout.setAlpha(iOpacity); } } opacDown.onleftbuttondown(int x, int y){ if (iOpacity >0){ iOpacity = iOpacity - 10; NormalLayout.setAlpha(iOpacity); } } |
|
|
|
|
|
#479 |
|
Major Dude
Join Date: Jul 2003
Location: UK
Posts: 1,316
|
been mucking about for the last 20 mins, not sure if its possible, i thought it was considering thers the alpha setting for menu and then thers the opacity button
ive managed to fade a button from a group but not a layout or a whole group as of yet thru the use of the guiobject any1 else have any ideas/workarounds? |
|
|
|
|
|
#480 |
|
Junior Member
Join Date: Nov 2003
Location: Star Base IV
Posts: 15
|
Same situation. I can get objects to fade, but not entire groups or layouts etc. It should be possible to fade every object induvidualy, but that would be a pain in the as.
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|