Skip to main content

Topic: foo_uie_powerpanels (Read 210533 times) previous topic - next topic

0 Members and 1 Guest are viewing this topic.
  • borgusiek
  • [*]
foo_uie_powerpanels
PowerPanels for Foobar2000 v0.9+

PowerPanels consists of a two panels designed for Panels UI: seek panel & volume panel.

These are transparent panels which you can put in other panels
over your custom drawn progress and/or volume bar
and change playback position and volume by simply clicking on them
instead of using default seek and volume toolbars.

I have prepared brief description how to use it so I won't be duplicating it here.

More info and download at: http://borgusiek.neostrada.pl/foobar

  • jclim00
  • [*][*][*]
foo_uie_powerpanels
Reply #1
Very cool!

  • Kiteroa
  • [*][*][*][*]
foo_uie_powerpanels
Reply #2
Thanks - works well; does a great job!

  • FofR
  • [*][*][*][*]
foo_uie_powerpanels
Reply #3
Works like a charm, very nice

  • carmenm
  • [*][*][*][*][*]
foo_uie_powerpanels
Reply #4
This plugin is really good but i have one problem and one feature request.
problem : We only have a way (with panelsUi) to redraw on a per second base, so this is not really enough to use with a seekbar or volumebar, especially if you manage to implement this feature request:
The ability to "drag" the cursor on the seekbar, i mean keep mouse clicked and move on the panel.

EDIT : forget what i said about the redraw problem. Seems to work perfectly in track display. Just the feature request matters now 

Huge component
  • Last Edit: 05 August, 2007, 01:31:29 PM by carmenm

  • cristox
  • [*][*]
foo_uie_powerpanels
Reply #5
This makes it perfect now!

foo_uie_powerpanels
Reply #6


really thank you Borqusiek^^

great component
  • Last Edit: 05 August, 2007, 09:19:23 PM by YounhaLOV

  • Nickoladze
  • [*][*][*]
foo_uie_powerpanels
Reply #7
Very cool

  • store88
  • [*]
foo_uie_powerpanels
Reply #8
@borgusiek Can you make the plugins work without panelUI

just with columnUI

  • carmenm
  • [*][*][*][*][*]
foo_uie_powerpanels
Reply #9
@borgusiek Can you make the plugins work without panelUI

just with columnUI

I dont see how this would be possible, You would just have a blank panel... No way to put an image under it.

  • The Judge
  • [*][*][*]
foo_uie_powerpanels
Reply #10
Haven't given this a try yet but this was the last thing I needed to perfect my config. Hope it's more stable than WSH panel . Will report back in a bit.

EDIT: I love you. Lol. It works like a phatty
  • Last Edit: 07 August, 2007, 11:33:04 AM by The Judge

  • BLaZor
  • [*]
foo_uie_powerpanels
Reply #11
can you use images too just like using js in wsh panels?

  • carmenm
  • [*][*][*][*][*]
foo_uie_powerpanels
Reply #12
can you use images too just like using js in wsh panels?

Yes you can use image, but it wont be this plugins which will display them. You need to understand how powerpanels work. I just create a transparent clickable seekbar. You have to draw(with panelsUI) the images that will appear in coordination with the seekbar position.(depending on the volume or position in the track)

  • BLaZor
  • [*]
foo_uie_powerpanels
Reply #13

can you use images too just like using js in wsh panels?

Yes you can use image, but it wont be this plugins which will display them. You need to understand how powerpanels work. I just create a transparent clickable seekbar. You have to draw(with panelsUI) the images that will appear in coordination with the seekbar position.(depending on the volume or position in the track)


got an example?

"$panel(SeekPanel,Seek Panel,xpos,ypos,width,height,)" works but not too sure how the images would work.

  • Taish
  • [*]
foo_uie_powerpanels
Reply #14
Thanks works great

  • The Judge
  • [*][*][*]
foo_uie_powerpanels
Reply #15
can you use images too just like using js in wsh panels?
Yes you can use image, but it wont be this plugins which will display them. You need to understand how powerpanels work. I just create a transparent clickable seekbar. You have to draw(with panelsUI) the images that will appear in coordination with the seekbar position.(depending on the volume or position in the track)

got an example?

"$panel(SeekPanel,Seek Panel,xpos,ypos,width,height,)" works but not too sure how the images would work.


You'd have to have an imageabs in your PerSecond section of your PUI

Something like:
Code: [Select]
$imageabs2($sub($muldiv($sub(%_width%,24),%playback_time_seconds%,%length_seconds%),2),9,,,,,25,,/images\test4.png,NOKEEPASPECT)


That would 'stretch' the image across the whole seekbar as it were.

If you want a 'button' as it were you'd just put the relevant %playback_time_seconds% code in the Xpos part of the imageabs function.
  • Last Edit: 07 August, 2007, 11:58:52 AM by The Judge

  • BLaZor
  • [*]
foo_uie_powerpanels
Reply #16
Nice, although instead of streching an image, could I add it to the end like in this pic: http://img368.imageshack.us/my.php?image=legendpr8.png

say I have start.gif which is "(", middle which is "." and end which is ")"
"(" would be fixed whilst "." stretches and ")" comes at the end?

  • borgusiek
  • [*]
foo_uie_powerpanels
Reply #17
Glad you like the panels, for me that was the missing part to make foobar (almost) perfect

I think the nice addition would be the ability to use mouse wheel to change volume when cursor is over the volume panel, however I can't make it work, the panel simply doesn't get mouse wheel messages 

I'm sorry, the column ui version which draws something in the panel has never been seriously considered...
The idea is like that: you draw whatever, however and wherever you want and cover it with the panel which makes that thing alive

  • BelleAndZEK
  • [*][*]
foo_uie_powerpanels
Reply #18
been waiting for this for so long. I didn't try it yet. I'll do it later tonight, but thanks in advance. It was about time someone does it. Thanks again!

edit: it works like a charm! thanks x1000
  • Last Edit: 08 August, 2007, 07:45:40 PM by BelleAndZEK

  • cristox
  • [*][*]
foo_uie_powerpanels
Reply #19
It does not work well with Panels UI 0.14.12 beta.
For example it makes trouble with %_trackinfo_notrack%.

  • Faveris
  • [*]
foo_uie_powerpanels
Reply #20
It is the plugin i was waiting  Thanks! But I have a one problem with it: I can't reach maximum volume using Volume Panel. Width of the panel doesn't matters, I can set only 99% volume with a maximum width of the panel.

  • radecke
  • [*][*]
foo_uie_powerpanels
Reply #21
thanks for this great plugin. now i finally have a good looking clickable seek bar
--> neugablonz.de ;)

  • Keikonium
  • [*][*][*][*][*]
foo_uie_powerpanels
Reply #22
Would I beable to get some code for a seekbar please? The code I am using now is screwed up:

Code: [Select]
//==========
// PerSecond
//==========
//IMAGE CODE FOR MY SEEK PANEL
$puts(seeksize,320)
$puts(seekX,320)
$puts(seekY,22)
$puts(SEEKdir,'C:\Program Files\foobar2000\FoOrby\buttons\powerpanels\seekbar')
$imageabs2($get(seeksize),13,,,,,$get(seekX),$get(seekY),$get(SEEKdir)\seek_back.png,nokeepaspect)
$ifgreater(%playback_time_seconds%,0,
$imageabs2($get(seeksize),13,,,%playback_time_seconds%,,$get(seekX),$get(seekY),
$get(SEEKdir)\seek_fore.png,nokeepaspect),)
//---------------------------------------------

//==========
// PerTrack
//==========
$panel(SeekPANEL,Seek Panel,$get(seekX),$get(seekY),$get(seeksize),20,)


Can someone help me make this work?
  • Last Edit: 21 August, 2007, 05:31:16 PM by Keikonium
Song List: keikoniumboards.ke.funpic.org/files/songlist.html

  • Keikonium
  • [*][*][*][*][*]
foo_uie_powerpanels
Reply #23
Anyone willing to help? If I can get some working code, I can mod it to my needs .
Song List: keikoniumboards.ke.funpic.org/files/songlist.html

foo_uie_powerpanels
Reply #24
Anyone willing to help? If I can get some working code, I can mod it to my needs .


So I give you some 
Hope I got it right out of my code:
In Panel ui settings:
Quote
$panel(CustomizableSeekbar,Track Display,700,90,310,20,)
$panel(SeekPanel,Seek Panel,700,90,310,20,)

Track Display contains:

Quote
// PerSecond
$drawrect(2,3,$sub(%_width%,4),8,brushcolor-0-0-0 pencolor-197-197-197)
$if(%isplaying%,
$puts(progress,$muldiv(%playback_time_seconds%,$sub(%_width%,8),%length_seconds%))
$ifgreater($get(progress),0,$padding(1,3)$drawrect(3,2,$get(progress),4,brushcolor-226-215-26 pencolor-nulll),))


This looks like this (the seekbar right on top):



Basically you have a track Display which only shows the seekbar. Then create a seekpanel which overlays the actual seekbarbar shower Track Diplay. To this is easier when you must give the right position of the invisible seekpanel.
  • Last Edit: 24 August, 2007, 05:37:15 AM by Spirit_of_the_ocean