Go Back   Winamp Forums > Skinning and Design > Modern Skins

Reply
Thread Tools Search this Thread Display Modes
Old 25th November 2001, 06:06   #1
mikekantor
Senior Member
 
mikekantor's Avatar
 
Join Date: Nov 2001
Location: Austin, TX
Posts: 102
Send a message via AIM to mikekantor
What's the deal with togglebuttons?

By my count there should have 6 states in order to represent everything that can happen to the togglebutton.

Does anyone else feel like the togglebutton is lacking?
mikekantor is offline   Reply With Quote
Old 25th November 2001, 07:02   #2
Naamloos
Forum King
 
Naamloos's Avatar
 
Join Date: Mar 2001
Location: irc.tehflap.org/*******
Posts: 3,085
which ones?

Like Enable
Enable pressed
Disable
Disable pressed

and what more?
Naamloos is offline   Reply With Quote
Old 25th November 2001, 07:25   #3
mikekantor
Senior Member
 
mikekantor's Avatar
 
Join Date: Nov 2001
Location: Austin, TX
Posts: 102
Send a message via AIM to mikekantor
enabled
enabled hover
enabled pressed

disabled
disabled hover
disabled pressed
mikekantor is offline   Reply With Quote
Old 25th November 2001, 10:31   #4
Naamloos
Forum King
 
Naamloos's Avatar
 
Join Date: Mar 2001
Location: irc.tehflap.org/*******
Posts: 3,085
Quote:
Originally posted by mikekantor
enabled
enabled hover
enabled pressed

disabled
disabled hover
disabled pressed
of course!!
/me is dumb
Naamloos is offline   Reply With Quote
Old 25th November 2001, 15:36   #5
nIRV
Senior Member
 
Join Date: Dec 2000
Posts: 156
there's no "hover" state in any control (buttons, sliders, etc.) but I think the toggle button needs one more state:

<off>
<off-to-on pressed>
<on>
<on-to-off pressed> <-- that's the one missing

peace
nIRV is offline   Reply With Quote
Old 25th November 2001, 18:35   #6
mikekantor
Senior Member
 
mikekantor's Avatar
 
Join Date: Nov 2001
Location: Austin, TX
Posts: 102
Send a message via AIM to mikekantor
There is a hover if you use scripts:

onEnterArea()
onLeaveArea()

I'm not sure if these apply to buttons, but who says you can't make an animated file that has different states as the frames? Perhaps I will do that with these togglebuttons...
mikekantor is offline   Reply With Quote
Old 25th November 2001, 21:31   #7
mavsman
Senior Member
 
mavsman's Avatar
 
Join Date: May 2001
Location: Suburbia, Ohio
Posts: 123
there is a hover

You can easily make a hover image:

<button
id="Play"
action="PLAY"
x="48" y="345"
image="player.button.play"
downImage="player.button.play.pressed"
hoverImage="player.button.play.hover"
tooltip="Play"
/>
(I realize that this isn't a toggle button, but it still applies)

Easy. In the first version of Francis' tutorial I thought I saw some other states, but I may be mistaken.
mavsman is offline   Reply With Quote
Old 25th November 2001, 22:22   #8
mikekantor
Senior Member
 
mikekantor's Avatar
 
Join Date: Nov 2001
Location: Austin, TX
Posts: 102
Send a message via AIM to mikekantor
but togglebuttons need 2 hover images
mikekantor is offline   Reply With Quote
Old 25th November 2001, 23:24   #9
mavsman
Senior Member
 
mavsman's Avatar
 
Join Date: May 2001
Location: Suburbia, Ohio
Posts: 123
Quote:
but togglebuttons need 2 hover images
I agree, the hoverimage will solve 1/2 your problem. Again, I think I saw some other states mentioned on Francis' old tutorial. I dunno, maybe I'm dense, but I believe that I read about some that were unusual to me. If there are none, I am all for adding 'em.
mavsman is offline   Reply With Quote
Old 26th November 2001, 13:16   #10
Naamloos
Forum King
 
Naamloos's Avatar
 
Join Date: Mar 2001
Location: irc.tehflap.org/*******
Posts: 3,085
I think it's easy to script.... (well there will be some problems)

Just make two buttons (normal buttons) and just hide one when the other is active, make a boolean for the value (0 = off 1 = on, something like that)

Also I dunno if there is a way to check the status of Shuffle, etc...
Naamloos is offline   Reply With Quote
Old 26th November 2001, 14:14   #11
schweitn
Winamp3 Component Guuuru
Beta Team
 
schweitn's Avatar
 
Join Date: Dec 2000
Location: Milwaukee, WI
Posts: 1,068
Send a message via AIM to schweitn Send a message via Yahoo to schweitn
You'll notice a similar issue if you look at Thinger Icons...

There are only 3 states:
- Enabled
- Hover
- Disabled

The hover is the same whether the component is currently enabled or disabled. You could make the same argument that there should be two hover states here as well, one for when the component is enabled and one for when the component is diabled.

Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.
- Albert Einstein

Winamp 3 Projects | Winamp 2x Plugin Manager | Explorer Playlist | FileSystem Object | Shoutcast List | Sashimi
schweitn is offline   Reply With Quote
Old 27th November 2001, 02:09   #12
lunarboy1
Forum King
 
lunarboy1's Avatar
 
Join Date: Dec 2000
Location: Somewhere, USA
Posts: 2,233
yea... scripting will do the trick and there is ways t get the state of a function. I know that Francis was talking about it in some thread.
lunarboy1 is offline   Reply With Quote
Old 19th April 2003, 21:15   #13
dodger758
Senior Member
 
dodger758's Avatar
 
Join Date: Apr 2003
Posts: 402
Send a message via AIM to dodger758
i'm trying to figure out how to make a certain image appear once a button is clicked (eg- picture A before click but after click picture B appears and stays until another click which would bring back picture A). catch my drift? if anyone knows how please help, thanks, later
dodger758 is offline   Reply With Quote
Old 19th April 2003, 22:09   #14
dlinkwit27
has no CT
(Forum King)
 
dlinkwit27's Avatar
 
Join Date: Sep 2000
Posts: 13,232
Send a message via ICQ to dlinkwit27 Send a message via AIM to dlinkwit27 Send a message via Yahoo to dlinkwit27
I thnk hover depends on the type of skin. I don't particulay liek hover unless the skin si small. I hate them on anything metal that is supposed to look semi-realilistic.
dlinkwit27 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