Help - Search - Members - Calendar
Full Version: foo looks autohide
Hydrogenaudio Forums > Hosted Forums > foobar2000 > 3rd Party Plugins - (fb2k)
wanked
is it possible to autohide foo looks?
danZ
QUOTE(wanked @ Feb 12 2004, 08:40 PM)
is it possible to autohide foo looks?

Not really sure what you are after when you say "autohide" but I'd expect that their is enough scripting support to do what you want since you can

1. hide the window -- look_hide()
2. move and/or size the window -- look_moveSizeWindow()
tk32
yes, the functions are available to script an auto-hide feature

although nobody has done one yet.

if you feel like a challenge, here are some of the ingredients:

- onmouseenter, onmouseleave
- look_hide()
- frog's blood
- bat's wings
- the Colonel's 'secret recipe'


btw, my advice is not to use movesizewindow , but to change the background sprite to invisible & hide the rest

if you take danZ' advice & resize the window down to 1 pixel high, then you will need to rollover that 1 pixel to get it to show again.
but if you only make the background invisible & hide the rest, you can receive onmouseenter for the size of the entire skin


have fun
danZ
QUOTE(tk32 @ Feb 13 2004, 03:24 PM)
but if you only make the background invisible & hide the rest, you can receive onmouseenter for the size of the entire skin

I'm not sure this is true with the new per pixel alpha blending. You won't get mouseenter events when rolling over any part of the window that has an pixel alpha value of 0.

You might wish to verify.
tk32
QUOTE(danZ @ Feb 13 2004, 04:13 PM)
QUOTE(tk32 @ Feb 13 2004, 03:24 PM)
but if you only make the background invisible & hide the rest, you can receive onmouseenter for the size of the entire skin

I'm not sure this is true with the new per pixel alpha blending. You won't get mouseenter events when rolling over any part of the window that has an pixel alpha value of 0.

You might wish to verify.

good point!

and i thought i was being clever

smile.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.