Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: foo_ui_panels (Read 1318347 times) previous topic - next topic
0 Members and 24 Guests are viewing this topic.

foo_ui_panels

Reply #2500
thanks but I cant seem to get it to work with my config.

foo_ui_panels

Reply #2501
is the VALIGN option for the imageabs2() function broken in panels 0.14.12?

foo_ui_panels

Reply #2502
I haven't posted here in a long time, and my oh my how much has changed.  I really hope that terrestrial's project isn't dead here, as the latest beta is really very good.  I'm only up to page 78 in this thread (got a lot of catching up to do), but I've searched through about the $calcwidth() problem, and didn't find a solution.  So here's what I managed to figure out -

$calcwidth() is based on a 12 point font for letters, and an 11 point font for numbers, as near as I can tell.  It seems to ignore $font() statements altogether, so I really have no idea what font it is basing this on.  But I'm using Calibri in my setup, and it's spot on.  I tested it with %album% and %date% and those numbers seem to work out.

In order to scale this correctly for your size font, do -

for letters in a 14 point font for example -
$eval(14*$calcwidth(string)/12)

for numbers in a 14 point font -
$eval(14*$calcwidth(numbers)/11)

This is pretty close to exact in my testing, even for very long titles.  Hope it helps someone else out too!

foo_ui_panels

Reply #2503
$calcwidth() is based on a 12 point font for letters, and an 11 point font for numbers, as near as I can tell.  It seems to ignore $font() statements altogether, so I really have no idea what font it is basing this on.


I put every $font(...) in an extra $puts(fontX,$font(...))

When i use $calcwidth($get(fontX) %somedata%) it calculates the width all well.


foo_ui_panels

Reply #2505
That's a shame. Version 13.9 is very stable. (the one linked to in the first post)

It's the last beta version (0.14.12) that could be really problematic.
Heck, even the 0.14.9 "beta" version I recommend with my config is stable.

Maybe the Problematic Components list should be amended with this note.
elevatorladylevitateme

foo_ui_panels

Reply #2506
I put every $font(...) in an extra $puts(fontX,$font(...))

When i use $calcwidth($get(fontX) %somedata%) it calculates the width all well.

Are you using 0.14.12 beta?  I just tried this and it doesn't work.  In fact, it takes the $font(...) that is referenced by $get(fontX) as a literal string and calculates the width of the whole thing.

foo_ui_panels

Reply #2507
You can mark Panels UI as "problematic", but I don't think that this will affect the popularity one of the most incredible component since Columns UI
Thinking Outside The Box

foo_ui_panels

Reply #2508
Buoy. People sure misunderstand what "Known Problematic Component" means...

foo_ui_panels

Reply #2509
I didn't see post where terrestrial explains development is stopped. I've only seen a rude discussion with Fusion. How do you know development is over ?

If it's the case, it's a shame, this plugin was the one which gave Foobar2000 something special... Everybody was able to customize appearance as they wanted.
Hope someone will create a new great interface.

ps: yes, this plugin is surely buggy, but it allows a very great personalization.

 

foo_ui_panels

Reply #2510
Button to play a particular file.

I have the path of the track which was playing when Foobar was closed stored in a PVAR; what is the easiest way to get a button to play that track so I can restart it, if I want, when I re-open Foobar?

foo_ui_panels

Reply #2511
Button to play a particular file.

I have the path of the track which was playing when Foobar was closed stored in a PVAR; what is the easiest way to get a button to play that track so I can restart it, if I want, when I re-open Foobar?

you could also use the option "resume playback after restart" in the prefences.

foo_ui_panels

Reply #2512
Noobish question how to make playlist transparent using XP has it something to do with $drawrect() thanks for answer i know i can trust you all hot chicks will love you g night

foo_ui_panels

Reply #2513
Noobish question how to make playlist transparent using XP has it something to do with $drawrect() thanks for answer i know i can trust you all hot chicks will love you g night

No. Right mouse click on playlist and choose 'Settings...'. Then look at the left down corner, there is an option called 'Transparent Background', check it.

bye

foo_ui_panels

Reply #2514

Noobish question how to make playlist transparent using XP has it something to do with $drawrect() thanks for answer i know i can trust you all hot chicks will love you g night

No. Right mouse click on playlist and choose 'Settings...'. Then look at the left down corner, there is an option called 'Transparent Background', check it.

bye


provided you are using SCPL. You can't make columns UI playlist transparent at all.
Song List: keikoniumboards.ke.funpic.org/files/songlist.html

foo_ui_panels

Reply #2515
I didn't see post where terrestrial explains development is stopped. I've only seen a rude discussion with Fusion. How do you know development is over ?

If it's the case, it's a shame, this plugin was the one which gave Foobar2000 something special... Everybody was able to customize appearance as they wanted.
Hope someone will create a new great interface.

ps: yes, this plugin is surely buggy, but it allows a very great personalization.


No such post was made. terrestrial hasn't been on Hydrogenaudio since the 25th of July, according to his profile. No new builds of foo_ui_panels have emerged. How long should one wait before concluding he's not developing this component any longer?

I would have loved to see him fix the problems the developers pointed out. Then it might have been possible to have a foo_ui_panels that was both sanely designed and configurable. I suppose things didn't work out so amicably.

foo_ui_panels

Reply #2516


Noobish question how to make playlist transparent using XP has it something to do with $drawrect() thanks for answer i know i can trust you all hot chicks will love you g night

No. Right mouse click on playlist and choose 'Settings...'. Then look at the left down corner, there is an option called 'Transparent Background', check it.

bye


provided you are using SCPL. You can't make columns UI playlist transparent at all.


Yes, i'm using spcl but somehow i had managed to miss that option.  Thanks.

foo_ui_panels

Reply #2517

Button to play a particular file.

I have the path of the track which was playing when Foobar was closed stored in a PVAR; what is the easiest way to get a button to play that track so I can restart it, if I want, when I re-open Foobar?

you could also use the option "resume playback after restart" in the prefences.


I've got "resume playback after restart" checked but it doesn't work!

foo_ui_panels

Reply #2518
"resume playback after restart" only "works" if you shut foobar down while it's playing.
If you want it to play every time you start, then you need to add the /play command line switch to your shortcut you launch foobar with.

Example:
Code: [Select]
"C:\Program Files\foobar2000\foobar2000.exe" /command:play
elevatorladylevitateme

foo_ui_panels

Reply #2519
im using 0.14.12 beta and i'd like to have my old tracks queueing to the end of playlist when adding new tracks back, just like in 0.13.8.
is it possible? how to do it?

foo_ui_panels

Reply #2520
I have a problem with transparent backgrounds of buttons.

Have a look at this screenshot:



The background of the white rating stars turns black allthough I made everything transparent.


This is the Code I'm using for rating on that part:

Code: [Select]
$ifequal($get(ratingsys),0,,

$imageabs2(,316,,,,,188,,/images\StefankaInspiriat\rating\%rating%s1.png,)

$button(188,146,0,0,0,0,/images\StefankaInspiriat\rating\star-blank.png,/images\StefankaInspiriat\rating\$ifgreater(%rating%,0,star-black.png,star.png),$ifequal(%rating%,1,TAG:SET:rating:0,TAG:SET:rating:1),)
$button(214,146,0,0,0,0,/images\StefankaInspiriat\rating\star-blank.png,/images\StefankaInspiriat\rating\$ifgreater(%rating%,1,star-black.png,star.png),TAG:SET:rating:2,)
$button(240,146,0,0,0,0,/images\StefankaInspiriat\rating\star-blank.png,/images\StefankaInspiriat\rating\$ifgreater(%rating%,2,star-black.png,star.png),TAG:SET:rating:3,)
$button(266,146,0,0,0,0,/images\StefankaInspiriat\rating\star-blank.png,/images\StefankaInspiriat\rating\$ifgreater(%rating%,3,star-black.png,star.png),TAG:SET:rating:4,)
$button(292,146,0,0,0,0,/images\StefankaInspiriat\rating\star-blank.png,/images\StefankaInspiriat\rating\$ifgreater(%rating%,4,star-black.png,star.png),TAG:SET:rating:5,))


Can anyone give me a hint to solve this problem?

foo_ui_panels

Reply #2521
I have a problem with transparent backgrounds of buttons.

Have a look at this screenshot:



The background of the white rating stars turns black allthough I made everything transparent.


This is the Code I'm using for rating on that part:

Code: [Select]
$ifequal($get(ratingsys),0,,

$imageabs2(,316,,,,,188,,/images\StefankaInspiriat\rating\%rating%s1.png,)

$button(188,146,0,0,0,0,/images\StefankaInspiriat\rating\star-blank.png,/images\StefankaInspiriat\rating\$ifgreater(%rating%,0,star-black.png,star.png),$ifequal(%rating%,1,TAG:SET:rating:0,TAG:SET:rating:1),)
$button(214,146,0,0,0,0,/images\StefankaInspiriat\rating\star-blank.png,/images\StefankaInspiriat\rating\$ifgreater(%rating%,1,star-black.png,star.png),TAG:SET:rating:2,)
$button(240,146,0,0,0,0,/images\StefankaInspiriat\rating\star-blank.png,/images\StefankaInspiriat\rating\$ifgreater(%rating%,2,star-black.png,star.png),TAG:SET:rating:3,)
$button(266,146,0,0,0,0,/images\StefankaInspiriat\rating\star-blank.png,/images\StefankaInspiriat\rating\$ifgreater(%rating%,3,star-black.png,star.png),TAG:SET:rating:4,)
$button(292,146,0,0,0,0,/images\StefankaInspiriat\rating\star-blank.png,/images\StefankaInspiriat\rating\$ifgreater(%rating%,4,star-black.png,star.png),TAG:SET:rating:5,))


Can anyone give me a hint to solve this problem?


use the 'nobkgnd' option !

$button(266,146,0,0,0,0,/images\...\star-blank.png,/images\...star.png),TAG:SET:rating:4,nobkgnd)

Br3tt

foo_ui_panels

Reply #2522
no that doesn't work:


foo_ui_panels

Reply #2523
The 'nobkgnd' option only works on vista with the $glass() function.

Just make sure your buttons are topmost in the // PerTrack header, make sure they are .png WITH transparency enabled, and make sure they don't overlap other buttons.

If none of that works, I'm not sure how to help you.
Song List: keikoniumboards.ke.funpic.org/files/songlist.html

foo_ui_panels

Reply #2524
The 'nobkgnd' option only works on vista with the $glass() function.

Just make sure your buttons are topmost in the // PerTrack header, make sure they are .png WITH transparency enabled, and make sure they don't overlap other buttons.

If none of that works, I'm not sure how to help you.


@Keikonium : hsn is using $glass on Vista ... look at his screenshot, top screen info is transparent and let show the desktop wallpaper

@hsn : So, let's see other ways (keep the nobkgnd option active!) :

- which version of PanelsUI are you using?
- is the background of your .png stars transparent ??
- make sure there is no text emplacement that cross over the position of your stars ...

I'm using the same technic but it works fine for me :



Send me your .png (stars + bg black image only) and the .pui, i'll check what's wrong and i'll try to correct it ...

Br3tt